Guest User

Untitled

a guest
Jul 15th, 2014
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. package com.nitexx3.pluginy.test.commands;
  2.  
  3. import org.bukkit.command.Command;
  4. import org.bukkit.command.CommandSender;
  5. import org.bukkit.plugin.java.JavaPlugin;
  6.  
  7. import com.nitexx3.pluginy.test.test;
  8.  
  9. public class ClearInvCommand extends JavaPlugin{
  10.  
  11. test plugin;
  12.  
  13. public ClearInvCommand(test plugin) {
  14. this.plugin = plugin;
  15. }
  16.  
  17. public boolean onCommand(CommandSender sender, Command cmd, String cmdlabel, String[] args){
  18. if(cmd.getName().equalsIgnoreCase("ci")) {
  19. sender.sendMessage("test");
  20. }
  21. return false;
  22. }
  23.  
  24. }
Advertisement
Add Comment
Please, Sign In to add comment