new BasicCommands().addPermissions();
new ToggleCommands().addPermissions();
new WaypointCommands().addPermissions();
addPermission("citizens.evils.immune");
for (String loaded : Citizens.loadedTypes) {
CitizensNPCType type = NPCTypeManager.getType(loaded);
if (type != null) {
type.getCommands().addPermissions();
}
}
// TODO: investigate whether this is needed.
for (String permission : permissions) {
Bukkit.getPluginManager().addPermission(new org.bukkit.permissions.Permission("citizens." + permission));