Skip to content

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

📝 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: true

This 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!

Made by Navio1430 and Contributors with ❤️