Bungee Announce : How to use permissions

Jan 1, 2017
Bungee Announce : How to use permissions
  • Bungee Announce
    How to use permissions


    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

    Bungee Announce allows you to use bungee's permissions to specify which player will receive an anouncement. The most important thing that you have to know, is that bungee's permission are not the same than bukkit's permission. To allow to connect one side to the other one, you will need a plugin like BungeePEXBridge.

    So. There is two section in the config file which support permissions :

    • Scheduler section (and)
    • Player Announcer section
    I will explain how to use them in these two sections.
    First one, the scheduler section :

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

    For example:
    Code (Text):
      '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 next to the 'type' and 'message' ones.
    After that, you can specify wich permission will be required to have the same join anouncement than the player mentioned above.

    For example:
    Code (Text):
      '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 join anouncement than Droleur.


    That's all you have to know about how to use permissions with Bungee Announce. Remember that the permission field is optional. ;)

    ~Thanks for reading.
  • Loading...
  • Loading...