Hey Guys, I do really need help to solve this problem. I can't configure out how to list the kits ex: Owned Kits: Stomper, PvP, Archer UnOwned Kits: Switcher, Endermage Some one know how to do that? and it with permissions GoldKits.kit.<KitName>
Well.. you can do it the long way by like Code:java if(player.hasPermission("permission for stomper"){player.sendMessage("Stomper");} And do it that way, but It'd probably take a while
PHP: String[] kits = new String[] {Stomper, Endermage, Any, Other, Kit};String m = "";for(String k : kits) {if(p.hasPermission("GodKits.kits." + k)) {m = m + k + ", ";p.sendMessage("Your kits: " + m);} else {m = m + k + ", ";p.sendMessage("Kits you do not have: " + m);}} Might work.