Switched to using minimessage (mostly)
This commit is contained in:
@@ -2,7 +2,6 @@ package com.alttd.chat.config;
|
||||
|
||||
import com.alttd.chat.objects.channels.CustomChannel;
|
||||
import com.alttd.chat.util.Utility;
|
||||
import com.google.common.base.Throwables;
|
||||
import com.google.common.collect.Lists;
|
||||
import io.leangen.geantyref.TypeToken;
|
||||
import net.kyori.adventure.text.Component;
|
||||
@@ -482,29 +481,29 @@ public final class Config {
|
||||
}
|
||||
|
||||
// nicknames TODO minimessage for colors and placeholders
|
||||
public static String NICK_CHANGED = "&eYour nickname was changed to %nickname%&e.";
|
||||
public static String NICK_NOT_CHANGED = "&eYour nickname request was denied.";
|
||||
public static String NICK_RESET = "&eNickname changed back to normal.";
|
||||
public static String NICK_CHANGED_OTHERS = "&6%targetplayer%&e's nickname was changed to %nickname%&e.";
|
||||
public static String NICK_TARGET_NICK_CHANGE = "&eYour nickname was changed to %nickname% &eby %sendernick%&e";
|
||||
public static String NICK_RESET_OTHERS = "&6%player%&6's &enickname was reset back to normal.";
|
||||
public static String NICK_INVALID_CHARACTERS = "&eYou can only use letters and numbers in nicknames.";
|
||||
public static String NICK_INVALID_LENGTH = "&eNicknames need to be between 3 to 16 characters long.";
|
||||
public static String NICK_PLAYER_NOT_ONLINE = "&cThat player is not online.";
|
||||
public static String NICK_BLOCKED_COLOR_CODES = "&eYou have blocked color codes in that nickname.";
|
||||
public static String NICK_USER_NOT_FOUND = "&cFailed to set nickname from player, try again from a server this player has been on before.";
|
||||
public static String NICK_ACCEPTED = "&aYou accepted %targetPlayer%&a's nickname. They are now called %newNick%&a.";
|
||||
public static String NICK_DENIED = "&aYou denied %targetPlayer%&a's nickname. They are still called %oldNick%&a.";
|
||||
public static String NICK_ALREADY_HANDLED = "&c%targetPlayer%&c's nickname was already accepted or denied.";
|
||||
public static String NICK_NO_LUCKPERMS = "&cDue to an issue with LuckPerms /nick try won't work at the moment.";
|
||||
public static String NICK_TOO_SOON = "&cPlease wait %time%&c until requesting a new nickname";
|
||||
public static String NICK_REQUEST_PLACED = "&aReplaced your previous request %oldRequestedNick%&a with %newRequestedNick%&a.";
|
||||
public static String NICK_REQUEST_NEW = "&aNew nickname request by %player%&a!";
|
||||
public static String NICK_TRYOUT = "&f%prefix&f %nick%&7: &fHi, this is what my new nickname could look like!";
|
||||
public static String NICK_REQUESTED = "&aYour requested to be nicknamed %nick%&a has been received. Staff will accept or deny this request asap!";
|
||||
public static String NICK_REVIEW_WAITING = "&aThere are %amount% nicknames waiting for review!";
|
||||
public static String NICK_TAKEN = "&cSomeone else already has this nickname, or has this name as their username.";
|
||||
public static String NICK_REQUESTS_ON_LOGIN = "&aCurrent nick requests: %amount%";
|
||||
public static String NICK_CHANGED = "<yellow>Your nickname was changed to <nickname><yellow>.";
|
||||
public static String NICK_NOT_CHANGED = "<yellow>Your nickname request was denied.";
|
||||
public static String NICK_RESET = "<yellow>Nickname changed back to normal.";
|
||||
public static String NICK_CHANGED_OTHERS = "<gold><targetplayer><yellow>'s nickname was changed to <nickname><yellow>.";
|
||||
public static String NICK_TARGET_NICK_CHANGE = "<yellow>Your nickname was changed to <nickname> <yellow>by <sendernick><yellow>";
|
||||
public static String NICK_RESET_OTHERS = "<gold><player><gold>'s <yellow>nickname was reset back to normal.";
|
||||
public static String NICK_INVALID_CHARACTERS = "<yellow>You can only use letters and numbers in nicknames.";
|
||||
public static String NICK_INVALID_LENGTH = "<yellow>Nicknames need to be between 3 to 16 characters long.";
|
||||
public static String NICK_PLAYER_NOT_ONLINE = "<red>That player is not online.";
|
||||
public static String NICK_BLOCKED_COLOR_CODES = "<yellow>You have blocked color codes in that nickname.";
|
||||
public static String NICK_USER_NOT_FOUND = "<red>Failed to set nickname from player, try again from a server this player has been on before.";
|
||||
public static String NICK_ACCEPTED = "<green>You accepted <targetPlayer><green>'s nickname. They are now called <newNick><green>.";
|
||||
public static String NICK_DENIED = "<green>You denied <targetPlayer><green>'s nickname. They are still called <oldNick><green>.";
|
||||
public static String NICK_ALREADY_HANDLED = "<red><targetPlayer><red>'s nickname was already accepted or denied.";
|
||||
public static String NICK_NO_LUCKPERMS = "<red>Due to an issue with LuckPerms /nick try won't work at the moment.";
|
||||
public static String NICK_TOO_SOON = "<red>Please wait <time><red> until requesting a new nickname";
|
||||
public static String NICK_REQUEST_PLACED = "<green>Replaced your previous request <oldRequestedNick><green> with <newRequestedNick<green>.";
|
||||
public static String NICK_REQUEST_NEW = "<green>New nickname request by <player><green>!";
|
||||
public static String NICK_TRYOUT = "<white><prefix><white> <nick><gray>: <white>Hi, this is what my new nickname could look like!";
|
||||
public static String NICK_REQUESTED = "<green>Your requested to be nicknamed <nick><green> has been received. Staff will accept or deny this request asap!";
|
||||
public static String NICK_REVIEW_WAITING = "<green>There are <amount> nicknames waiting for review!";
|
||||
public static String NICK_TAKEN = "<red>Someone else already has this nickname, or has this name as their username.";
|
||||
public static String NICK_REQUESTS_ON_LOGIN = "<green>Current nick requests: <amount>";
|
||||
public static long NICK_WAIT_TIME = 86400000;
|
||||
public static List<String> NICK_ITEM_LORE = new ArrayList<>();
|
||||
public static List<String> NICK_BLOCKED_COLOR_CODESLIST = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user