Slime Login

messages.yml#

Every string the plugin sends. Edit it, run /slimeadmin reload, done.

Formatting#

Colours &a, &6, &l … the usual codes
Hex colours &#ff8800
New line \n — mainly for kick screens
Blank Set a message to "" and nothing is sent at all, not even the prefix

The prefix is added to chat messages automatically. Kick screens, titles and admin table rows never get it.

prefix: "&8[&6Slime&8] &7"

Placeholders#

Placeholder Where
{player} Login/register/welcome messages, admin replies, kick screens
{time} Cooldowns, lockouts, kick timers
{attempts} Remaining login or captcha attempts
{captcha} The captcha code
{min} / {max} Password length errors
{count} Admin statistics and purge results
{value} Rows of /slimeadmin info
{version} Update notice
{error} Import failure reason
{imported} {skipped} {reset} {table} Import result
{server} Auth server messages

Only the placeholders a message actually supports are replaced — putting {captcha} into login-success does nothing.

The groups#

General
prefix: "&8[&6Slime&8] &7"
no-permission: "&cYou don't have permission to do that."
player-only: "&cThis command can only be used by players."
error: "&cAn error occurred. Please try again later."
Registration
register-prompt: "&eYou are not registered. Type &6/register <password> <confirm> &eto create an account."
register-success: "&aYour account has been created successfully! You are now logged in."
register-password-no-match: "&cThe passwords do not match. Please try again."
register-password-too-short: "&cPassword must be at least &6{min} &ccharacters long."
register-password-too-long: "&cPassword cannot be longer than &6{max} &ccharacters."
register-already-registered: "&cYou are already registered. Type &6/login <password> &cinstead."
register-ip-limit: "&cToo many accounts registered from your IP address."
register-cooldown: "&cPlease wait &6{time} seconds &cbefore registering."
Login
login-prompt: "&eYou are not logged in. Type &6/login <password>&c to authenticate."
login-success: "&aYou have been logged in successfully! Welcome back, &6{player}&a!"
login-wrong-password: "&cWrong password! You have &6{attempts} &cattempts remaining."
login-account-locked: "&cYour account is locked for &6{time} seconds &cdue to too many failed attempts."
login-not-registered: "&cYou are not registered. Type &6/register <password> <confirm> &cinstead."
login-already-logged-in: "&cYou are already logged in!"
login-session-restored: "&aSession restored! Welcome back, &6{player}&a."
login-ip-restored: "&aIP recognized! Welcome back, &6{player}&a."
login-cooldown: "&cPlease wait &6{time} second(s) &cbefore trying again."
Premium
premium-welcome-title: "&6Welcome, &e{player}"
premium-welcome-subtitle: "&aVerified as premium player. You are logged in."
premium-cmd-unavailable: "&cPremium auto-login is not available on this server."
premium-cmd-auto-mode: "&ePremium detection is automatic here - you don't need this command."
premium-cmd-not-logged-in: "&cYou must log in first before using /premium."
premium-cmd-checking: "&7Checking your account with Mojang, please wait..."
premium-cmd-not-premium-name: "&cYour username is not a paid Minecraft account, so premium auto-login can't be enabled."
premium-cmd-already: "&ePremium auto-login is already enabled for your account."
premium-cmd-enabled: "&aPremium auto-login enabled! Reconnect using your original (Microsoft) Minecraft launcher to be verified."
premium-cmd-disabled-ok: "&aPremium auto-login disabled. You'll use normal login from now on."
Kick screens
kick-not-logged-in: "&cYou have been kicked for not logging in within {time} seconds."
kick-not-registered: "&cYou have been kicked for not registering within {time} seconds."
kick-lockout: "&cToo many failed login attempts.\n&7Try again in &6{time} seconds&7."
kick-license-invalid: "&cThis server's Slime Login license is not active.\n..."
kick-storage-error: "&cCould not load your account data.\n&7Please try again in a moment."
kick-duplicate-name: "&cA player named &6{player} &cis already online. Please choose a different name."
kick-premium-name: "&cThe name &6{player} &cbelongs to an original Minecraft account.\n&7Log in with the official launcher, or pick a different name."
kick-no-auth-server: "&cThe login server is not available right now.\n&7Please try again in a moment."
Proxy and bridge
server-switch-blocked: "&cYou have to log in before you can join another server."
bridge-locked: "&eYou have to authenticate before you can do that."

bridge-locked is what a bridge server says instead of "you are not registered" — that side does not know whether the account exists, so it must not claim either way.

Admin
admin-reload: "&aConfiguration and messages reloaded."
admin-changepass-success: "&aPassword for &6{player} &ahas been changed."
admin-unregister-success: "&aAccount for &6{player} &ahas been unregistered."
admin-forcelogin-success: "&aPlayer &6{player} &ahas been force logged in."
admin-info-header: "&6=== Player Info: {player} ==="
admin-purge-success: "&aPurge complete. Removed &6{count} &ainactive accounts."
admin-stats-registered: "&7Registered Players: &e{count}"
admin-import-done: "&aImport complete: &6{imported} &aaccount(s) added, &6{skipped} &aalready existed. &7(table: {table})"

Upgrading#

New releases add new keys. Your file is never overwritten — any key you are missing simply falls back to the new default, so you can keep your edited file forever and only add the keys you want to customise.

Translating#

Copy messages.yml, translate the values, keep the keys and placeholders exactly as they are. UTF-8 is supported, so Arabic, Russian and Chinese all work:

login-prompt: "&eلم تقم بتسجيل الدخول. اكتب &6/login <كلمة السر>"
login-success: "&aتم تسجيل دخولك بنجاح! أهلاً بعودتك &6{player}&a!"