mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 02:05:41 +00:00
Added a broadcast to /purgeall
This commit is contained in:
parent
e29a820398
commit
4aebf33006
@ -1,5 +1,8 @@
|
|||||||
package me.StevenLawson.TotalFreedomMod.Commands;
|
package me.StevenLawson.TotalFreedomMod.Commands;
|
||||||
|
|
||||||
|
import me.StevenLawson.TotalFreedomMod.TFM_Util;
|
||||||
|
|
||||||
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.command.Command;
|
import org.bukkit.command.Command;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
@ -20,8 +23,10 @@ public class Command_purgeall extends TFM_Command
|
|||||||
server.dispatchCommand(sender, "mp");
|
server.dispatchCommand(sender, "mp");
|
||||||
server.dispatchCommand(sender, "blockcmd");
|
server.dispatchCommand(sender, "blockcmd");
|
||||||
server.dispatchCommand(sender, "halt purge");
|
server.dispatchCommand(sender, "halt purge");
|
||||||
|
|
||||||
|
TFM_Util.bcastMsg("[Purge] Purged!", ChatColor.LIGHT_PURPLE);
|
||||||
//If I'm missing any, lemme know. Or just add it yourself.
|
//If I'm missing any, lemme know. Or just add it yourself.
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user