mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 22:56:45 +01:00
Renamed some config options in the Commands section.
The following keys have been renamed: * General => Generic * p => partychat * a => adminchat
This commit is contained in:
parent
98e5e53fda
commit
eb589b6e78
@ -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() {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user