diff options
author | Necrodoom <doomed.war@gmail.com> | 2012-11-02 18:21:26 +0200 |
---|---|---|
committer | Necrodoom <doomed.war@gmail.com> | 2012-11-02 18:21:26 +0200 |
commit | 296af1069e78a435cb5ea9012b629fd693b94f00 (patch) | |
tree | 0b753f71fe04ea40f99636bcdfc282a8aaf91f2b /EssentialsGroupManager/src/org/anjocaido | |
parent | cd0fde05b7a8322331b9bc14ae07afeee0aa497b (diff) | |
download | Essentials-296af1069e78a435cb5ea9012b629fd693b94f00.tar Essentials-296af1069e78a435cb5ea9012b629fd693b94f00.tar.gz Essentials-296af1069e78a435cb5ea9012b629fd693b94f00.tar.lz Essentials-296af1069e78a435cb5ea9012b629fd693b94f00.tar.xz Essentials-296af1069e78a435cb5ea9012b629fd693b94f00.zip |
Update EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java index ee1130483..d78473847 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java @@ -386,7 +386,7 @@ public class GroupManager extends JavaPlugin { senderPlayer = (Player) sender; if (!lastError.isEmpty() && !commandLabel.equalsIgnoreCase("manload")) { - sender.sendMessage(ChatColor.RED + "All commands are locked due to an error. Check the log and then try a '/manload'.)"); + sender.sendMessage(ChatColor.RED + "All commands are locked due to an error." + ChatColor.BOLD + "" + ChatColor.UNDERLINE + "Check the log" + ChatColor.RESET + " and then try a '/manload'."); return true; } @@ -401,7 +401,7 @@ public class GroupManager extends JavaPlugin { } else if (sender instanceof ConsoleCommandSender) { if (!lastError.isEmpty() && !commandLabel.equalsIgnoreCase("manload")) { - sender.sendMessage(ChatColor.RED + "All commands are locked due to an error. Check the log and then try a '/manload'.)"); + sender.sendMessage(ChatColor.RED + "All commands are locked due to an error." + ChatColor.BOLD + "" + ChatColor.UNDERLINE + "Check the log" + ChatColor.RESET + " and then try a '/manload'."); return true; } @@ -1668,7 +1668,7 @@ public class GroupManager extends JavaPlugin { if (args.length > 0) { if (!lastError.isEmpty()) { - sender.sendMessage(ChatColor.RED + "All commands are locked due to an error. Check the log and then try a '/manload'.)"); + sender.sendMessage(ChatColor.RED + "All commands are locked due to an error." + ChatColor.BOLD + "" + ChatColor.UNDERLINE + "Check the log" + ChatColor.RESET + " and then try a '/manload'."); return true; } @@ -1833,7 +1833,7 @@ public class GroupManager extends JavaPlugin { return false; } if (!isConsole && !isOpOverride && (!permissionHandler.hasGroupInInheritance(auxUser.getGroup(), auxGroup.getName()) && !permissionHandler.hasGroupInInheritance(auxGroup, auxUser.getGroupName()))) { - sender.sendMessage(ChatColor.RED + "You can't modify a player using groups with different heritage line."); + sender.sendMessage(ChatColor.RED + "You can't modify a player using groups with different inheritage line."); return false; } if (!isConsole && !isOpOverride && (permissionHandler.hasGroupInInheritance(auxGroup, auxUser.getGroupName()))) { @@ -1849,9 +1849,9 @@ public class GroupManager extends JavaPlugin { case mantogglevalidate: validateOnlinePlayer = !validateOnlinePlayer; - sender.sendMessage(ChatColor.YELLOW + "Validade if player is online, now set to: " + Boolean.toString(validateOnlinePlayer)); + sender.sendMessage(ChatColor.YELLOW + "Validate if player is online, now set to: " + Boolean.toString(validateOnlinePlayer)); if (!validateOnlinePlayer) { - sender.sendMessage(ChatColor.GOLD + "From now on you can edit players not connected... BUT:"); + sender.sendMessage(ChatColor.GOLD + "From now on you can edit players that are not connected... BUT:"); sender.sendMessage(ChatColor.LIGHT_PURPLE + "From now on you should type the whole name of the player, correctly."); } return true; |