Skip to main content

messages.yml

Every message Nexal Announcements sends, with its sounds and menu text. Located at plugins/NexalAnnouncements/messages.yml, in MiniMessage format. %prefix% is replaced with the prefix at the top of the file.

messages.yml
# ══════════════════════════════════════════════════════════
# NEXAL ANNOUNCEMENTS MESSAGES
# ══════════════════════════════════════════════════════════
# Use find-and-replace in your editor to change colors globally.
#
# PRIMARY: <gradient:#FF69B4:#FF85C8> (pink)
# SECONDARY: <gradient:#FF9DCE:#FFB8DC> (light pink)
# SUCCESS: <gradient:#2ECC71:#52D68A> (green)
# ERROR: <gradient:#FF5252:#FF7070> (red)
# WARNING: <gradient:#FFC107:#FFCD38> (gold)
# INFO: <gradient:#AAAAAA:#BBBBBB> (gray)
# ══════════════════════════════════════════════════════════

# ──────────────────────────────────────────────────────────
# PREFIX
# ──────────────────────────────────────────────────────────

prefix: "<gradient:#FF69B4:#FF85C8>Announcements</gradient> <gray>|</gray> "

# ──────────────────────────────────────────────────────────
# PLAYER MESSAGES
# ──────────────────────────────────────────────────────────

toggle-on:
message:
- "%prefix%<gradient:#2ECC71:#52D68A>✔ Announcements enabled.</gradient> <gray>You will now receive server announcements.</gray>"
sound: "BLOCK_LEVER_CLICK"

toggle-off:
message:
- "%prefix%<gradient:#FF5252:#FF7070>✘ Announcements disabled.</gradient> <gray>Use /announcements toggle to re-enable.</gray>"
sound: "BLOCK_LEVER_CLICK"

# ──────────────────────────────────────────────────────────
# ADMIN MESSAGES
# ──────────────────────────────────────────────────────────

admin:
reload:
message:
- "%prefix%<gradient:#2ECC71:#52D68A>✔ Configuration reloaded successfully.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

broadcast-success:
message:
- "%prefix%<gradient:#2ECC71:#52D68A>✔ Broadcasted announcement <gradient:#FF9DCE:#FFB8DC>%announcement%</gradient> from pool <gradient:#FF9DCE:#FFB8DC>%pool%</gradient>.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

preview-success:
message:
- "%prefix%<gradient:#2ECC71:#52D68A>✔ Previewing announcement <gradient:#FF9DCE:#FFB8DC>%announcement%</gradient>.</gradient>"

pool-paused:
message:
- "%prefix%<gradient:#FFC107:#FFCD38>Pool <gradient:#FF9DCE:#FFB8DC>%pool%</gradient> has been paused.</gradient>"
sound: "UI_BUTTON_CLICK"

pool-resumed:
message:
- "%prefix%<gradient:#2ECC71:#52D68A>✔ Pool <gradient:#FF9DCE:#FFB8DC>%pool%</gradient> has been resumed.</gradient>"
sound: "UI_BUTTON_CLICK"

export-success:
message:
- "%prefix%<gradient:#2ECC71:#52D68A>✔ Data exported successfully to plugins/NexalAnnouncements/export/.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

import-success:
message:
- "%prefix%<gradient:#2ECC71:#52D68A>✔ Imported %count% player records successfully.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

pool-list-header:
message:
- ""
- "<gradient:#FF69B4:#FF85C8><bold>Announcement Pools</bold></gradient>"
- ""

pool-list-entry-active:
message:
- " <gradient:#2ECC71:#52D68A>●</gradient> <gradient:#FF9DCE:#FFB8DC>%pool%</gradient> <gray>— %count% announcements, every %interval%s</gray>"

pool-list-entry-paused:
message:
- " <gradient:#FF5252:#FF7070>●</gradient> <gradient:#FF9DCE:#FFB8DC>%pool%</gradient> <gray>(paused) — %count% announcements</gray>"

pool-list-footer:
message:
- ""

pool-list-empty:
message:
- " <gray>No pools configured.</gray>"

# Admin GUI: chat prompts and editing
input-pool-name:
message:
- "%prefix%<gradient:#FF9DCE:#FFB8DC>Type the name of the new pool in chat.</gradient>"
- "%prefix%<gray>Letters, numbers, - and _ only. Type</gray> <white>cancel</white> <gray>to abort.</gray>"
sound: "UI_BUTTON_CLICK"

