Skip to content

Permissions

Thérence F edited this page Mar 2, 2018 · 2 revisions

Bungee Announce allows you to use bungee's permissions to specify which player will see an anouncement. The most important thing that you have to know, is that the bungee's permission system is totally different than the bukkit's one. For some specific reasons, bungee's permission system isn't connected to bukkit's one. To allow to connect one side to the other one, you will need a plugin like BungeePEXBridge. Now that you understand this, we can begin this small tutorial on how to use permissions in Bungee Announce.

There are two sections in the config file which support permissions :

  • scheduler section
  • player announcer section

I will explain how to use permissions in these two sections.

① First one, the scheduler section :

When creating a new announcement, you can add the "permission" field. After that, you can specify which permission will be required to see this announcement.

One example:

'vip1':
  permission: 'bungeecord.vip'
  interval: 30
  delay: 20
  message: "&eOnly players with 'bungeecord.vip' permission will see this title"
  type: title
  servers:
    - 'all'

The title 'vip1' will be seen only by players who have the permission: bungeecord.vip

② Second one, the player announcer section :

When creating a new player announcement, you can also add the "permission" field. After that, you can specify wich permission will be required to have the same join anouncement than the player mentioned above.

For example:

'Droleur':
  permission: bungeecord.vip
  type: title
  message: '&a%PLAYER_NAME% &ejoined the game on lobby &a%SERVER_NAME%&e!'
  servers:
    - 'Lobby-1'
    - 'Lobby-2'

Any player with permission: bungeecord.vip will have the same joining anouncement than Droleur.

That's all you have to know about how to use permissions in Bungee Announce. Finally, remember that the permission field is optional.

~Thanks for reading.

Clone this wiki locally