Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
- if (cmd.getName().equalsIgnoreCase("finish")) { // If the player typed /finish then do the following...
- if( boolFinish == true ) {
- sender.sendMessage(ChatColor.DARK_RED + "[" + ChatColor.GOLD + "Server" + ChatColor.DARK_RED + "]" + ChatColor.DARK_AQUA + "Enabling Commands!");
- return true;
- }
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement