Skip to content

newlandsmc/Announcer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Announcer

Development will continue on Badbird5907/Announcer

Authors

Badbird5907, SemiVanillaMC

Config

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

Adding more animations

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages