diff --git a/src/main/java/com/gmail/nossr50/config/Config.java b/src/main/java/com/gmail/nossr50/config/Config.java index 8118a6424..7ae210d7e 100644 --- a/src/main/java/com/gmail/nossr50/config/Config.java +++ b/src/main/java/com/gmail/nossr50/config/Config.java @@ -190,14 +190,14 @@ public class Config extends AutoUpdateConfigLoader { public boolean getVerboseLoggingEnabled() { return config.getBoolean("General.Verbose_Logging", false); } public boolean getConfigOverwriteEnabled() { return config.getBoolean("General.Config_Update_Overwrite", true); } - public String getPartyChatPrefix() { return config.getString("Commands.p.Chat_Prefix_Format", "[[GREEN]]([[WHITE]]{0}[[GREEN]])"); } - public boolean getPartyChatColorLeaderName() { return config.getBoolean("Commands.p.Gold_Leader_Name", true); } - public boolean getPartyDisplayNames() { return config.getBoolean("Commands.p.Use_Display_Names", true); } + public String getPartyChatPrefix() { return config.getString("Commands.partychat.Chat_Prefix_Format", "[[GREEN]]([[WHITE]]{0}[[GREEN]])"); } + public boolean getPartyChatColorLeaderName() { return config.getBoolean("Commands.partychat.Gold_Leader_Name", true); } + public boolean getPartyDisplayNames() { return config.getBoolean("Commands.partychat.Use_Display_Names", true); } - public String getAdminChatPrefix() { return config.getString("Commands.a.Chat_Prefix_Format", "[[AQUA]][[[WHITE]]{0}[[AQUA]]]"); } - public boolean getAdminDisplayNames() { return config.getBoolean("Commands.a.Use_Display_Names", true); } + public String getAdminChatPrefix() { return config.getString("Commands.adminchat.Chat_Prefix_Format", "[[AQUA]][[[WHITE]]{0}[[AQUA]]]"); } + public boolean getAdminDisplayNames() { return config.getBoolean("Commands.adminchat.Use_Display_Names", true); } - public boolean getMatchOfflinePlayers() { return config.getBoolean("Commands.General.Match_OfflinePlayers", false); } + public boolean getMatchOfflinePlayers() { return config.getBoolean("Commands.Generic.Match_OfflinePlayers", false); } /* Mob Healthbar */ public MobHealthbarType getMobHealthbarDefault() { diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 2a570d176..7782b9328 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -309,7 +309,7 @@ Double_Drops: # Settings for commands ### Commands: - General: + Generic: # If true, when using partial names in commands mcMMO will try to look for a match from # the offline players. Enabling this might slow the server down if there are a lot of offline players. Match_OfflinePlayers: false @@ -326,12 +326,12 @@ Commands: # If true, require players to have a mcmmo.commands.ptp.world.[WorldName] permission # to teleport to, from, or within any given world. World_Based_Permissions: false - p: + partychat: Chat_Prefix_Format: '[[GREEN]]([[WHITE]]{0}[[GREEN]])' # Allow mcMMO to use player display names in chat instead of their usernames Use_Display_Names: true - a: + adminchat: Chat_Prefix_Format: '[[AQUA]][[[WHITE]]{0}[[AQUA]]]' # Allow mcMMO to use player display names in chat instead of their usernames