Solved Multiple players use one PermissionAttachment?

Discussion in 'Spigot Plugin Development' started by joeleoli, May 19, 2016.

  1. I was wondering if it is possible to allow multiple players to use one attachment or if I would have to create an attachment and add all of the specified permissions to that attachment per each player.

    Anyone know?
     
  2. As far as i know, every player has it own attachments... They're also created by calling Player#addAttachment(plugin)

    See: Permissible JavaDoc
     
  3. A PermissionAttachment is associated with a single Permissible, therefore you must create a new attachment for each player.