功能
- 包含 3 页的菜单:收藏、基础颜色和自定义颜色;一个显示你当前颜色的方框
- 收藏(右键点击)和隐藏颜色(Shift+点击,仅对该玩家生效)
- 每个颜色对应一个权限,或者使用通配符
glow.color.basic.*、glow.color.custom.* 和 glow.color.*
- 彩虹色和完全自定义的动画颜色(按选定速度、顺序或随机循环多种颜色)
glows/ 文件夹中每个发光效果独占一个文件:通过复制文件即可创建你自己的效果
- MiniMessage 无处不在:名称、菜单、消息(支持渐变、十六进制颜色、可点击链接、悬停文本);旧的
&c 代码仍然可用
- 两个可配置命令:玩家命令 (
/glow) 和管理员命令 (/nyxglow),名称和别名在 config.yml 中设置
- 更新检查器 (Modrinth):当有新版本发布时,控制台和你的管理员会收到通知,但不会下载任何内容
- 可选的玩家头颅作为菜单中的发光效果图标
- 更改之间的冷却时间(默认 3 秒,可配置)
- 限制条件:按世界(黑名单/白名单)、按游戏模式(默认创造/旁观者)以及按 WorldGuard 区域进行限制,并提供绕过权限
- 可选的商店,用于用货币购买颜色(Vault)
- 玩家权限按功能拆分(
glow.use.menu、glow.use.toggle、glow.use.shop 等)
- 管理员可以强制为玩家设置颜色
- 完全可配置的菜单:标题、行数(1-6)、槽位、材质、描述、音效、填充物、开关按钮
- 选择的发光效果会在重新连接后保留记忆
- 配置文件在不同版本间自动更新(包含
config-version,并备份旧文件)
安装
将 NyxGlow-<version>.jar 放入 plugins/ 目录并重启服务器。所有服务器只需一个 jar 包(Spigot、Paper、Purpur 及其分支):MiniMessage 已打包在 jar 内,因此无需额外安装。
兼容性
|
|
| 服务端 |
Paper, Spigot, Bukkit (CraftBukkit), Purpur |
| Minecraft |
1.21.x 和 26.x |
| Java |
21 或更高版本 |
PlaceholderAPI、WorldGuard 和 Vault 为可选依赖。
命令
命令名称及其别名均可在 config.yml > commands 中更改(下次启动服务器时生效)。下表使用默认名称。如果其他插件已占用该名称,NyxGlow 会记录警告,且该命令仍可作为 /nyxglow:<name> 使用。
颜色需从菜单中选择:没有 /glow <color> 这种直接指定颜色的命令。
玩家命令: /glow
| 命令 |
描述 |
权限 |
/glow |
打开菜单 |
glow.use.menu |
/glow on |
再次启用你上次使用的颜色 |
glow.use.toggle |
/glow off |
禁用你的发光效果 |
glow.use.toggle |
/glow toggle |
切换发光效果的开启或关闭状态 |
glow.use.toggle |
/glow list |
列出你可用的颜色 |
glow.use.list |
/glow shop |
打开商店(如果在 shop.yml 中启用) |
glow.use.shop |
管理员命令: /nyxglow (别名 /nglow)
| 命令 |
描述 |
权限 |
/nyxglow reload |
重载 config.yml, messages.yml, gui.yml, shop.yml 以及所有发光效果 |
glow.admin.reload |
/nyxglow set <player> <color|off> |
强制为玩家设置颜色(或关闭);忽略权限、冷却时间和限制条件 |
glow.admin.forceplayer |
/nyxglow update |
立即检查 Modrinth 是否有新版本 |
glow.admin.update |
/nyxglow info |
版本、服务端、文本后端、Java 版本、已加载的发光效果及检测到的插件信息 |
glow.admin.info |
从 1.1.x 升级: /glow reload 和 /glow set 已移至 /nyxglow reload 和 /nyxglow set。
权限
玩家(默认授予所有人)
| 权限 |
描述 |
glow.use.* |
以下所有玩家权限 |
glow.use.menu |
使用 /glow 打开菜单并从中选择颜色 |
glow.use.toggle |
使用 /glow on、/glow off、/glow toggle |
glow.use.list |
使用 /glow list |
glow.use.shop |
使用 /glow shop |
glow.use.favorites |
收藏(右键点击)及收藏页面 |
glow.use.hide |
在自己的菜单中隐藏颜色(Shift+点击) |
颜色(默认无人拥有,通配符由 op 拥有)
| 权限 |
描述 |
glow.color.basic.<id> |
单个基础颜色,例如 glow.color.basic.red 或 glow.color.basic.rainbow |
glow.color.custom.<id> |
单个自定义颜色,例如 glow.color.custom.ocean |
glow.color.basic.* |
所有基础颜色 |
glow.color.custom.* |
所有自定义颜色(包括你自己创建的) |
glow.color.* |
所有颜色 |
服务器启动时(以及在执行 /nyxglow reload 时),config.yml 中的每种颜色都会注册为一个权限节点,因此像 LuckPerms 这样的权限插件可以建议这些权限,包括你创建的颜色。颜色的类别(basic 或 custom)在 config.yml 中设置,并且可以使用 permission: 替换默认节点。
管理员(默认 op 拥有)
| 权限 |
描述 |
glow.admin.* |
以下所有管理员权限 |
glow.admin.reload |
使用 /nyxglow reload |
glow.admin.forceplayer |
使用 /nyxglow set |
glow.admin.update |
使用 /nyxglow update,以及加入服务器时的“新版本”提示 |
glow.admin.info |
使用 /nyxglow info |
绕过(默认 op 拥有,除了游戏模式相关的)
| 权限 |
描述 |
glow.bypass.* |
忽略冷却时间、世界和区域限制 |
glow.bypass.cooldown |
忽略更改之间的延迟 |
glow.bypass.world |
在受限世界中发光 |
glow.bypass.region |
在 glow 标志被拒绝的区域中发光 |
glow.bypass.gamemode |
在禁用的游戏模式中发光(不属于 glow.bypass.*) |
默认颜色 ID:red, gold, yellow, green, dark_green, aqua, dark_aqua, dark_blue, light_purple, dark_purple, white, gray, dark_gray, black, rainbow (基础) 以及 ocean, galaxy, sunset, inferno, emerald, aurora, toxic, candy, arctic, royal, amethyst, fire (自定义)。
菜单
- 左键点击颜色:启用它(再次点击已启用的颜色可禁用)
- 右键点击:将其添加/移除到你的收藏中
- Shift+点击:在你的自定义菜单中隐藏/显示该颜色(右下角的按钮用于显示或隐藏你隐藏的颜色)
- 底部的标签页用于在收藏、基础颜色和自定义颜色页面之间切换
限制
在 config.yml > restrictions 中:
worlds: mode: blacklist(在列出的世界中禁用发光)或 whitelist(仅在列出的世界中启用发光)
disabled-gamemodes: 默认为 [CREATIVE, SPECTATOR],使用 [] 以允许所有游戏模式
worldguard-flag: 安装 WorldGuard 后,会添加一个 glow 标志:/rg flag <region> glow deny
当玩家处于受限区域时,其发光效果会被暂停,离开后会恢复。他们无法在该区域启用任何颜色。
商店
在 shop.yml 中设置 enabled: true(需要 Vault 和经济插件)。商店显示的颜色和布局与菜单相同,每个颜色下方标有价格。价格在 shop.yml > prices 中按颜色单独设置(-1 表示不售卖)。购买后的颜色对该玩家永久解锁。
占位符 (PlaceholderAPI)
占位符由 PlaceholderAPI 列出(使用命令 /papi info glow)。
| 占位符 |
返回值 |
%glow_active% |
如果玩家正在发光则为 true,否则为 false |
%glow_color% |
所选颜色的 ID(例如 red、rainbow),如果没有则为 none |
%glow_current% |
当前显示的轮廓颜色(动画过程中会变化),如果没有则为 none |
%glow_name% |
所选颜色的彩色显示名称(如果是“无”则显示 messages.yml 中的文本) |
%glow_name_plain% |
不带颜色的显示名称 |
%glow_code% |
当前颜色的 Minecraft 颜色代码(例如 §c),没有发光时空白 |
%glow_formatted% |
当前颜色的颜色代码 + 名称 |
%glow_rainbow% |
如果彩虹色激活则为 true |
%glow_animated% |
如果所选颜色是动画则为 true |
MiniMessage
所有文本(颜色名称、菜单、消息)均使用 MiniMessage 编写:
name: "<gradient:#FF9500:#FFD000>Sunset</gradient>" # 渐变
name: "<rainbow>Rainbow" # 彩虹
prefix: "<dark_gray>[<aqua>Glow<dark_gray>] <reset>"
update-available: "<yellow>New version! <click:open_url:'{url}'><aqua><underlined>Download</underlined></aqua></click>"
- 旧的
&c、&l 和 &#RRGGBB 代码会自动转换,因此为旧版本编写的文件仍可正常工作。在 config.yml 中设置 text.legacy-codes: false 可关闭此功能(如果文本必须包含真实的 & 字符时有用)。
- 与旧代码的区别:MiniMessage 颜色标签不会自动重置粗体/斜体,请使用
<reset>。
- 物品名称和描述除非添加
<italic>,否则默认不是斜体。
- 玩家输入的文本会被转义,因此没有人可以将标签注入到消息中。
- 悬停和点击事件仅在聊天中有效(物品名称和描述仅为纯彩色文本)。
更新检查器
NyxGlow 会向 Modrinth API(项目 UjhdYGNg)查询为 Paper、Purpur、Spigot 或 Bukkit 发布的最新版本。如果比你当前的版本新:
- 控制台会写入一行信息(每个版本仅一次);
- 拥有
glow.admin.update 权限的管理员在加入服务器时会收到一条可点击的消息(updater.notify-on-join);
- 执行
/nyxglow update 可立即检查。
updater:
enabled: true
check-interval-hours: 12
notify-on-join: true
include-prereleases: false # 也接受 beta / alpha 版本
不会自动下载或安装任何东西。
配置
位于 plugins/NyxGlow/ 的文件:
config.yml - 常规选项:命令名称和别名、文本选项、更新检查器、冷却时间、限制条件。
glows/ - 每个发光效果对应一个文件;文件名即为发光效果的 ID(glows/red.yml = red)。删除文件即可移除发光效果,复制文件以创建自己的发光效果,然后执行 /nyxglow reload。
# glows/sunset.yml
enabled: true
name: "<#FF9500>Sunset"
category: custom # basic 或 custom:权限为 glow.color.<category>.<id>
# permission: "..." # 可选,替换默认权限
item: # 菜单中的物品
page: custom # main 或 custom
slot: 15
material: ORANGE_CONCRETE
# texture: "" # 可选,玩家头颅
randomize: false # true = 随机顺序,false = 按顺序排列
switch-milliseconds: 300 # 两种颜色之间的间隔时间
colors: # 一个颜色 = 固定,多个 = 动画
- RED
- GOLD
- YELLOW
- GOLD
- 轮廓受 Minecraft 限制,仅限 16 种原版颜色:
BLACK DARK_BLUE DARK_GREEN DARK_AQUA DARK_RED DARK_PURPLE GOLD GRAY DARK_GRAY BLUE GREEN AQUA RED LIGHT_PURPLE YELLOW WHITE。
name 使用 MiniMessage 编写(<red>、<#FF9500>、<gradient:red:gold>、<rainbow>...)。旧的 &c / &#RRGGBB 代码仍然有效。十六进制颜色和渐变仅更改显示的文本名称。
glows/rainbow.yml 解释了所有选项。
gui.yml - 菜单的外观:标题、行数(1-6)、默认页面、填充物、描述、标签页、当前颜色框、音效、enabled、favorites-enabled、allow-hide、use-heads。
shop.yml - 商店及其价格(每个发光效果 ID 对应一个价格)。
messages.yml - 插件的所有文本,使用 MiniMessage 编写(可点击链接、悬停文本、渐变...)。
玩家头颅
在 gui.yml 中设置 use-heads: true 并为发光效果添加 item.texture。从 minecraft-heads.com 粘贴头颅的 Value(纹理 URL 或哈希值也可用)。那里的 16 种队伍颜色有匹配的“彩色方块”头颅。
头颅的效果是全有或全无的:basic 发光效果仅在每一个启用的基本发光效果都有纹理时才使用头颅,custom 同理。否则,该类别将保留其正常物品,并记录警告日志。
创建发光效果
- 复制
glows/ 目录中的一个文件,重命名它(例如 my_glow.yml = ID my_glow),然后进行编辑。
- 在你选择的页面上挑选一个可用的
item.slot,如果使用了商店功能,请在 shop.yml 中添加价格。
- 运行命令
/nyxglow reload。
- 给予玩家权限
glow.color.<category>.<id>(或使用通配符)。
更新插件
替换 .jar 文件并重启。每个配置文件(包括 glows/ 目录下的所有文件)末尾都包含一行 config-version(请勿修改此行!)。如果该版本号低于新 .jar 中的版本,旧文件将被保存为 <file>.bak-v<旧版本号>,同时会添加缺失的配置项。您现有的值永远不会被覆盖,因此旧的 & 颜色代码仍能正常使用。
须知
- Minecraft 将轮廓颜色限制为 16 种(即队伍颜色)。十六进制颜色和渐变仅更改显示的名称。动画颜色允许你混合这 16 种颜色以获得不同的外观。
- 发光效果通过计分板队伍实现:当玩家发光时,他们会被移至对应颜色的队伍中,并在发光结束后放回之前的队伍。重度依赖队伍的插件(例如某些标签/名称标签插件)可能会相互干扰。
从源码构建
包含两个 Gradle 模块:common(所有插件逻辑,仅针对 Spigot API 编译)和 plugin(主类、文本后端以及捆绑并重新定位了 Adventure 的阴影 JAR)。
gradle build
生成的 jar 文件位于 plugin/build/libs/NyxGlow-<version>.jar。版本号从 gradle.properties 中读取。需要 JDK 21 或更高版本(CI 使用 25);类文件会根据 gradle.properties 中的 javaRelease 设置编译为对应的 Java 版本(默认为 21,因此该 jar 可在所有受支持的服务器上运行)。
指标统计(bStats)
NyxGlow 使用 bStats 收集匿名使用统计数据(服务器数量、玩家数量、Minecraft/Java 版本)。你可以在 plugins/bStats/config.yml 中为所有插件选择退出。
Features
- Menu with 3 pages: favorites, base colors and custom colors; a box showing your current color
- Favorites (right-click) and hidden colors (shift-click, only for that player)
- One permission per color, or the wildcards
glow.color.basic.*, glow.color.custom.* and glow.color.*
- Rainbow and fully custom animated colors (cycle several colors at a chosen speed, in order or at random)
- One file per glow in the
glows/ folder: create your own by copying a file
- MiniMessage everywhere: names, menu, messages (gradients, hex colors, clickable links, hover texts); old
&c codes still work
- Two configurable commands: a player command (
/glow) and an admin command (/nyxglow), with names and aliases set in config.yml
- Update checker (Modrinth): the console and your admins are told when a new version is out, nothing is ever downloaded
- Optional player heads for the glows in the menu
- Cooldown between changes (3 seconds by default, configurable)
- Restrictions: per world (blacklist/whitelist), per game mode (creative/spectator by default) and per WorldGuard region, with bypass permissions
- Optional shop to buy colors with money (Vault)
- Player permissions split per feature (
glow.use.menu, glow.use.toggle, glow.use.shop...)
- Admins can force a color on a player
- Fully configurable menu: title, rows (1-6), slots, materials, lore, sounds, filler, on/off switch
- The chosen glow is remembered across reconnections
- Config files update themselves between versions (
config-version, with a backup of your old file)
Installation
Drop NyxGlow-<version>.jar in plugins/ and restart. One jar for every server (Spigot, Paper, Purpur and their forks): MiniMessage is bundled in the jar, so there is nothing else to install.
Compatibility
|
|
| Servers |
Paper, Spigot, Bukkit (CraftBukkit), Purpur |
| Minecraft |
1.21.x and 26.x |
| Java |
21 or newer |
PlaceholderAPI, WorldGuard and Vault are optional.
Commands
Both command names and their aliases can be changed in config.yml > commands (applied at the next server start). The tables use the default names. If another plugin already owns a name, NyxGlow logs a warning and the command stays available as /nyxglow:<name>.
Colors are picked in the menu: there is no /glow <color> command.
Player command: /glow
| Command |
Description |
Permission |
/glow |
Opens the menu |
glow.use.menu |
/glow on |
Enables your last color again |
glow.use.toggle |
/glow off |
Disables your glow |
glow.use.toggle |
/glow toggle |
Switches your glow on or off |
glow.use.toggle |
/glow list |
Lists the colors you can use |
glow.use.list |
/glow shop |
Opens the shop (if enabled in shop.yml) |
glow.use.shop |
Admin command: /nyxglow (alias /nglow)
| Command |
Description |
Permission |
/nyxglow reload |
Reloads config.yml, messages.yml, gui.yml, shop.yml and the glows |
glow.admin.reload |
/nyxglow set <player> <color|off> |
Forces a color (or off) on a player; ignores permissions, cooldown and restrictions |
glow.admin.forceplayer |
/nyxglow update |
Checks Modrinth for a new version right now |
glow.admin.update |
/nyxglow info |
Version, server, text backend, Java, loaded glows and detected plugins |
glow.admin.info |
Upgrading from 1.1.x: /glow reload and /glow set moved to /nyxglow reload and /nyxglow set.
Permissions
Players (all given to everyone by default)
| Permission |
Description |
glow.use.* |
All the player permissions below |
glow.use.menu |
Open the menu with /glow and pick colors in it |
glow.use.toggle |
/glow on, /glow off, /glow toggle |
glow.use.list |
/glow list |
glow.use.shop |
/glow shop |
glow.use.favorites |
Favorites (right-click) and the Favorites page |
glow.use.hide |
Hide colors from your own menu (shift-click) |
Colors (nobody by default, op for the wildcards)
| Permission |
Description |
glow.color.basic.<id> |
One basic color, e.g. glow.color.basic.red or glow.color.basic.rainbow |
glow.color.custom.<id> |
One custom color, e.g. glow.color.custom.ocean |
glow.color.basic.* |
Every basic color |
glow.color.custom.* |
Every custom color (including the ones you create) |
glow.color.* |
Every color |
Every color of config.yml is registered as a permission when the server starts (and on /nyxglow reload), so permission plugins such as LuckPerms can suggest them, including the colors you create. A color's category (basic or custom) is set in config.yml, and permission: can replace the default node.
Admins (op by default)
| Permission |
Description |
glow.admin.* |
All the admin permissions below |
glow.admin.reload |
/nyxglow reload |
glow.admin.forceplayer |
/nyxglow set |
glow.admin.update |
/nyxglow update, and the "new version" notice when you join |
glow.admin.info |
/nyxglow info |
Bypass (op by default, except the game mode one)
| Permission |
Description |
glow.bypass.* |
Ignore the cooldown, world and region restrictions |
glow.bypass.cooldown |
Ignore the delay between changes |
glow.bypass.world |
Glow in restricted worlds |
glow.bypass.region |
Glow in regions where the glow flag is denied |
glow.bypass.gamemode |
Glow in the disabled game modes (not part of glow.bypass.*) |
Default color ids: red, gold, yellow, green, dark_green, aqua, dark_aqua, dark_blue, light_purple, dark_purple, white, gray, dark_gray, black, rainbow (basic) and ocean, galaxy, sunset, inferno, emerald, aurora, toxic, candy, arctic, royal, amethyst, fire (custom).
The menu
- Left-click a color: enable it (click the active one to disable it)
- Right-click: add / remove it from your favorites
- Shift-click: hide / show it in your own menu (the button at the bottom right shows or hides the colors you hid)
- Tabs at the bottom switch between the Favorites, Base colors and Custom colors pages
Restrictions
In config.yml > restrictions:
worlds: mode: blacklist (glow disabled in the listed worlds) or whitelist (glow only in the listed worlds)
disabled-gamemodes: [CREATIVE, SPECTATOR] by default, use [] to allow every game mode
worldguard-flag: with WorldGuard installed, a glow flag is added: /rg flag <region> glow deny
While a player is in a restricted place their glow is paused and it comes back when they leave. They cannot enable a color there.
Shop
Set enabled: true in shop.yml (needs Vault and an economy plugin). The shop shows the same colors and layout as the menu, with the price under each one. Prices are set per color in shop.yml > prices (-1 = not for sale). A bought color is unlocked for that player forever.
Placeholders (PlaceholderAPI)
The placeholders are listed by PlaceholderAPI (/papi info glow).
| Placeholder |
Returns |
%glow_active% |
true while the player is really glowing, otherwise false |
%glow_color% |
the chosen color id (e.g. red, rainbow), or none |
%glow_current% |
the outline color shown right now (changes during animations), or none |
%glow_name% |
the colored display name of the chosen color (or the "none" text from messages.yml) |
%glow_name_plain% |
the display name without colors |
%glow_code% |
the Minecraft color code of the current color (e.g. §c), empty when there is no glow |
%glow_formatted% |
the color code + name of the current color |
%glow_rainbow% |
true if the rainbow color is active |
%glow_animated% |
true if the chosen color is an animation |
MiniMessage
All texts (glow names, menu, messages) are written in MiniMessage:
name: "<gradient:#FF9500:#FFD000>Sunset</gradient>" # gradient
name: "<rainbow>Rainbow" # rainbow
prefix: "<dark_gray>[<aqua>Glow<dark_gray>] <reset>"
update-available: "<yellow>New version! <click:open_url:'{url}'><aqua><underlined>Download</underlined></aqua></click>"
- Old
&c, &l and &#RRGGBB codes are converted automatically, so files written for older versions keep working. Set text.legacy-codes: false in config.yml to turn this off (useful if a text must contain a real &).
- Differences with legacy codes: a MiniMessage color tag does not reset bold/italic by itself, use
<reset>.
- Item names and lore are not italic unless you add
<italic>.
- Text typed by players is escaped, so nobody can inject tags into a message.
- Hover and click events work in chat only (item names and lore are plain colored text).
Update checker
NyxGlow asks the Modrinth API (project UjhdYGNg) for the newest version published for Paper, Purpur, Spigot or Bukkit. If it is newer than yours:
- a line is written in the console (once per version);
- admins with
glow.admin.update get a clickable message when they join (updater.notify-on-join);
/nyxglow update checks immediately.
updater:
enabled: true
check-interval-hours: 12
notify-on-join: true
include-prereleases: false # also accept beta / alpha versions
Nothing is downloaded or installed automatically.
Configuration
Files in plugins/NyxGlow/:
config.yml - general options: command names and aliases, text options, update checker, cooldown, restrictions.
glows/ - one file per glow; the file name is the glow id (glows/red.yml = red). Delete a file to remove a glow, copy one to create your own, then /nyxglow reload.
# glows/sunset.yml
enabled: true
name: "<#FF9500>Sunset"
category: custom # basic or custom: permission glow.color.<category>.<id>
# permission: "..." # optional, replaces the default permission
item: # item in the menu
page: custom # main or custom
slot: 15
material: ORANGE_CONCRETE
# texture: "" # optional player head
randomize: false # true = random order instead of in order
switch-milliseconds: 300 # time between two colors
colors: # one color = fixed, several = animated
- RED
- GOLD
- YELLOW
- GOLD
- The outline is limited by Minecraft to the 16 vanilla colors:
BLACK DARK_BLUE DARK_GREEN DARK_AQUA DARK_RED DARK_PURPLE GOLD GRAY DARK_GRAY BLUE GREEN AQUA RED LIGHT_PURPLE YELLOW WHITE.
name is written in MiniMessage (<red>, <#FF9500>, <gradient:red:gold>, <rainbow>...). Old &c / &#RRGGBB codes still work. Hex colors and gradients only change the displayed name.
glows/rainbow.yml explains every option.
gui.yml - the look of the menu: title, rows (1-6), default page, filler, lore, tabs, current-color box, sounds, enabled, favorites-enabled, allow-hide, use-heads.
shop.yml - the shop and its prices (one price per glow id).
messages.yml - every text of the plugin, in MiniMessage (clickable links, hover texts, gradients...).
Player heads
Set use-heads: true in gui.yml and add an item.texture to the glows. Paste the Value of a head from minecraft-heads.com (a texture URL or hash also works). The 16 team colors have matching "Colored Blocks" heads there.
Heads are all or none per category: the basic glows use heads only if every enabled basic glow has a texture, and the same goes for custom. Otherwise the category keeps its normal items and a warning is logged.
Creating a glow
- Copy a file of
glows/, rename it (my_glow.yml = id my_glow) and edit it.
- Pick a free
item.slot on the page you chose, and add a price in shop.yml if you use the shop.
- Run
/nyxglow reload.
- Give players
glow.color.<category>.<id> (or the wildcards).
Updating the plugin
Replace the .jar and restart. Each config file (including every file of glows/) ends with a config-version line (do not change it!): when it is older than the one in the new .jar, your file is saved as <file>.bak-v<old> and missing options are added. Your existing values are never overwritten, so your old & colors keep working.
Good to know
- Outline colors are limited by Minecraft to 16 (the team colors). Hex colors and gradients only change the displayed name. Animated colors let you mix the 16 to get different looks.
- The glow color works through scoreboard teams: while a player glows, they are moved to a team of that color and put back in their previous team when the glow stops. Plugins that rely heavily on teams (for example some tab/nametag plugins) can interfere with each other.
Building from source
Two Gradle modules: common (all the plugin logic, compiled against the Spigot API only) and plugin (main class, text backend and the shaded jar with Adventure bundled and relocated).
gradle build
The jar is plugin/build/libs/NyxGlow-<version>.jar. The version is read from gradle.properties. A JDK 21 or newer is needed (the CI uses 25); the classes are compiled for the Java version set by javaRelease in gradle.properties (21 by default, so the jar loads on every supported server).
Metrics (bStats)
NyxGlow uses bStats to collect anonymous usage statistics (server count, player count, Minecraft/Java versions). You can opt out for all plugins in plugins/bStats/config.yml.
评论 0
登录后参与评分
还没有评论,来抢沙发吧