Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added customizable reminder message types #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BlitzOffline
Copy link
Contributor

@BlitzOffline BlitzOffline commented Aug 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Customizable reminder message types
1 participant