input-announcement:
message:
- "%prefix%<gradient:#FF9DCE:#FFB8DC>Write the new announcement for pool %pool%, one line per chat message.</gradient>"
- "%prefix%<gray>Colors work as in messages.yml. Type</gray> <white>done</white> <gray>to save or</gray> <white>cancel</white> <gray>to abort.</gray>"
sound: "UI_BUTTON_CLICK"

input-line-added:
message:
- "%prefix%<gray>Line %line%:</gray> <white>%text%</white>"
sound: "BLOCK_NOTE_BLOCK_HAT"

input-permission:
message:
- "%prefix%<gradient:#FF9DCE:#FFB8DC>Type the permission players need to receive pool %pool%.</gradient>"
- "%prefix%<gray>Type</gray> <white>cancel</white> <gray>to abort.</gray>"
sound: "UI_BUTTON_CLICK"

input-cancelled:
message:
- "%prefix%<gradient:#FFC107:#FFCD38>Cancelled.</gradient>"
sound: "UI_BUTTON_CLICK"

pool-created:
message:
- "%prefix%<gradient:#2ECC71:#52D68A>✔ Pool <gradient:#FF9DCE:#FFB8DC>%pool%</gradient> created.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

announcement-created:
message:
- "%prefix%<gradient:#2ECC71:#52D68A>✔ Announcement <gradient:#FF9DCE:#FFB8DC>%announcement%</gradient> added to pool <gradient:#FF9DCE:#FFB8DC>%pool%</gradient>.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

announcement-deleted:
message:
- "%prefix%<gradient:#FFC107:#FFCD38>Announcement <gradient:#FF9DCE:#FFB8DC>%announcement%</gradient> removed from pool <gradient:#FF9DCE:#FFB8DC>%pool%</gradient>.</gradient>"
sound: "ENTITY_ITEM_BREAK"

# ──────────────────────────────────────────────────────────
# ERROR MESSAGES
# ──────────────────────────────────────────────────────────

errors:
pool-not-found:
message:
- "%prefix%<gradient:#FF5252:#FF7070>✘ Pool <gradient:#FFC107:#FFCD38>%pool%</gradient> does not exist.</gradient>"
sound: "ENTITY_VILLAGER_NO"

announcement-not-found:
message:
- "%prefix%<gradient:#FF5252:#FF7070>✘ Announcement <gradient:#FFC107:#FFCD38>%announcement%</gradient> does not exist in pool <gradient:#FFC107:#FFCD38>%pool%</gradient>.</gradient>"
sound: "ENTITY_VILLAGER_NO"

pool-empty:
message:
- "%prefix%<gradient:#FF5252:#FF7070>✘ Pool <gradient:#FFC107:#FFCD38>%pool%</gradient> has no announcements.</gradient>"
sound: "ENTITY_VILLAGER_NO"

invalid-index:
message:
- "%prefix%<gradient:#FF5252:#FF7070>✘ Invalid index. Pool <gradient:#FFC107:#FFCD38>%pool%</gradient> has %count% announcement(s).</gradient>"
sound: "ENTITY_VILLAGER_NO"

pool-already-paused:
message:
- "%prefix%<gradient:#FF5252:#FF7070>✘ Pool <gradient:#FFC107:#FFCD38>%pool%</gradient> is already paused.</gradient>"
sound: "ENTITY_VILLAGER_NO"

pool-not-paused:
message:
- "%prefix%<gradient:#FF5252:#FF7070>✘ Pool <gradient:#FFC107:#FFCD38>%pool%</gradient> is not paused.</gradient>"
sound: "ENTITY_VILLAGER_NO"

export-failed:
message:
- "%prefix%<gradient:#FF5252:#FF7070>✘ Export failed. Check console for details.</gradient>"
sound: "ENTITY_VILLAGER_NO"

import-failed:
message:
- "%prefix%<gradient:#FF5252:#FF7070>✘ Import failed. Check console for details.</gradient>"
sound: "ENTITY_VILLAGER_NO"

invalid-pool-name:
message:
- "%prefix%<gradient:#FF5252:#FF7070>✘ Pool names use letters, numbers, - and _ only, up to 32 characters.</gradient>"
sound: "ENTITY_VILLAGER_NO"

pool-exists:
message:
- "%prefix%<gradient:#FF5252:#FF7070>✘ Pool <gradient:#FFC107:#FFCD38>%pool%</gradient> already exists.</gradient>"
sound: "ENTITY_VILLAGER_NO"

