Hello Coders, I know how i can set Permission $player->setPermission("..."); But how i can unset them? -Sensej
unsetPermission() Also, if you're in a plugin, don't call it on the Player directly. Call it on a Permissionattachment by $player->addAttachnent)) instead.
It will crash the Server: Error information Call to a member function isEnabled() on string File: /src/pocketmine/permission/PermissibleBase Line: #128 Error level: E_ERROR