Added a way to mute all chat

This commit is contained in:
2021-07-30 23:23:16 +02:00
parent e7d508d8d1
commit 5a362ca67d
3 changed files with 45 additions and 0 deletions
@@ -70,8 +70,10 @@ public final class ServerConfig {
public boolean GLOBALCHAT = true;
public boolean JOINLEAVEMSSAGES = true;
public boolean MUTED = false;
private void ServerSettings() {
GLOBALCHAT = getBoolean("global-chat-enabled", GLOBALCHAT);
JOINLEAVEMSSAGES = getBoolean("joinleave-messages-enabled", JOINLEAVEMSSAGES);
MUTED = getBoolean("server-muted", MUTED);
}
}