mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Merge branch 'master' of https://github.com/StevenLawson/TotalFreedomMod
This commit is contained in:
commit
1f6524ff25
5
appinfo.properties
Normal file
5
appinfo.properties
Normal file
@ -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
|
@ -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();
|
||||
}
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user