Multification
What is multification?
Multification library was created by EternalCode team.
Multification makes it simple to create customizable notifications and messages within large plugins that require handling a high volume of messages
With Multification, you have granular control over the notifications and messages sent to players.
Here's a quick example of how easy it is:
Here's the edited property from example above (messages.yml):
yml
loginPasswordOnlyInstruction:
chat: <#2784F5>ᴇᴋɪᴘᴀ.ɢɢ</#2784F5> <gray>×</gray> <white>Zaloguj się za pomocą
/login <hasło>
title: <#2784F5>ᴇᴋɪᴘᴀ.ɢɢ</#2784F5>
subtitle: <white>Zaloguj się
bossbar:
message: <#2784F5>ᴇᴋɪᴘᴀ.ɢɢ</#2784F5> <gray>×</gray> <white>Oczekiwanie na logowanie...
duration: 3s
color: BLUE
progress: '1.0'📝 Example usage (copy of original lib docs)
TIP
You can use EternalCode's multification generator here https://eternalcode.pl/notification-generator.
Syntax for sending notifications:
Chat + Multiline chat
Actionbar
Title
Subtitle
Title with times
Sounds
Examples combining multiple notifications:
TIP
👑 Unleash your creativity and design your own custom notifications without any limits!
Here's an example of an advanced notification that combines multiple notification types:
yaml
# Advanced notification example
advanced_notification:
# Chat message with multiple lines
chat:
- "<gradient:gold:yellow>Welcome to the server!</gradient>"
- "<gray>Use <click:run_command:/help><hover:show_text:Click to see help><gold>/help</gold></hover></click> for assistance.</gray>"
# Action bar notification
actionbar: "<gradient:aqua:blue>You have <gold>5</gold> unread messages</gradient>"
# Title and subtitle with custom times
title: "<gradient:red:dark_red>WARNING!</gradient>"
subtitle: "<gray>You are entering a PvP zone</gray>"
times: "0.5s 3s 1s" # Fade in, stay, fade out
# Sound effect with custom volume and pitch
sound: "ENTITY_ENDER_DRAGON_GROWL MASTER 1.0 0.8"
# Clear any existing title/subtitle before showing this one
titleHide: trueThis example demonstrates:
- Multi-line chat messages with gradients and clickable elements
- Action bar notifications with gradients
- Title and subtitle with custom fade times
- Sound effects with custom volume and pitch
- Title clearing before showing new notifications
You can mix and match these elements to create your own custom notifications!