Skip to content
PantherMan594 edited this page Apr 30, 2016 · 3 revisions

Announcements were added in 2.2.0 as an easy way for server owners to give users information, without having to actually be online.

Configuration

announcement is enabled by default in the enabled section of the config, but can be easily removed.

Key Explanation
announcements.AnncName This is the name of the announcement. It is used to check for the gssentials.announcement.AnncName permission.
announcements.AnncName.delay The time (in seconds) before that announcement starts cycling.
announcements.AnncName.interval The time (in seconds) before that announcement is broadcasted again.
announcements.AnncName.message The message that is broadcasted.
announcements.AnncName.server (optional) The server that the message is broadcasted to (can be "ALL" or not included at all).

Example

This is one of the example announcements found in messages.yml.

announcements:
  vote:
    delay: 30
    interval: 60
    message: Vote for our server for great rewards!
    server: Hub

The name of the announcement is "vote". Players must have the gssentials.announcement.vote (or the gssentials.announcement for all) permission and be on the Hub server to receive the announcement. It will be broadcasted after an initial 30 seconds, and then every 60 seconds after that. The message of the broadcast is "Vote for our server for great rewards!".

Clone this wiki locally