From e1bedba01bb19fca09746abb899f3b8ead54b7e1 Mon Sep 17 00:00:00 2001 From: Carm Date: Sun, 3 Aug 2025 08:03:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9Eprefix=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E8=BD=AE=E6=8D=A2=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + src/main/resources/i18n/en_US/example-prefix.yml | 8 ++++++++ src/main/resources/i18n/es_ES/ejemplo-prefijo.yml | 10 ++++++++++ 3 files changed, 19 insertions(+) diff --git a/README.md b/README.md index 602e4ca..2084d7f 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ README LANGUAGES [ [**中文**](README.md) | [English](README-en.md) ] - TabList自动按照前缀的权重排序 (如有冲突可关掉) - 玩家头顶前缀显示 (如有冲突可关掉) - 简单的聊天变量修改功能!(不推荐使用) `[自 v2.1.0 版本起]` +- 支持动态前缀内容轮换!`[自 v3.3.0 版本起]` - 自动排序,且可翻页的GUI! - 支持PlaceholderAPI变量!(凡支持的都可以使用,如BungeeTabListPlus) - 支持[Hex颜色](https://www.hexcolortool.com/)!(1.16以上版本) `[自 v1.2.3 版本起]` diff --git a/src/main/resources/i18n/en_US/example-prefix.yml b/src/main/resources/i18n/en_US/example-prefix.yml index 747eccd..09718f2 100644 --- a/src/main/resources/i18n/en_US/example-prefix.yml +++ b/src/main/resources/i18n/en_US/example-prefix.yml @@ -8,8 +8,16 @@ name: "&b&lPro&b" # Content [Necessary] # Use in Placeholders +# Supports multiple lines for content rotation. content: "&b&lPro &b" +# Period [Unnecessary] +# Set the rotation period of the prefix content, in milliseconds. +# If set to -1, it will not rotate. +# If set to 0, it will randomly select a line each time the prefix is fetched +# If set to a value greater than 0, it will rotate the content every specified milliseconds. +period: -1 + # Weight [Necessary] # used for sorting in the GUI and TabList # In GUI : the larger is displayed at the back diff --git a/src/main/resources/i18n/es_ES/ejemplo-prefijo.yml b/src/main/resources/i18n/es_ES/ejemplo-prefijo.yml index c1f0e2c..179b583 100644 --- a/src/main/resources/i18n/es_ES/ejemplo-prefijo.yml +++ b/src/main/resources/i18n/es_ES/ejemplo-prefijo.yml @@ -5,8 +5,18 @@ name: "&b&lPro&b" # Contenido [Necesario] # Uso en Placeholders +# Soporta múltiples líneas para la rotación de contenido. content: "&b&lPro &b" +# Periodo [Innecesario] +# Establece el periodo de rotación del contenido del prefijo, en milisegundos. +# Si se establece en -1, no rotará. +# Si se establece en 0, seleccionará aleatoriamente una línea cada vez que se +# obtenga el prefijo. +# Si se establece en un valor mayor que 0, rotará el contenido cada los mil +# segundos especificados. +period: -1 + # Weight [Necesario] # utilizado para ordenar en la GUI y TabList # En GUI : el más grande se muestra en la parte posterior