Advertisement
Guest User

Untitled

a guest
Oct 3rd, 2013
4,551
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. package YOUR.PACKAGE.NAME;
  2.  
  3. import org.bukkit.command.CommandExecutor;
  4. import org.bukkit.command.CommandSender;
  5.  
  6. /**
  7. *
  8. * @Author Jake
  9. */
  10. class Command implements CommandExecutor {
  11.  
  12. public boolean onCommand(CommandSender cs, org.bukkit.command.Command cmnd, String string, String[] strings) {
  13. if (string.equalsIgnoreCase("hi")) {
  14. cs.sendMessage("hi");
  15. }
  16. return false;
  17. }
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement