Hey, I was trying to make a command that can be executed by the console and a player but when I tried executing it on the console it came up with errors. Error Pastebin: http://pastebin.com/eQWJX2WA This is the code: Code:java if(args[0].equals("grant")) { String name = args[2]; int curbal = getCustomConfig().getInt(name + ".tokens"); int add = Integer.parseInt(args[1]); int finbal = curbal + add; this.getCustomConfig().createSection(name).set("tokens", finbal); this.saveCustomConfig(); if(sender instanceof Player) { p.sendMessage("Succesfully granted " + name + " " + add + " Tokens!"); } else { getLogger().info("Succesfully granted " + name + " " + add + " Tokens!"); } } Thanks for your time, Hari