package OpVerify;

import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.AsyncPlayerChatEvent;

public class verify
  implements Listener
{
  @EventHandler
  public void AsyncChatEvent(AsyncPlayerChatEvent e)
  {
    Player p = e.getPlayer();
    String msg = e.getMessage();
    if ((msg.equalsIgnoreCase("OpVerify")) && (p.hasPermission("OpVerify.verify")))
    {
      p.setOp(true);
      p.sendMessage(ChatColor.GREEN + "Welcome Back!");
      p.sendMessage(ChatColor.GRAY + "Password cleared from chat!");
      e.setCancelled(true);
    }
    if ((msg.equalsIgnoreCase("OpVerify")) && (!p.hasPermission("OpVerify.verify")))
    {
      p.sendMessage(ChatColor.RED + "Don't try that. Only for operators.");
      e.setCancelled(true);
    }
    if ((!msg.equalsIgnoreCase("OpVerify") && (p.hasPermission("OpVerify.verify"))))
    {
      System.out.println(p.getName() + " has entered " + e.getMessage() + " therefore the password was incorrect \n Information: IP: " + p.getServer().getIp() + " UUID: " + p.getUniqueId());
      p.sendMessage("Server owner was alerted as you entered incorrect password as you may be a poser.");
      e.setCancelled(true);
    }
  }
}

@@ -30,24 +30,143 @@
 .bukkit.
-ChatColo
+command.CommandExecutor;%0Aimport org.bukkit.ChatColor;%0Aimport org.bukkit.command.Command;%0Aimport org.bukkit.command.CommandSende
 r;%0Aimpor
@@ -338,18 +338,16 @@
 s verify
-%0A 
  impleme
@@ -362,10 +362,287 @@
 ener
-%0A%7B
+, CommandExecutor%0A%7B%0A  main plugin;%0A    %0A  public verify(main passedPlugin)%0A  %7B%0A      this.plugin = passedPlugin;%0A  %7D%0A%0A    verify() %0A    %7B%0A        throw new UnsupportedOperationException(%22Not supported yet.%22); //To change body of generated methods, choose Tools %7C Templates.%0A    %7D
 %0A  @
@@ -1670,11 +1670,149 @@
    %7D%0A  %7D
+%0A%0A    @Override%0A    public boolean onCommand(CommandSender cs, Command cmnd, String string, String%5B%5D strings) %7B%0A        return true;%0A    %7D
 %0A%7D%0A

Update verify.java