invalid-permission:
message:
- "%prefix%<gradient:#FF5252:#FF7070>✘ A permission uses letters, numbers, dots, - and _ only.</gradient>"
sound: "ENTITY_VILLAGER_NO"

announcement-delete-failed:
message:
- "%prefix%<gradient:#FF5252:#FF7070>✘ Announcement <gradient:#FFC107:#FFCD38>%announcement%</gradient> was not deleted: pool <gradient:#FFC107:#FFCD38>%pool%</gradient> changed meanwhile. Try again.</gradient>"
sound: "ENTITY_VILLAGER_NO"

announcement-empty:
message:
- "%prefix%<gradient:#FF5252:#FF7070>✘ The announcement has no lines yet. Type a line, or</gradient> <white>cancel</white><gradient:#FF5252:#FF7070>.</gradient>"
sound: "ENTITY_VILLAGER_NO"

# ══════════════════════════════════════════════════════════
# ANNOUNCEMENT TEMPLATES
# ══════════════════════════════════════════════════════════
# These are the actual announcements sent to players.
# They do NOT use %prefix% — they are standalone broadcasts.
# Every channel is optional; use any combination:
# message: chat lines (a list)
# title / subtitle, with fade-in, stay, fade-out in ticks
# actionbar: one line above the hotbar
# sound: a Bukkit sound name, e.g. BLOCK_NOTE_BLOCK_PLING
# bossbar: text, color, style, duration (seconds)
# ══════════════════════════════════════════════════════════

# ──────────────────────────────────────────────────────────
# TIPS
# ──────────────────────────────────────────────────────────

announcement-tip-1:
message:
- ""
- " <gradient:#FF69B4:#FF85C8><bold>💡 TIP</bold></gradient>"
- ""
- " <gray>Visit our store for exclusive items and ranks!</gray>"
- " <gradient:#FF9DCE:#FFB8DC>store.example.com</gradient>"
- ""
sound: "BLOCK_NOTE_BLOCK_PLING"

announcement-tip-2:
message:
- ""
- " <gradient:#FF69B4:#FF85C8><bold>💡 TIP</bold></gradient>"
- ""
- " <gray>Join our Discord to report rule breakers and</gray>"
- " <gray>stay updated with server news!</gray>"
- " <gradient:#FF9DCE:#FFB8DC>discord.gg/example</gradient>"
- ""
sound: "BLOCK_NOTE_BLOCK_PLING"

announcement-tip-3:
message:
- ""
- " <gradient:#FF69B4:#FF85C8><bold>💡 TIP</bold></gradient>"
- ""
- " <gray>Vote for our server at</gray> <gradient:#FF9DCE:#FFB8DC>/vote</gradient>"
- " <gray>to earn exclusive rewards!</gray>"
- ""
sound: "BLOCK_NOTE_BLOCK_PLING"

# ──────────────────────────────────────────────────────────
# RULES
# ──────────────────────────────────────────────────────────

announcement-rule-1:
message:
- ""
- " <gradient:#FF5252:#FF7070><bold>📋 RULE</bold></gradient>"
- ""
- " <gray>No griefing, stealing, or hacking.</gray>"
- " <gray>Offenders will be permanently banned.</gray>"
- ""
sound: "BLOCK_NOTE_BLOCK_BASS"

announcement-rule-2:
message:
- ""
- " <gradient:#FF5252:#FF7070><bold>📋 RULE</bold></gradient>"
- ""
- " <gray>Be respectful to all players and staff.</gray>"
- " <gray>Harassment and toxic behaviour are not tolerated.</gray>"
- ""
sound: "BLOCK_NOTE_BLOCK_BASS"

# ──────────────────────────────────────────────────────────
# NEW PLAYER TIPS
# ──────────────────────────────────────────────────────────

announcement-newplayer-1:
message:
- ""
- " <gradient:#2ECC71:#52D68A><bold>👋 WELCOME</bold></gradient>"
- ""
- " <gray>New to the server? Type</gray> <gradient:#FF9DCE:#FFB8DC>/help</gradient>"
- " <gray>to get started with our features!</gray>"
- ""
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

announcement-newplayer-2:
message:
- ""
- " <gradient:#2ECC71:#52D68A><bold>👋 GETTING STARTED</bold></gradient>"
- ""
- " <gray>Claim your free starter kit with</gray> <gradient:#FF9DCE:#FFB8DC>/kit starter</gradient>"
- ""
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"