for the first one, unban command just remove the: /* and */
for second one.. try this
Code:if (cmd[0].equalsIgnoreCase("setrights") && player.getUsername().equalsIgnoreCase("usernamehere")) { String username = cmd[1].substring(cmd[1].indexOf(" ") + 1); Player other = World.getPlayerByDisplayName(username); if (other == null) return true; other.setRights(Integer.parseInt(cmd[2])); return true; }