mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-18 08:57:44 +01:00
Move afk strings to lang file
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 9397614a1e6f58c962d2801df4508c716a18d236 Mon Sep 17 00:00:00 2001
|
||||
From 4b95ede84347d283f15d371f641d8ccea4c0fbe5 Mon Sep 17 00:00:00 2001
|
||||
From: William Blake Galbreath <Blake.Galbreath@GMail.com>
|
||||
Date: Fri, 13 Mar 2020 22:23:44 -0500
|
||||
Subject: [PATCH] Add /mspt command
|
||||
@@ -6,8 +6,8 @@ Subject: [PATCH] Add /mspt command
|
||||
---
|
||||
.../minecraft/server/CommandDispatcher.java | 1 +
|
||||
.../net/pl3x/purpur/command/MSPTCommand.java | 59 +++++++++++++++++++
|
||||
src/main/resources/purpur.lang | 5 +-
|
||||
3 files changed, 64 insertions(+), 1 deletion(-)
|
||||
src/main/resources/purpur.lang | 2 +
|
||||
3 files changed, 62 insertions(+)
|
||||
create mode 100644 src/main/java/net/pl3x/purpur/command/MSPTCommand.java
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/CommandDispatcher.java b/src/main/java/net/minecraft/server/CommandDispatcher.java
|
||||
@@ -88,15 +88,16 @@ index 0000000000..e3b75f9c41
|
||||
+ }
|
||||
+}
|
||||
diff --git a/src/main/resources/purpur.lang b/src/main/resources/purpur.lang
|
||||
index 0967ef424b..5394225094 100644
|
||||
index f4694dbcce..151ea90928 100644
|
||||
--- a/src/main/resources/purpur.lang
|
||||
+++ b/src/main/resources/purpur.lang
|
||||
@@ -1 +1,4 @@
|
||||
-{}
|
||||
+{
|
||||
@@ -1,4 +1,6 @@
|
||||
{
|
||||
+ "commands.purpur.mspt": "§6Server tick times §e(§7avg§e/§7min§e/§7max§e)§6 from last 5s§7,§6 10s§7,§6 1m§e:",
|
||||
+ "commands.purpur.mspt.times": "§6◴ %s§7/%s§7/%s§e, %s§7/%s§7/%s§e, %s§7/%s§7/%s"
|
||||
+}
|
||||
+ "commands.purpur.mspt.times": "§6◴ %s§7/%s§7/%s§e, %s§7/%s§7/%s§e, %s§7/%s§7/%s",
|
||||
"idle.timeout.broadcast.away": "§e§o%s is now AFK",
|
||||
"idle.timeout.broadcast.back": "§e§o%s is no longer AFK"
|
||||
}
|
||||
--
|
||||
2.24.0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user