Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Permissions

Comments in 'Plugin Development' started by Sergey_D, Aug 6, 2016.

  1. Sergey_D
    Offline

    Sergey_D Active Member

    Joined:
    Jan 19, 2014
    Posts:
    75
    Minecraft User:
    CLILLZ
    I have an problem when im trying to set players permission,after all that steps player doesnt have permissions.
    1:
    PHP:
    $at $player->addAttachment($plugin);
    2:
    PHP:
    $at->clearPermissions();
    3:
    PHP:
    $at->setPermissions(['myperm'=>true,'perm1'=>true]);

Share This Page

Advertisement