mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-10-31 23:39:19 +00:00
18 lines
725 B
Java
18 lines
725 B
Java
|
package me.StevenLawson.TotalFreedomMod.commands;
|
||
|
|
||
|
import me.StevenLawson.TotalFreedomMod.util.Utilities;
|
||
|
import org.apache.commons.lang3.StringUtils;
|
||
|
import org.bukkit.command.Command;
|
||
|
import org.bukkit.command.CommandSender;
|
||
|
|
||
|
@CommandPermissions(level = AdminLevel.SUPER, source = SourceType.ONLY_CONSOLE)
|
||
|
public class Command_csay extends FreedomCommand {
|
||
|
@Override
|
||
|
public boolean run(CommandSender sender, org.bukkit.entity.Player sender_p, Command cmd, String commandLabel, String[] args, boolean senderIsConsole) {
|
||
|
if (args.length > 0) {
|
||
|
Utilities.bcastMsg(String.format("§7[CONSOLE]§f<§c%s§f> %s", sender.getName(), StringUtils.join(args, " ")));
|
||
|
}
|
||
|
return true;
|
||
|
}
|
||
|
}
|