I never worked with pureperms, I tried, but something went wrong PHP: if($p->hasPermission("level.first") == true && $p->hasPermission("level.two") !== true) { $amount=$this->e->myMoney($pname); if($amount >5000) { $this->e->reduceMoney($pname, 5000); $this->p->getUserDataMgr()->setPermission($p, "level.two"); $p->sendMessage("§7[§a*§7] §rLevel §7>> §rВы купили второй уровень за §c5000 §rмонет!"); return true; } if($amount <5000) { $p->sendMessage("§7[§c*§7] §rLevel §7>> §rНедостаточно монет , стоимость: §c5000 §rмонет!"); return true; } } else { $p->sendMessage("else 1"); // test part }
Check a permission: /listgperm (group) /Listgperm (group) Setting a permission: /setuperm (group) (permission) /Setgperm (group) (permission)