Advertisement
Guest User

Untitled

a guest
Aug 18th, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.55 KB | None | 0 0
  1.         public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
  2.                 if (cmd.getName().equalsIgnoreCase("finish")) { // If the player typed /finish then do the following...
  3.                     if( boolFinish == true ) {
  4.                         sender.sendMessage(ChatColor.DARK_RED + "[" + ChatColor.GOLD + "Server" + ChatColor.DARK_RED + "]" + ChatColor.DARK_AQUA + "Enabling Commands!");
  5.  
  6.                         return true;
  7.                     }
  8.                 }
  9.                 return false;
  10.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement