BetterIntervalMessages
BetterIntervalMessages is an
improved version of the
simple "IntervalMessages" Minecraft plugin that sends random messages to all players on the server at set intervals. You can customise the name that appears in the chat and the list of messages to send.
Features
- Sends random messages at intervals
- Select a set interval, or use an automatic random interval
- Customise the name that messages are sent from
- Supports JSON formatting, like tellraw
- Supports simple Colour Markup (&3)
- With PlaceholderAPI Support!
- Easy configuration in `config.yml`
Configuration/config.yml
Here is an example of what the config.yml file looks like:
Code (YAML):
interval
:
# interval range in seconds, or set to equal for consistent interval
min
: 160
max
: 300
name
:
"[Server]"
# name that shows when the message is sent
ignoreLastMessage
: true
# Whether or not to avoid sending the same message twice.
enableConfigReload
: true
# Whether or not to enable the /im reload command, to reload this file.
messages
:
# list of messages to randomly pick from to send
-
"Welcome to our server!"
-
"BetterIntervalMessages is awesome!"
-
interval: Time in seconds between messages. You can set both
min and
max to the same value for a consistent interval.
-
name: The name that appears in the chat (supports color codes too).
-
ignoreLastMessage: whether or not to avoid sending the same message twice
-
enableConfigReload: whether or not to enable the
/bim reload command, to reload this config
-
messages: List of messages to randomly choose from.
To use PlaceholderAPI placeholders, you must first install the PlaceholderAPI itself. You can find it
here.
After installing, restart your server to use them.
You can then use it in the config.yml like so;
Code (YAML):
interval
:
# interval range in seconds, or set to equal for consistent interval
min
: 160
max
: 300
name
:
"[Server]"
# name that shows when the message is sent
ignoreLastMessage
: true
# Whether or not to avoid sending the same message twice.
enableConfigReload
: true
# Whether or not to enable the /bim reload command, to reload this file.
messages
:
# list of messages to randomly pick from to send
-
"Welcome to our server!"
-
"Remember to read the rules."
-
"&aHello %player_name%! Your health is %player_health%."
-
"<JSON>[{\"text\
":\"Click here
%player_name%\",\"click_event\":{\"action\":\"open_url\",\"value\":\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\"}}]</JSON>"
Usage
Once the plugin is installed and configured, it will automatically start sending messages at the interval you set once you start up your server.
Enjoy your server messages!