Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.edwardthefma.plugins.modtools;
- import org.bukkit.ChatColor;
- import org.bukkit.command.Command;
- import org.bukkit.command.CommandExecutor;
- import org.bukkit.command.CommandSender;
- /**
- *
- * @author james
- */
- public class ModToolsCommandExecutor implements CommandExecutor {
- private Modtools plugin;
- public ModToolsCommandExecutor(Modtools plugin) {
- this.plugin = plugin;
- }
- public boolean onCommand(CommandSender sender, Command cmd, String cmdLabel, String[] args) {
- if(cmdLabel.equalsIgnoreCase("sexybeast")) {
- sender.sendMessage(ChatColor.BLUE + "you sexybeast!");
- }
- return false;
- }
- }
Add Comment
Please, Sign In to add comment