Skip to main content

messages.yml

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

messages.yml
# ══════════════════════════════════════════════════════════
# NEXAL MAINTENANCE MESSAGES
# ══════════════════════════════════════════════════════════
# Use find-and-replace in your editor to change colors globally.
#
# PRIMARY: <gradient:#E67E22:#EB984E> (orange)
# SECONDARY: <gradient:#F0B27A:#F5CBA7> (light orange)
# SUCCESS: <gradient:#2ECC71:#52D68A> (green)
# ERROR: <gradient:#FF5252:#FF7070> (red)
# WARNING: <gradient:#FFC107:#FFCD38> (amber)
# INFO: <gradient:#AAAAAA:#BBBBBB> (gray)
# ══════════════════════════════════════════════════════════

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

prefix: "<gradient:#E67E22:#EB984E>Maintenance</gradient> <gray>|</gray> "

# ──────────────────────────────────────────────────────────
# BROADCAST MESSAGES
# ──────────────────────────────────────────────────────────

maintenance-enabled:
message:
- ""
- " <gradient:#E67E22:#EB984E><bold>⚠ MAINTENANCE MODE ⚠</bold></gradient>"
- ""
- " <gray>The server is now under maintenance.</gray>"
- " <gray>Only authorized players can join.</gray>"
- ""
title: "<gradient:#E67E22:#EB984E><bold>MAINTENANCE</bold></gradient>"
subtitle: "<gradient:#F0B27A:#F5CBA7>Server is now locked</gradient>"
sound: "ENTITY_ENDER_DRAGON_GROWL"
fade-in: 10
stay: 60
fade-out: 20

# Placeholders: %reason%
maintenance-enabled-reason:
message:
- ""
- " <gradient:#E67E22:#EB984E><bold>⚠ MAINTENANCE MODE ⚠</bold></gradient>"
- ""
- " <gray>Reason:</gray> <white>%reason%</white>"
- " <gray>Only authorized players can join.</gray>"
- ""
title: "<gradient:#E67E22:#EB984E><bold>MAINTENANCE</bold></gradient>"
subtitle: "<white>%reason%</white>"
sound: "ENTITY_ENDER_DRAGON_GROWL"
fade-in: 10
stay: 60
fade-out: 20

maintenance-disabled:
message:
- ""
- " <gradient:#2ECC71:#52D68A><bold>✔ MAINTENANCE ENDED</bold></gradient>"
- ""
- " <gray>The server is now open to all players.</gray>"
- ""
title: "<gradient:#2ECC71:#52D68A><bold>MAINTENANCE ENDED</bold></gradient>"
subtitle: "<gray>Server is now open</gray>"
sound: "ENTITY_PLAYER_LEVELUP"
fade-in: 10
stay: 60
fade-out: 20

# Placeholders: %time%
maintenance-scheduled:
message: "%prefix%<gradient:#FFC107:#FFCD38>Maintenance scheduled to start in <white>%time%</white>.</gradient>"
sound: "BLOCK_NOTE_BLOCK_BASS"

maintenance-cancelled:
message: "%prefix%<gradient:#2ECC71:#52D68A>✔ Scheduled maintenance has been cancelled.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

# ──────────────────────────────────────────────────────────
# COUNTDOWN WARNINGS
# ──────────────────────────────────────────────────────────

# Placeholders: %time%
countdown-warning:
message: "%prefix%<gradient:#E67E22:#EB984E><bold>Maintenance starts in %time%!</bold></gradient>"
sound: "BLOCK_NOTE_BLOCK_PLING"

# Placeholders: %time%, %reason%
countdown-warning-reason:
message:
- "%prefix%<gradient:#E67E22:#EB984E><bold>Maintenance starts in %time%!</bold></gradient>"
- "%prefix%<gray>Reason:</gray> <white>%reason%</white>"
sound: "BLOCK_NOTE_BLOCK_PLING"

# ──────────────────────────────────────────────────────────
# KICK MESSAGES
# ──────────────────────────────────────────────────────────

kick-message:
message:
- ""
- "<gradient:#E67E22:#EB984E><bold>SERVER MAINTENANCE</bold></gradient>"
- ""
- "<gray>The server is currently under maintenance.</gray>"
- "<gray>Please try again later.</gray>"
- ""

