Guest User

Untitled

a guest
Jun 21st, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. package me.edwardthefma.plugins.modtools;
  2.  
  3. import org.bukkit.ChatColor;
  4. import org.bukkit.command.Command;
  5. import org.bukkit.command.CommandExecutor;
  6. import org.bukkit.command.CommandSender;
  7. /**
  8. *
  9. * @author james
  10. */
  11. public class ModToolsCommandExecutor implements CommandExecutor {
  12.  
  13. private Modtools plugin;
  14.  
  15. public ModToolsCommandExecutor(Modtools plugin) {
  16. this.plugin = plugin;
  17. }
  18.  
  19. public boolean onCommand(CommandSender sender, Command cmd, String cmdLabel, String[] args) {
  20.  
  21.  
  22. if(cmdLabel.equalsIgnoreCase("sexybeast")) {
  23. sender.sendMessage(ChatColor.BLUE + "you sexybeast!");
  24.  
  25. }
  26.  
  27. return false;
  28.  
  29. }
  30. }
Add Comment
Please, Sign In to add comment