Skip to content

Commit

Permalink
Correct adk command cooldown msg color
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreeam-qwq committed Mar 4, 2024
1 parent 04ae20f commit 6f92ad2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/server/0072-Improve-Purpur-AFK-system.patch
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ index 42885c7f374f619fe63d9fe22a4b7f88d68008c3..08407b2eaacb581085f6c22820304fd1
this.disconnect(Component.translatable("multiplayer.disconnect.illegal_characters"), org.bukkit.event.player.PlayerKickEvent.Cause.ILLEGAL_CHARACTERS); // Paper
} else {
diff --git a/src/main/java/org/purpurmc/purpur/PurpurConfig.java b/src/main/java/org/purpurmc/purpur/PurpurConfig.java
index e45c11bf2c42e6d57f803349d8ca6936ac98c995..9536b0c27f5422161d6bd9fa6916735fa31602f0 100644
index e45c11bf2c42e6d57f803349d8ca6936ac98c995..8c670fcb3729c440096f78d469d1ca32a9496c78 100644
--- a/src/main/java/org/purpurmc/purpur/PurpurConfig.java
+++ b/src/main/java/org/purpurmc/purpur/PurpurConfig.java
@@ -176,9 +176,14 @@ public class PurpurConfig {
Expand All @@ -100,7 +100,7 @@ index e45c11bf2c42e6d57f803349d8ca6936ac98c995..9536b0c27f5422161d6bd9fa6916735f
public static String afkTabListPrefix = "[AFK] ";
- public static String afkTabListSuffix = "";
+ public static String afkTabListCustomName = "%player_name% <red><bold>[AFK]<reset>";
+ public static String afkTabListSuffix = "You need to wait %time%s to use /afk.";
+ public static String afkTabListSuffix = "<gray>You need to wait %time%s to use /afk.";
+ public static long afkCommandCooldown = 3;
+ public static String afkCooldown = "";
public static String creditsCommandOutput = "<green>%s has been shown the end credits";
Expand Down

0 comments on commit 6f92ad2

Please sign in to comment.