1
mirror of https://github.com/CarmJos/UserPrefix.git synced 2026-06-04 15:28:21 +08:00

feat: 新增prefix内容轮换。

This commit is contained in:
2025-08-03 08:03:50 +08:00
parent 5809659155
commit e1bedba01b
3 changed files with 19 additions and 0 deletions
+1
View File
@@ -40,6 +40,7 @@ README LANGUAGES [ [**中文**](README.md) | [English](README-en.md) ]
- TabList自动按照前缀的权重排序 (如有冲突可关掉) - TabList自动按照前缀的权重排序 (如有冲突可关掉)
- 玩家头顶前缀显示 (如有冲突可关掉) - 玩家头顶前缀显示 (如有冲突可关掉)
- 简单的聊天变量修改功能!(不推荐使用) `[自 v2.1.0 版本起]` - 简单的聊天变量修改功能!(不推荐使用) `[自 v2.1.0 版本起]`
- 支持动态前缀内容轮换!`[自 v3.3.0 版本起]`
- 自动排序,且可翻页的GUI - 自动排序,且可翻页的GUI
- 支持PlaceholderAPI变量!(凡支持的都可以使用,如BungeeTabListPlus) - 支持PlaceholderAPI变量!(凡支持的都可以使用,如BungeeTabListPlus)
- 支持[Hex颜色](https://www.hexcolortool.com/)(1.16以上版本) `[自 v1.2.3 版本起]` - 支持[Hex颜色](https://www.hexcolortool.com/)(1.16以上版本) `[自 v1.2.3 版本起]`
@@ -8,8 +8,16 @@ name: "&b&lPro&b"
# Content [Necessary] # Content [Necessary]
# Use in Placeholders # Use in Placeholders
# Supports multiple lines for content rotation.
content: "&b&lPro &b" 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] # Weight [Necessary]
# used for sorting in the GUI and TabList # used for sorting in the GUI and TabList
# In GUI : the larger is displayed at the back # In GUI : the larger is displayed at the back
@@ -5,8 +5,18 @@ name: "&b&lPro&b"
# Contenido [Necesario] # Contenido [Necesario]
# Uso en Placeholders # Uso en Placeholders
# Soporta múltiples líneas para la rotación de contenido.
content: "&b&lPro &b" 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] # Weight [Necesario]
# utilizado para ordenar en la GUI y TabList # utilizado para ordenar en la GUI y TabList
# En GUI : el más grande se muestra en la parte posterior # En GUI : el más grande se muestra en la parte posterior