WorldAnnounce

banner

This is an extremely simple plugin that allows for different announcements for different worlds.

Configuration

On the plugins first run, several files should be created: config.yml, Worlds folder, and 2 text files inside the Worlds folder. To set the messages per world, first open the config.yml. Each world goes on it's own line with 2 spaces, a dash, a space, the world name, and the interval in seconds between the broadcast messages.

worlds:
  - world_example 120
  - world_example_nether 300

This example will broadcast a message in world_example every 120 seconds, and world_example_nether every 300 seconds.

To set the broadcast messages, either reload the plugin via /wa reload, or enter the world folder and create the respective names of the worlds as a text file. For example with the above config, create "world_example.txt" inside the Worlds folder, or let the plugin create it for you after reloading the config. Then enter each message you want broadcasted on a new line. Color codes can be created using '&'. For example:

&cThis is the first message to be displayed.
&dThis will be the second message to be displayed.
&eThe first message will play again after  this.

Permissions

worldannounce.wa          -- Permission to reload the config files

Commands

/wa reload Reload the config files

Bug? Feature request? Usage question?

Please create an issue here.

Please avoid posting issues in the comments.

Source code: GitHub


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files