# Placeholders: %reason%
kick-message-reason:
message:
- ""
- "<gradient:#E67E22:#EB984E><bold>SERVER MAINTENANCE</bold></gradient>"
- ""
- "<white>%reason%</white>"
- ""
- "<gray>Please try again later.</gray>"
- ""

# Placeholders: %seconds%
kick-countdown:
message: "%prefix%<gradient:#E67E22:#EB984E><bold>You will be kicked in %seconds%s!</bold></gradient>"
title: "<gradient:#E67E22:#EB984E><bold>MAINTENANCE</bold></gradient>"
subtitle: "<gray>Kicked in %seconds%s</gray>"
sound: "BLOCK_NOTE_BLOCK_BASS"
fade-in: 0
stay: 25
fade-out: 5

# Placeholders: %seconds%, %reason%
kick-countdown-reason:
message:
- "%prefix%<gradient:#E67E22:#EB984E><bold>You will be kicked in %seconds%s!</bold></gradient>"
- "%prefix%<gray>Reason:</gray> <white>%reason%</white>"
title: "<gradient:#E67E22:#EB984E><bold>MAINTENANCE</bold></gradient>"
subtitle: "<white>%reason%</white>"
sound: "BLOCK_NOTE_BLOCK_BASS"
fade-in: 0
stay: 25
fade-out: 5

# ──────────────────────────────────────────────────────────
# STATUS MESSAGES
# ──────────────────────────────────────────────────────────

status-active:
message: "%prefix%<gradient:#E67E22:#EB984E>Maintenance is currently <bold>ACTIVE</bold>.</gradient>"

# Placeholders: %reason%
status-active-reason:
message:
- "%prefix%<gradient:#E67E22:#EB984E>Maintenance is currently <bold>ACTIVE</bold>.</gradient>"
- "%prefix%<gray>Reason:</gray> <white>%reason%</white>"

# Placeholders: %time%
status-ends-in:
message: "%prefix%<gray>Ends in:</gray> <white>%time%</white>"

status-scheduled:
message: "%prefix%<gradient:#FFC107:#FFCD38>Maintenance is <bold>SCHEDULED</bold> to start in <white>%time%</white>.</gradient>"

status-inactive:
message: "%prefix%<gradient:#2ECC71:#52D68A>Maintenance is currently <bold>INACTIVE</bold>.</gradient>"

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

admin-enabled:
message: "%prefix%<gradient:#2ECC71:#52D68A>✔ You have enabled maintenance mode.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

admin-disabled:
message: "%prefix%<gradient:#2ECC71:#52D68A>✔ You have disabled maintenance mode.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

# Placeholders: %time%
schedule-set:
message: "%prefix%<gradient:#2ECC71:#52D68A>✔ Maintenance scheduled to start in <white>%time%</white>.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

# Placeholders: %time%, %duration%
schedule-set-duration:
message:
- "%prefix%<gradient:#2ECC71:#52D68A>✔ Maintenance scheduled to start in <white>%time%</white>.</gradient>"
- "%prefix%<gray>Duration:</gray> <white>%duration%</white>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

schedule-cancelled:
message: "%prefix%<gradient:#2ECC71:#52D68A>✔ Scheduled maintenance has been cancelled.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

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

# ──────────────────────────────────────────────────────────
# BYPASS MESSAGES
# ──────────────────────────────────────────────────────────

# Placeholders: %player%
bypass-added:
message: "%prefix%<gradient:#2ECC71:#52D68A>✔ Added <gradient:#F0B27A:#F5CBA7>%player%</gradient> to the <bold>permanent</bold> bypass list.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

bypass-added-temp:
message:
- "%prefix%<gradient:#2ECC71:#52D68A>✔ Added <gradient:#F0B27A:#F5CBA7>%player%</gradient> to the <bold>temporary</bold> bypass list.</gradient>"
- "%prefix%<gray>They can join until maintenance ends.</gray>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

bypass-removed:
message: "%prefix%<gradient:#2ECC71:#52D68A>✔ Removed <gradient:#F0B27A:#F5CBA7>%player%</gradient> from the bypass list.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

# Placeholders: %type% (permanent or temporary)
bypass-add-prompt:
message:
- "%prefix%<gradient:#F0B27A:#F5CBA7>Type the name of the player to add to the <white>%type%</white> bypass list.</gradient>"
- "%prefix%<gray>Type</gray> <white>cancel</white> <gray>to stop.</gray>"
sound: "UI_BUTTON_CLICK"

