Brand new chat format lets you customize formats by permission. Including multiple hover events! (See code block below)
Re-wrote how some modules are handled. This saves resources when you disable modules. Overall helps server performance.
Code (Text):
# Format for the chat
# - Possible variables:
# - %prefix% - Gets the player's chat tag (high priority) or group prefix (low priority)
# - %suffix% - Gets the suffix from player's permission group
# - %playerName% - The player's display name and their chat icons
# - %player% - The player's display name
# - %username% - The player's username
# - %message% - Full player message to send to chat
# - You can use placeholders in this format
# Basic Default: %prefix%%playerName%&r%suffix%&r%ecore_color_accent%:&r # Message is automatically added at the end of the format
formatting:
basic: "%prefix%%playerName%&r%suffix%&r%ecore_color_accent%:&r"
# Advanced chat format with hover and click events for each section
advanced:
# Enable advanced chat format
enabled: false
# List of formats to use
# You can add as many or as few chat formats that you want
# A hover event is not required for each section
default:
1:
# Text you want to show in this section
format: "%prefix%"
2:
# Text you want to show in this section
format: "%playerName%"
# Hover event for the message
hover:
# Message to show in the hover
# Use variables from chat format above (excluding %message%)
message:
- "%ecore_color_accent%%ecore_status_full%&r"
- "%ecore_color_accent%- &o%username%&r"
- ""
- "&fClick to message"
# Run command as player
command:
# Use variables from chat format above (excluding %message%)
string: "/msg %username% "
# How the command is handled
# - Possible types:
# - RUN_COMMAND - Sends the command as the player
# - SUGGEST_COMMAND - Open the chat with the command string, but doesn't send
# - OPEN_URL - Open command string as a URL
# - COPY_TO_CLIPBOARD - Copy command string to clipboard
# - Leave blank to disable
type: "SUGGEST_COMMAND"
3:
format: "%suffix%&r"
4:
format: "%ecore_color_accent%:&r "
# Extra format for admins
# Feel free to remove this if you don't need it
admin:
permission: "staff.admin"
1:
format: "%prefix%"
2:
format: "%playerName%"
hover:
message:
- "&{#D58846,#D5CF46}Super cool &{#46C1D5,#46D55A}Admin"
- "%ecore_color_accent%%ecore_status_full%&r"
- ""
- "&fClick to message"
command:
string: "/msg %username% "
type: "SUGGEST_COMMAND"
3:
format: "%suffix%&r"
4:
format: "%ecore_color_accent%:&r "