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

add premission to player

Discussion in 'Development' started by Harviy11, Nov 18, 2016.

  1. Harviy11

    Harviy11 Baby Zombie

    Messages:
    100
    hello i want to add permission to player without pureperms.. can do it?
     
  2. eDroid

    eDroid Witch

    Messages:
    59
    GitHub:
    edroiid
    hmm. I might be a little rusty at the moment.

    if you can see if the player has the permission with
    PHP:
    hasPermission("my.perm.here");
    you can try
    PHP:
    setPermission("my.perm.here");
    although im not sure if its going to work.
     
  3. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    If I'm correct you have to do something with addAttachment()
     
  4. Harviy11

    Harviy11 Baby Zombie

    Messages:
    100
  5. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    will setPermission work to add permissions to player? like $player->setPermission("034");
     
  6. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
  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.