# Placeholders: %player%
bypass-not-listed:
message: "%prefix%<gradient:#FF5252:#FF7070>✘ <gradient:#FFC107:#FFCD38>%player%</gradient> is not on the bypass list.</gradient>"
sound: "ENTITY_VILLAGER_NO"

bypass-list-empty:
message: "%prefix%<gradient:#AAAAAA:#BBBBBB>The bypass list is empty.</gradient>"

# Placeholders: %count%
bypass-list-header:
message:
- ""
- "<gradient:#E67E22:#EB984E><bold>Bypassed Players</bold></gradient> <gray>(%count%)</gray>"

bypass-list-permanent:
message: "<gradient:#F0B27A:#F5CBA7>Permanent:</gradient>"

bypass-list-temporary:
message: "<gradient:#F0B27A:#F5CBA7>Temporary</gradient> <gray>(until maintenance ends):</gray>"

# Placeholders: %player%
bypass-list-entry:
message: " <gradient:#AAAAAA:#BBBBBB>●</gradient> <white>%player%</white>"

# ──────────────────────────────────────────────────────────
# SETTINGS (admin GUI)
# ──────────────────────────────────────────────────────────

# Placeholders: %setting%, %current%
settings-prompt:
message:
- "%prefix%<gradient:#F0B27A:#F5CBA7>Type the new <white>%setting%</white> in chat.</gradient>"
- "%prefix%<gray>Current:</gray> <white>%current%</white>"
- "%prefix%<gray>Type</gray> <white>cancel</white> <gray>to keep it.</gray>"
sound: "UI_BUTTON_CLICK"

# Placeholders: %setting%, %value%
settings-saved:
message: "%prefix%<gradient:#2ECC71:#52D68A>✔ %setting% set to</gradient> <white>%value%</white>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

settings-cancelled:
message: "%prefix%<gradient:#AAAAAA:#BBBBBB>No changes made.</gradient>"

# ──────────────────────────────────────────────────────────
# EXPORT & IMPORT
# ──────────────────────────────────────────────────────────

# Placeholders: %count% (bypass entries)
export-success:
message: "%prefix%<gradient:#2ECC71:#52D68A>✔ Exported the maintenance state and <white>%count%</white> bypass entries to <white>export/maintenance.json</white>.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

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

# Placeholders: %count% (bypass entries)
import-success:
message: "%prefix%<gradient:#2ECC71:#52D68A>✔ Imported the maintenance state and <white>%count%</white> bypass entries.</gradient>"
sound: "ENTITY_EXPERIENCE_ORB_PICKUP"

import-no-file:
message: "%prefix%<gradient:#FF5252:#FF7070>✘ No export/maintenance.json found. Run <white>/maintenance admin export</white> first.</gradient>"
sound: "ENTITY_VILLAGER_NO"

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

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

already-enabled:
message: "%prefix%<gradient:#FF5252:#FF7070>✘ Maintenance mode is already enabled.</gradient>"
sound: "ENTITY_VILLAGER_NO"

not-enabled:
message: "%prefix%<gradient:#FF5252:#FF7070>✘ Maintenance mode is not currently active.</gradient>"
sound: "ENTITY_VILLAGER_NO"

not-scheduled:
message: "%prefix%<gradient:#FF5252:#FF7070>✘ There is no scheduled maintenance to cancel.</gradient>"
sound: "ENTITY_VILLAGER_NO"

invalid-time-format:
message: "%prefix%<gradient:#FF5252:#FF7070>✘ Invalid time format. Use: <white>10s</white>, <white>5m</white>, <white>1h</white>, <white>1d</white></gradient>"
sound: "ENTITY_VILLAGER_NO"

# Placeholders: %player%
player-not-found:
message: "%prefix%<gradient:#FF5252:#FF7070>✘ Player <gradient:#FFC107:#FFCD38>%player%</gradient> not found.</gradient>"
sound: "ENTITY_VILLAGER_NO"

schedule-while-active:
message: "%prefix%<gradient:#FF5252:#FF7070>✘ Maintenance is already active. Turn it off before scheduling.</gradient>"
sound: "ENTITY_VILLAGER_NO"

invalid-intervals:
message: "%prefix%<gradient:#FF5252:#FF7070>✘ Type whole seconds separated by commas, e.g. <white>600, 60, 10, 5</white>, or <white>cancel</white>.</gradient>"
sound: "ENTITY_VILLAGER_NO"