Solved More then one command

Discussion in 'Plugin Help/Development/Requests' started by bubblefat_, Dec 30, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    bubblefat_

    So I want to be able to type /me or /meh or something along these lines. And it do the same command. I tried "me", "meh" but I won't work. Here is my code. How do I make it so i can use more then one command? Sorry if this is confusing

    Code:
            if (cmd.getName().equalsIgnoreCase("me") && sender instanceof Player) {
               
                Player player = (Player) sender;
               
                player.sendMessage(ChatColor.GOLD + "Server> " + ChatColor.GRAY + "WOW! Your vary selfish.");
                   
                return true;   
            }
     
  2. Offline

    teej107

Thread Status:
Not open for further replies.

Share This Page