Added customizable reminder message types #123
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Makes the reminder message type customizable.
It can be a chat message, an actionbar message, a title or a bossbar.
Different options have different sub-options:
voting.reminder_bossbar_fill - sets the fill on the bossbar (value from 0 to 1)
voting.reminder_bossbar_color - sets the color of the bossbar
voting.reminder_bossbar_overlay - sets the bossbar type (progress or notched)
voting.reminder_bossbar_stay_time - sets the bossbar active time (in ticks)
voting.reminder_title_fade_in - sets the fade in time in ticks for the title
voting.reminder_title_stay - sets the stay time in ticks for the title
voting.reminder_title_fade_out - sets the fade out time in ticks for the title
There is also a new language option: reminder-subtitle. This is used for subtitles and will only work for the
title
type.TESTED ON:
Paper version 1.21.1-41-master@fcedb49 (2024-08-24T09:02:10Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
openjdk 21.0.4 2024-07-16 LTS
CLOSES #121