Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args){
  2. if(cmd.getName().equalsIgnoreCase("basic")
  3. || commandLabel.equalsIgnoreCase("b"))
  4. { // If the player typed /basic then do the following...
  5.  
  6. return true;
  7. } //If this has happened the function will break and return true. if this hasn't happened the a value of false will be returned.
  8. return false;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement