Skip to content

Commit 07f9eab

Browse files
committed
Switch to minimessage messages as new default
1 parent 04d1365 commit 07f9eab

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

deepslateMC-server/src/main/java/de/pascalpex/deepslatemc/files/ConfigEntry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ enum ConfigEntry {
3333
ACTIONBAR_ENABLED("actionbar" + ".enabled", false),
3434
MINIMESSAGE_MOTD("miniMessageMotdSupport", false),
3535
ACTIONBAR_TEXT("actionbar" + ".text", "&6Custom Actionbar"),
36-
MINIMESSAGE_MESSAGES("miniMessageMessages", false),
36+
MINIMESSAGE_MESSAGES("miniMessageMessages", true),
3737
SPECTATOR_MODE_PACKETS("sendSpectatorModePackets", true),
3838
SERVER_LINKS("serverLinks", ""),
3939
ENABLE_TABLIST("enableTablist", true);

deepslateMC-server/src/main/java/de/pascalpex/deepslatemc/files/MessagesEntry.java

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
import java.util.List;
44

55
public enum MessagesEntry {
6-
PREFIX("prefix", "&0[&8DeepslateMC&0]"),
7-
WRONG_SYNTAX("wrongSyntax", "&cWrong usage, use: &b%usage%"),
8-
CONFIG_RELOADED("configReloaded", "&aConfig got reloaded successfully"),
9-
ONLY_FOR_PLAYERS("onlyForPlayers", "&cThis command can only be used by players"),
10-
DISCORD_MESSAGE("discordMessage", "&6The link to our Discord server: &b%link%"),
11-
NO_PERMISSIONS("noPermissions", "&cYou have no permission to do this"),
12-
CLEARED_CHAT("clearedChat", "&6The chat got cleared by &b%clearer%"),
13-
BUILDWORLD_SET("buildworldSet", "&aThe buildworld got set successfully"),
14-
BUILDWORLD_WELCOME("buildworldWelcome", "&aWelcome to the buildworld"),
15-
BUILDWORLD_NOT_SET("buildworldNotSet", "&cThe buildworld is not set"),
16-
MAINTENANCE_KICK("maintenanceKick", "&cThe server is currently in maintenance mode"),
17-
MAINTENANCE_ON("maintenanceOn", "&aYou turned on the maintenance mode"),
18-
MAINTENANCE_OFF("maintenanceOff", "&aYou turned off the maintenance mode"),
19-
HELP_MESSAGE("helpMessage", List.of("&6This is a custom help message.", "&6Configure it in the &bmessages.yml &6file inside the deepslate folder.")),
20-
SPAWN_SET("spawnSet", "&aThe spawn got set successfully"),
21-
SPAWN_NOT_SET("spawnNotSet", "&cThe spawn is not set"),
22-
SPAWN_TELEPORTED("spawnTeleport", "&aYou got teleported to the spawn"),
23-
NO_ITEM("noItem", "&cNo valid item was found"),
24-
ITEM_UNBREAKABLE("itemUnbreakable", "&aThe item is now unbreakable"),;
6+
PREFIX("prefix", "<color:#222222>[<gradient:white:dark_gray>DeepslateMC<color:#222222>]"),
7+
WRONG_SYNTAX("wrongSyntax", "<red>Wrong usage, use: <aqua>%usage%"),
8+
CONFIG_RELOADED("configReloaded", "<green>Config got reloaded successfully"),
9+
ONLY_FOR_PLAYERS("onlyForPlayers", "<red>This command can only be used by players"),
10+
DISCORD_MESSAGE("discordMessage", "<gold>The link to our Discord server: <aqua>%link%"),
11+
NO_PERMISSIONS("noPermissions", "<red>You have no permission to do this"),
12+
CLEARED_CHAT("clearedChat", "<gold>The chat got cleared by <aqua>%clearer%"),
13+
BUILDWORLD_SET("buildworldSet", "<green>The buildworld got set successfully"),
14+
BUILDWORLD_WELCOME("buildworldWelcome", "<green>Welcome to the buildworld"),
15+
BUILDWORLD_NOT_SET("buildworldNotSet", "<red>The buildworld is not set"),
16+
MAINTENANCE_KICK("maintenanceKick", "<red>The server is currently in maintenance mode"),
17+
MAINTENANCE_ON("maintenanceOn", "<green>You turned on the maintenance mode"),
18+
MAINTENANCE_OFF("maintenanceOff", "<green>You turned off the maintenance mode"),
19+
HELP_MESSAGE("helpMessage", List.of("<gold>This is a custom help message.", "<gold>Configure it in the <aqua>messages.yml <gold>file inside the deepslate folder.")),
20+
SPAWN_SET("spawnSet", "<green>The spawn got set successfully"),
21+
SPAWN_NOT_SET("spawnNotSet", "<red>The spawn is not set"),
22+
SPAWN_TELEPORTED("spawnTeleport", "<green>You got teleported to the spawn"),
23+
NO_ITEM("noItem", "<red>No valid item was found"),
24+
ITEM_UNBREAKABLE("itemUnbreakable", "<green>The item is now unbreakable"),;
2525

2626
final String key;
2727
final Object defaultValue;

0 commit comments

Comments
 (0)