Skip to content

Commit 60215cd

Browse files
committed
Remove outdated config description
Sync from Winds-Studio/Leaf@5baa6c1
1 parent 16f9c5b commit 60215cd

3 files changed

Lines changed: 9 additions & 88 deletions

File tree

pages/de/docs/config/data/leaf-global-latest.ts

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -595,16 +595,9 @@ const config: ConfigRoot = {
595595
}
596596
},
597597

598-
fixes: {
599-
__desc__: "Dieser Abschnitt enthält Bugfixes für spezifische Probleme.",
600-
"dont-place-player-if-server-full": {
601-
default: false,
602-
desc: `Ob Spielern der Beitritt verweigert werden soll, wenn der Server voll ist (definiert als \`max-players\` in \`server.properties\`).<br>
603-
Diese Option behebt [Paper#10668](https://github.com/PaperMC/Paper/issues/10668).<br>
604-
<br>
605-
Wenn auf \`true\` gesetzt, solltest du Spielern die Berechtigung \`purpur.joinfullserver\` geben, anstatt die \`PlayerLoginEvent#allow\` API zu verwenden, um Spielern das Umgehen des Limits zu erlauben.`
606-
}
607-
},
598+
// fixes: {
599+
// __desc__: "Dieser Abschnitt enthält Bugfixes für spezifische Probleme.",
600+
// },
608601

