Configuration

The main configuration of ServerMessage2 are the config lines below:

lapse: 40
groups:
  group1:
    Prefix: '[ANNOUNCEMENT]'
    active-messages: 5
    msg1: 'This is message 1!'

The lapse line determines the time between broadcasting the messages. This is in server ticks, so 20 = 1 second! This applies to all the groups.

The groups and group fields specify which group of messages you are modifying. Each group has it's own permission, so you can customize which permission group sees which broadcast group! For example, group1 could be for donators, group2 for admins, and group3 for builders!

The prefix field is where you can customize the prefix that comes before the message! Like the msg field, color codes ARE SUPPORTED, just make sure you put them INSIDE the ' '. For example, we could make msg1 red by doing msg1: '&4This is message 1!'.

The active-messages field is where some people may get confused, so READ THIS. Here you can set how many of the 5 messages are active (broadcasted). The default is 5, so all 5 will be active. If you changed it to 3, the first 3 messages will be active, if you set it to 2 the first 2 messages will be active, and so on!

Lastly, the msg field is where you can customize the message to be broadcasted! It can include numbers, letters, or symbols except for the & symbol. This is because this field, like the prefix field, supports color codes! Color codes are & + a number, for example &4 is red. When adding a color code, make sure the code is INSIDE the quotes! For example to make msg1 red we would do: msg1: '&4This is message1!'.

That's it! Now you know why ServerMessage2 is the most configurable and advanced auto-broadcast plugin on Bukkit! If you need extra help on configuration or anything else regarding ServerMessage, feel free to leave a comment on the plugin page or submit a ticket!