1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2025-07-06 15:44:45 +02:00

Added 'Chat.Channels.Party.Spies.Automatically_Enable_Spying' which allows chat spys to join servers with spying toggled on instead of off

its a QOL feature for people who are always spying on chat
This commit is contained in:
nossr50
2020-10-29 13:12:26 -07:00
parent 8856d2b071
commit 449407439a
5 changed files with 15 additions and 2 deletions
Changelog.txt
src/main
java
com
gmail
nossr50
resources

@ -48,4 +48,9 @@ public class ChatConfig extends AutoUpdateConfigLoader {
String key = "Chat.Channels." + StringUtils.getCapitalized(chatChannel.toString()) + ".Use_Display_Names";
return config.getBoolean(key, true);
}
public boolean isSpyingAutomatic() {
return config.getBoolean("Chat.Channels.Party.Spies.Automatically_Enable_Spying", false);
}
}