From 73470a90e5a4ee9ffc89e7329962baa8408d543a Mon Sep 17 00:00:00 2001 From: Ivan Date: Mon, 19 Aug 2019 01:52:26 -0400 Subject: [PATCH] Fix some of the messages and unblock some commands for the Hub restrictions. --- .../totalfreedommod/hub/HubWorldRestrictions.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/hub/HubWorldRestrictions.java b/src/main/java/me/totalfreedom/totalfreedommod/hub/HubWorldRestrictions.java index 1ae1341c..92187d2f 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/hub/HubWorldRestrictions.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/hub/HubWorldRestrictions.java @@ -20,7 +20,7 @@ public class HubWorldRestrictions extends FreedomService { public final List ALLOWED_COMMANDS = Arrays.asList( - "list", "opall", "gmc", "gms", "gma", "gmsp", "purgeall", "stfu", "tempban", "gtfo", "noob", "adminworld", "masterbuilderworld", "world", "nether", "spawn", "tpo", "tp", "expel", "item", "i", "give", "adminchat", "adventure", "creative", "survival", "spectator", "say", "blockcmd", "blockpvp", "blockredstone", "stoplag", "halt-activity", "nickclean", "nick", "nicknyan", "vanish", "verify", "verifynoadmin", "co", "coreprotect", "core", "mobpurge", "logs", "links", "vote"); + "list", "opall", "gmc", "gms", "gma", "gmsp", "purgeall", "stfu", "tempban", "gtfo", "noob", "flatlands", "adminworld", "masterbuilderworld", "world", "nether", "spawn", "tpo", "tp", "expel", "item", "i", "give", "adminchat", "adventure", "creative", "survival", "spectator", "say", "blockcmd", "blockpvp", "blockredstone", "stoplag", "halt-activity", "nickclean", "nick", "nicknyan", "vanish", "verify", "verifynoadmin", "co", "coreprotect", "core", "mobpurge", "logs", "links", "vote", "o", "linkdiscord"); public HubWorldRestrictions(TotalFreedomMod plugin) { @@ -54,7 +54,7 @@ public class HubWorldRestrictions extends FreedomService if (doRestrict(player)) { - player.sendMessage(ChatColor.RED + "Only Executives can build in the Hub."); + player.sendMessage(ChatColor.RED + "Only Executives can do this!"); event.setCancelled(true); } } @@ -66,7 +66,7 @@ public class HubWorldRestrictions extends FreedomService if (doRestrict(player)) { - player.sendMessage(ChatColor.RED + "Only Executives can build in the Hub."); + player.sendMessage(ChatColor.RED + "Only Executives can do this!"); event.setCancelled(true); } } @@ -78,7 +78,7 @@ public class HubWorldRestrictions extends FreedomService if (doRestrict(player)) { - player.sendMessage(ChatColor.RED + "Only Executives can PVP in the Hub."); + player.sendMessage(ChatColor.RED + "Only Executives can do this!"); event.setCancelled(true); } } @@ -90,7 +90,7 @@ public class HubWorldRestrictions extends FreedomService if (doRestrict(player)) { - player.sendMessage(ChatColor.RED + "Only Executives can interact with armorstands in the Hub."); + player.sendMessage(ChatColor.RED + "Only Executives can do this!"); event.setCancelled(true); } } @@ -104,7 +104,7 @@ public class HubWorldRestrictions extends FreedomService if (doRestrict(player)) { - player.sendMessage(ChatColor.RED + "Only Executives can damage entities in the Hub."); + player.sendMessage(ChatColor.RED + "Only Executives can do this!"); event.setCancelled(true); } }