Added configurable chat channels

This commit is contained in:
2021-08-04 15:46:45 +02:00
parent 7c15731dcd
commit 9d9b8f0bf2
6 changed files with 140 additions and 25 deletions
@@ -238,6 +238,11 @@ public final class Config {
}
public static List<String> CHATCHANNEL_CHANNELS = List.of("ac");
private static void chatChannels() {
CHATCHANNEL_CHANNELS = getList("chat-channels", CHATCHANNEL_CHANNELS);
}
public static String SERVERMUTEPERMISSION = "command.mute-server";
public static String SPYPERMISSION = "chat.socialspy";
private static void permissions() {