2011-11-21 06:47:19 +00:00
|
|
|
package me.StevenLawson.TotalFreedomMod.Commands;
|
|
|
|
|
|
|
|
import me.StevenLawson.TotalFreedomMod.TFM_Util;
|
2012-11-24 01:22:52 +00:00
|
|
|
import org.apache.commons.lang.StringUtils;
|
2011-11-21 06:47:19 +00:00
|
|
|
import org.bukkit.command.Command;
|
|
|
|
import org.bukkit.command.CommandSender;
|
|
|
|
import org.bukkit.entity.Player;
|
|
|
|
|
2012-11-24 01:22:52 +00:00
|
|
|
@CommandPermissions(level = ADMIN_LEVEL.SENIOR, source = SOURCE_TYPE_ALLOWED.ONLY_CONSOLE, block_web_console = true, ignore_permissions = false)
|
2011-11-21 06:47:19 +00:00
|
|
|
public class Command_rawsay extends TFM_Command
|
|
|
|
{
|
|
|
|
@Override
|
|
|
|
public boolean run(CommandSender sender, Player sender_p, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
|
|
|
|
{
|
2012-11-24 01:22:52 +00:00
|
|
|
if (args.length > 0)
|
2011-11-21 06:47:19 +00:00
|
|
|
{
|
2012-11-24 01:22:52 +00:00
|
|
|
TFM_Util.bcastMsg(StringUtils.join(args, " "));
|
2011-11-21 06:47:19 +00:00
|
|
|
}
|
2012-11-24 01:22:52 +00:00
|
|
|
|
2011-11-21 06:47:19 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|