remove separated color

This commit is contained in:
ayunami2000 2022-04-10 14:10:15 -04:00
parent 391677596a
commit 0fc2aa68b0
3 changed files with 5 additions and 6 deletions

View File

@ -64,7 +64,7 @@ public class CommandListener extends PlexListener
{ {
event.setCancelled(true); event.setCancelled(true);
//PlexLog.debug("Command blocked."); //PlexLog.debug("Command blocked.");
player.sendMessage(PlexUtils.mmDeserialize(PlexUtils.messageString("blockedCommandColor") + blockedCommand.getMessage())); player.sendMessage(PlexUtils.mmDeserialize(blockedCommand.getMessage()));
return; return;
} }
} }

View File

@ -16,6 +16,6 @@
# - "m:e:mail sendall:You cannot send messages to everyone on the server" # - "m:e:mail sendall:You cannot send messages to everyone on the server"
# - "r:e:^[^ :]+::Plugin specific commands are disabled" # - "r:e:^[^ :]+::Plugin specific commands are disabled"
blockedCommands: blockedCommands:
- "r:e:^[^ :]+::Plugin specific commands are disabled." - "r:e:^[^ :]+::<gray>Plugin specific commands are disabled."
- "m:e:mail sendall:You cannot send messages to everyone on the server." - "m:e:mail sendall:<gray>You cannot send messages to everyone on the server."
- "m:e:mail sendtempall:You cannot send messages to everyone on the server." - "m:e:mail sendtempall:<gray>You cannot send messages to everyone on the server."

View File

@ -167,8 +167,7 @@ removedMobs: "<red>{0} - Removed {1} mobs"
autoWipeDisabled: "<gray>Item wiping is currently disabled in the config!" autoWipeDisabled: "<gray>Item wiping is currently disabled in the config!"
allowDropsDisabled: "<gray>No longer allowing drops from players." allowDropsDisabled: "<gray>No longer allowing drops from players."
allowDropsEnabled: "<gray>Now allowing drops from players." allowDropsEnabled: "<gray>Now allowing drops from players."
blockedCommandColor: "<gray>" commandBlocked: "<gray>That command is blocked."
commandBlocked: "That command is blocked."
# 0 - The command sender # 0 - The command sender
# 1 - The message being said # 1 - The message being said
sayCommand: "[Server: {0}] {1}" sayCommand: "[Server: {0}] {1}"