Message Customization
Every title, popup and chat line players see comes from mods/BusyBee_AutoPickup/messages.yml.
Edit it and run /autopickup reload.
Colors
Messages use a small set of color tags. A tag colors everything after it until the next tag:
| Tag | Color |
|---|---|
<color:#22c55e> |
Any hex color (3 to 8 hex digits) |
<white> |
#ffffff |
<red> |
#ff0000 |
<green> |
#00ff00 |
<blue> |
#0000ff |
<yellow> |
#ffff00 |
Other tags (bold, gradients, MiniMessage tags) aren't supported and show up as plain text.
Titles are one color. On-screen titles can only draw a single color per line, so for anything shown as a title the tags are removed and the first tag colors the whole line.
Placeholders
| Placeholder | Replaced with | Available in |
|---|---|---|
{quantity} |
Number of items picked up | notifications.pickup-message, chat.pickup |
{item} |
Item name | notifications.pickup-message, chat.pickup |
{prefix} |
The chat.prefix value |
chat.pickup, chat.reload-success |
Default file
titles:
enabled: "AutoPickup Enabled"
enabled-subtitle: "Items will be automatically picked up"
disabled: "AutoPickup Disabled"
disabled-subtitle: "Items will drop normally"
plugin-disabled: "AutoPickup Disabled"
plugin-disabled-subtitle: "Plugin is disabled by administrator"
no-permission: "No Permission"
no-permission-subtitle: "You don't have access to toggle auto-pickup"
no-permission-reload-subtitle: "You don't have access to reload the config"
no-permission-settings-subtitle: "You don't have access to view settings"
notifications:
pickup-title: "Item Picked Up"
pickup-message: "+{quantity} {item}"
chat:
prefix: "[AutoPickup]"
pickup: "{prefix} +{quantity} {item}"
reload-success: "{prefix} Configuration and messages reloaded successfully!"
Where each key is used
| Key | Shown when |
|---|---|
titles.enabled, titles.enabled-subtitle |
A player turns auto-pickup on |
titles.disabled, titles.disabled-subtitle |
A player turns auto-pickup off |
titles.plugin-disabled, titles.plugin-disabled-subtitle |
A player runs /autopickup while autopickup.enabled is false |
titles.no-permission + one of the no-permission-* subtitles |
The plugin refuses a command for lack of permission |
notifications.pickup-title, notifications.pickup-message |
An item is picked up and notification-type is NOTIFICATION |
chat.pickup |
An item is picked up and notification-type is CHAT |
chat.prefix |
In front of chat messages, including toggle messages in CHAT mode |
chat.reload-success |
/autopickup reload finishes |
With toggle-notification-type: CHAT, only the prefix and the title (titles.enabled or
titles.disabled) are sent; the subtitle is left out.
The TITLE pickup style and the /autopickup settings output are fixed text and can't be
changed here, apart from chat.prefix at the start of the settings output.
The ui: section at the bottom of the shipped messages.yml isn't used by the current version.
If a key is missing, the plugin falls back to the default text shown above.