609602
"gameplay-mechanisms": {
610603
__desc__: "Dieser Abschnitt enthält Funktionen, die die Spielmechanik modifizieren oder verbessern.",
@@ -923,25 +916,6 @@ const config: ConfigRoot = {
923916

924917
misc: {
925918
__desc__: "Dieser Abschnitt enthält einige sonstige Funktionen.",
926-
cache: {
927-
"profile-lookup": {
928-
enabled: {
929-
default: false,
930-
desc: `Ob Profil-Datenabfragen (Skins, Texturen usw.) zwischengespeichert (gecached) werden sollen, um API-Aufrufe an Mojang zu reduzieren.<br>
931-
Dies ermöglicht es Spielern, dem Server unter Verwendung gecachter Daten wieder beizutreten, selbst wenn der Mojang-Authentifizierungsserver vorübergehend nicht verfügbar ist.`
932-
},
933-
timeout: {
934-
default: 1440,
935-
desc: `Der Timeout des Profil-Daten-Caches.<br>
936-
Sobald gecachte Profildaten nach dem Timeout ablaufen, wird der Cache ungültig, und der Server ruft das Profil erneut vom Mojang-Server ab, um sicherzustellen, dass die Profildaten aktualisiert sind.<br>
937-
(Einheit: Minute, Standardwert 1440 Minuten = 24 Stunden)`
938-
},
939-
"max-size": {
940-
default: 8192,
941-
desc: "Die maximale Anzahl an Profilen, die gecached werden sollen."
942-
}
943-
}
944-
},
945919
"connection-message": {
946920
__desc__: `Die Verbindungsnachricht wird an alle Online-Spieler gesendet, wenn sie dem Server beitreten oder ihn verlassen.<br>
947921
Die Nachricht muss das [MiniMessage](https://docs.papermc.io/adventure/minimessage/format/)-Format verwenden.<br>

pages/docs/config/data/leaf-global-latest.ts

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -612,16 +612,9 @@ const config: ConfigRoot = {
612612
}
613613
},
614614

615-
fixes: {
616-
__desc__: "This section contains bug fixes for specific issues.",
617-
"dont-place-player-if-server-full": {
618-
default: false,
619-
desc: `Whether to disallow players from joining if the server is full (defined as \`max-players\` in \`server.properties\`).<br>
620-
This option fixed [Paper#10668](https://github.com/PaperMC/Paper/issues/10668).<br>
621-
<br>
622-
If set to \`true\`, you should grant player \`purpur.joinfullserver\` permission rather than using \`PlayerLoginEvent#allow\` API to allow players to bypass the limit.`
623-
}
624-
},
615+
// fixes: {
616+
// __desc__: "This section contains bug fixes for specific issues.",
617+
// },
625618

626619
"gameplay-mechanisms": {
627620
__desc__: "This section contains the features that modify or improve the game mechanics.",
@@ -953,25 +946,6 @@ const config: ConfigRoot = {
953946

954947
misc: {
955948
__desc__: "This section contains some miscellaneous features.",
956-
cache: {
957-
"profile-lookup": {
958-
enabled: {
959-
default: false,
960-
desc: `Whether to cache profile data lookups (skins, textures, etc.) to reduce API calls to Mojang.<br>
961-
This allows players to rejoin the server using cached data even if Mojang's authentication server is temporarily unavailable.`
962-
},
963-
timeout: {
964-
default: 1440,
965-
desc: `The timeout of the profile lookup cache.<br>
966-
Once a cached profile data expires after the timeout, the cache of it becomes invalid, and the server will re-fetch the profile from the Mojang server to ensure the profile data is updated.<br>
967-
(Unit: minute, default value 1440 minutes = 24 hours)`
968-
},
969-
"max-size": {
970-
default: 8192,
971-
desc: "The maximum number of profiles to cache."
972-
}
973-
}
974-
},
975949
"connection-message": {
976950
__desc__: `The connection message broadcasts to all online players when they join or quit the server.<br>
977951
The message needs to use the [MiniMessage](https://docs.papermc.io/adventure/minimessage/format/) format.<br>

pages/zh/docs/config/data/leaf-global-latest.ts

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -617,16 +617,9 @@ const config: ConfigRoot = {
617617
}
618618
},
619619

620-
fixes: {
621-
__desc__: "本节包含对特定问题的修复。",
622-
"dont-place-player-if-server-full": {
623-
default: false,
624-
desc: `是否在服务器已满时禁止玩家加入(“已满”由 \`server.properties\` 中的 \`max-players\` 定义)。<br>
625-
此配置项修复了 [Paper#10668](https://github.com/PaperMC/Paper/issues/10668)。<br>
626-
<br>
627-
如果设为 \`true\`,应给予玩家 \`purpur.joinfullserver\` 权限,以允许玩家绕过人数上限,而不是使用 \`PlayerLoginEvent#allow\` API 来放行玩家。`
628-
}
629-
},
620+
// fixes: {
621+
// __desc__: "本节包含对特定问题的修复。",
622+
// },
630623

631624
"gameplay-mechanisms": {
632625
__desc__: "本节包含修改或改进游戏机制的相关功能。",
@@ -958,26 +951,6 @@ const config: ConfigRoot = {
958951

959952
misc: {
960953
__desc__: "本节包含一些杂项功能。",
961-
cache: {
962-
"profile-lookup": {
963-
enabled: {
964-
default: false,
965-
desc: `是否在玩家加入服务器时缓存其 Profile 数据(例如 UUID、用户名、皮肤 / 披风材质)。<br>
966-
这可以减少对 Mojang 认证服务器的网络请求,同时在认证服务器宕机时,玩家仍可以凭借缓存的 Profile 数据重新加入服务器。`
967-
},
968-
timeout: {
969-
default: 1440,
970-
desc: `玩家 Profile 数据缓存的有效时间。<br>
971-
(单位:分钟,默认值 1440 分钟 = 24 小时)<br>
972-
超过该时间后,玩家下次加入服务器时将重新向 Mojang 认证服务器请求 Profile 数据。`
973-
},
974-
"max-size": {
975-
default: 8192,
976-
desc: `允许缓存的最大玩家 Profile 数据数量。<br>
977-
较高的值会占用略多的内存。`
978-
}
979-
}
980-
},
981954
"connection-message": {
982955
__desc__: `玩家连接提示,当玩家加入或离开服务器时广播发送给所有在线玩家。<br>
983956
该消息需要使用 [MiniMessage](https://docs.papermc.io/adventure/minimessage/format/) 格式。<br>

0 commit comments

Comments
 (0)