Permissions

Command Permissions

Permissions for commands can be turned on in the commandManager section in the settings.yml

commandManager:
  friend:
    enabled: true
    command: '/friend' # this means that the commands starts with /friend
    permissionNeeded: false # If enabled, you will need 'friendsystem.commands.friend' permission
    aliases: '/friends'
  msg:
    enabled: true
    command: '/msg'
    permissionNeeded: false # If enabled, you will need 'friendsystem.commands.msg' permission
    aliases: '/message, /tell'
  r:
    enabled: true
    command: '/r'
    permissionNeeded: false # permission: friendsystem.commands.r
    aliases: '/reply'
  party:
    enabled: true
    command: '/party'
    permissionNeeded: false # permission: friendsystem.commands.party
    aliases: ''
  p:
    enabled: true
    command: '/p'
    permissionNeeded: false # permission: friendsystem.commands.p
    aliases: ''

Friend Limit Permission

If you want a group (for example premiums) to be able to have more friends, you have to enable permissions and create a permission in the settings.yml.

permissions:
  friendsLimit: true # if disabled, then you can have unlimited friends.
  # You can create as many maxfriends groups as you want below
  # and give them 'friendsystem.maxfriends.<group>' permission
  maxFriends:
    default: 5
    premium: 25
    premium_plus: 50
    youtuber: 100
    moderator: 500

Last updated