Vanish No Packet

Vanish No Packet

855k Downloads

Tiered system

mbax opened this issue ยท 3 comments

commented
commented

Much easier solution to your example. Adding back announcements thing if people badly want that fine-grained. Base perm node off of group name.

admin: ['admin', 'moderators']
moderators: ['moderators']
commented

Sample config?

Groups:
  GroupName: Admin
    PermissionNode: vanish.admin
    CanSee: ['Admin', 'Moderators', 'NormalRolePlayers']
    Announcements: true
  GroupName: Moderators
    PermissionNode: vanish.mod
    CanSee: ['Moderators', 'NormalRolePlayers']
    Announcements: true
  GroupName: NormalRolePlayers
    PermissionNode: vanish.roleplayer
    CanSee: []
    Announcements: false
commented

Creating a separate object for this such as "VanishGroup" might be nifty.

Possible object variables:

  • Some sort of list for groups that can be seen
  • boolean for announcements
  • String for group name