diff --git a/appinfo.properties b/appinfo.properties new file mode 100644 index 0000000..9d4f8e1 --- /dev/null +++ b/appinfo.properties @@ -0,0 +1,5 @@ +#Sat, 28 Jul 2012 15:17:23 -0400 + +program.VERSION=2.6.1 +program.BUILDNUM=95 +program.BUILDDATE=08/08/2012 07\:35 PM diff --git a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_onlinemode.java b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_onlinemode.java index 9ce07c2..89450ee 100644 --- a/src/me/StevenLawson/TotalFreedomMod/Commands/Command_onlinemode.java +++ b/src/me/StevenLawson/TotalFreedomMod/Commands/Command_onlinemode.java @@ -56,7 +56,7 @@ public class Command_onlinemode extends TFM_Command } } - TFM_Util.adminAction(sender.getName(), "Switched 'online-mode=" + (server.getOnlineMode() ? "true" : "false") + "'.", true); + TFM_Util.adminAction(sender.getName(), "Turning player validation " + ((online_mode ? "on" : "off")), true); server.reload(); } diff --git a/src/me/StevenLawson/TotalFreedomMod/Listener/TFM_PlayerListener.java b/src/me/StevenLawson/TotalFreedomMod/Listener/TFM_PlayerListener.java index e6d2b30..f79fe90 100644 --- a/src/me/StevenLawson/TotalFreedomMod/Listener/TFM_PlayerListener.java +++ b/src/me/StevenLawson/TotalFreedomMod/Listener/TFM_PlayerListener.java @@ -298,14 +298,12 @@ public class TFM_PlayerListener implements Listener return; } - //JeromSar - // check for muted if (playerdata.isMuted()) { if (!TFM_Util.isUserSuperadmin(p)) { - p.sendMessage(ChatColor.RED + "You are currently muted."); + p.sendMessage(ChatColor.RED + "You are muted, STFU!"); event.setCancelled(true); return; } @@ -539,6 +537,7 @@ public class TFM_PlayerListener implements Listener p.getInventory().clear(); p.setOp(false); p.setGameMode(GameMode.SURVIVAL); + TFM_Util.bcastMsg("Warning: " + p.getName() + " has been flagged as an impostor!", ChatColor.RED); } else {