mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-07-23 06:03:34 +00:00
/nuke will now tempban you.
This commit is contained in:
parent
f6943b9754
commit
79fc01eae7
1 changed files with 8 additions and 1 deletions
|
@ -489,6 +489,13 @@ public class TFM_PlayerListener implements Listener
|
|||
block_command = true;
|
||||
}
|
||||
}
|
||||
else if (Pattern.compile("^/nuke").matcher(command).find())
|
||||
{
|
||||
if (!TFM_SuperadminList.isUserSuperadmin(p))
|
||||
{
|
||||
block_command = true;
|
||||
}
|
||||
}
|
||||
else if (Pattern.compile("^/rl").matcher(command).find())
|
||||
{
|
||||
if (!TFM_SuperadminList.isUserSuperadmin(p))
|
||||
|
@ -503,7 +510,7 @@ public class TFM_PlayerListener implements Listener
|
|||
block_command = true;
|
||||
}
|
||||
}
|
||||
else if (Pattern.compile("^/clearhistory").matcher(command).find())
|
||||
else if (Pattern.compile("^/clearhistory").matcher(command).find())
|
||||
{
|
||||
if (!TFM_SuperadminList.isUserSuperadmin(p))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue