I have been working alot with this god mode plugin and im almost done its just that when i type /god in-game nothing happends. Main http://pastebin.com/TkDSPWMB Listener http://pastebin.com/Zb7gZaa8 command http://pastebin.com/Z1yr2Fb4
In your listener, you're missing an '@Eventhandler' Not sure if it'll fix it but it might be causing some errors
What jack said should fix it, but you should also allow for a remove god command. EG: Code:java public boolean onCommand(CommandSender sender, Command command,String label, String[] args) { if (command.getName().equalsIgnoreCase("god")) { if (!(sender instanceof Player)) { sender.sendMessage("You are not a player!"); }else{ if(!(god.godded.contains(Player)sender)){ god.godded.add((Player)sender); sender.sendMessage(ChatColor.AQUA + "You are now god"); }else{ god.godded.remove((Player)sender); sender.sendMessage(ChatColor.RED + "You are no longer a god"); }} return true; Was written by hand, may contain some errors