Configuration/Settings up permissions for a message

Setting up permissions for a message

 

By setting up permissions for a message you can define it to be send or not to players who have those permissions

Get into the announce.yml file and add:

announces.yml

  |  example:                                                       # The reference name of your message

  |         message: "Your message here"       # The text of your message

  |         permissions:                                        # Permissions list

  |              - perm1                                             # A simple permission. Only player with it can see this

  |              - -perm2                                            # A permission with - before. Only player without it can see this

 


See also