Development will continue on Badbird5907/Announcer
Badbird5907, SemiVanillaMC
Announcer uses MiniMessage to format messages.
There is an extra tag: <animate> which animates the gradient set in config.yml. This can be used in either the Title or Subtitle.
The interval-time-unit specified in config is a value from TimeUnit
The title updates once a tick or every 50 milliseconds.
The name under join-sound can either be a minecraft resource location (for example ui.toast.challenge_complete), or a value from org.bukkit.Sound
The messages can be configured under messages in config.yml. Make sure to make a new entry for each message.
For example:
messages:
0:
- '<gradient:yellow:red:yellow><strikethrough> <reset>'
- ''
- 'Something'
- ''
- '<gradient:yellow:red:yellow><strikethrough> <reset>'
1:
- 'Hello World!'Gradient color-1, color-2, and color-3 can be color names, hex values etc... they are used to create a gradient from this
If random-message-order is true, the messages will be randomly selected. Otherwise, they will be sent in order
fade-in and fade-out are in milliseconds
create a new class implemnenting Animation here
You will need to modify TitleManager to add support for this animation as it dosen't support multiple animations currently.