1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Permissions

Discussion in 'Development' started by LucGamesDE, Apr 4, 2017.

  1. LucGamesDE

    LucGamesDE Baby Zombie

    Messages:
    170
    How can I add the permission "test.perm" to a player? And how can. I remove all's perms?
     
  2. [deleted]

    [deleted] Guest

    If you are using PurePerms or another Perms Plugin you could dispatch a Command to give him Permission. Another way is the $player->addAttachment() way.
     
  3. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    you shouldnt dispatch a command unless there's no way to inerfact with pureperm's API
     
    HimbeersaftLP, [deleted] and SOFe like this.
  4. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Why don't you just say "You can prompt the console to type a command" :facepalm:
     
    HimbeersaftLP and [deleted] like this.
  5. [deleted]

    [deleted] Guest

    Sorry
     
  6. [deleted]

    [deleted] Guest

    Yeah but that was always an easy way for me :(:eek::facepalm:
     
  7. LucGamesDE

    LucGamesDE Baby Zombie

    Messages:
    170
    And how can I remove a permission?
     
  8. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Muqsit likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.