About the permission

Discussion in 'Plugin Development' started by seerbb, Sep 28, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    seerbb

    I used addAttachment to let Player get the permission, but the problem is players will lost the permission after log off.
    Code:
    target.addAttachment(this, "effector.flamewalk", true) ;
    Can someone help me plz!
     
  2. Online

    timtower Administrator Administrator Moderator

    @seerbb Add it again when they log in?
     
  3. Offline

    Whoneedspacee

    I'd recommend just getting a ranks plugin instead of making your own, but you could try storing the info in a .yml file when they log off, then retrieve it when they get back on.
     
Thread Status:
Not open for further replies.

Share This Page