描述
ItemRename 是一款专为 Folia 和 Paper 1.21.1 打造的简洁实用的重命名插件。赋予玩家使用 MiniMessage 支持的全彩格式来重命名手中任意物品的能力。十六进制颜色代码、渐变色、命名颜色、加粗、斜体以及所有其他 Adventure 标签均可开箱即用。
功能
完整支持 MiniMessage 格式,包括十六进制颜色、渐变色、命名颜色、加粗、斜体、下划线和删除线。兼容 Folia,并正确使用区域调度器。基于权限的控制,拥有独立的管理员权限。可在 config.yml 中配置可选的重命名输入字符限制。提供重载命令,无需重启服务器即可应用更改。清晰可配置的消息前缀。
命令
/rename <text> — 使用 MiniMessage 格式重命名主手中的物品。需要 rename.use 权限。
/rename reload — 重载插件配置。需要 rename.admin 权限。
/rename help — 显示格式用法和示例。需要 rename.use 权限。
权限
rename.use — 允许玩家使用 /rename 和 /rename help。默认:op。
rename.admin — 允许访问 /rename reload 并绕过所有限制。默认:op。
格式示例
/rename <bold><#FF5500>Flame Sword — 加粗的橙色十六进制颜色名称。
/rename gradient:#FF0000:#0000FFRainbow Blade — 从红色到蓝色的渐变。
/rename <gold>Golden <bold>Crown — 命名颜色配合加粗。
/rename <italic><#A020F0>Shadow Dagger — 斜体的紫色十六进制颜色。
配置
yaml# 插件消息前缀
prefix: "&8[&7Rename&8]"
# 启用重命名输入的字符数限制
enable-char-limit: true
# 重命名输入允许的最大字符数(解析前的原始文本)
max-chars: 64
Description
ItemRename is a simple, no-fluff renaming plugin built for Folia and Paper 1.21.1. Give your players the ability to rename any item in their hand with full color and formatting support powered by MiniMessage. Hex codes, gradients, named colors, bold, italic, and every other Adventure tag all work out of the box.
Features
Full MiniMessage formatting support including hex colors, gradients, named colors, bold, italic, underline, and strikethrough. Folia compatible with proper region scheduler usage. Permission based access with a separate admin permission. Optional character limit on rename input configurable in config.yml. Reload command so you never need to restart the server. Clean configurable message prefix.
Commands
/rename <text> — Renames the item in your main hand using MiniMessage formatting. Requires rename.use.
/rename reload — Reloads the plugin config. Requires rename.admin.
/rename help — Shows formatting usage and examples. Requires rename.use.
Permissions
rename.use — Allows a player to use /rename and /rename help. Default: op.
rename.admin — Allows access to /rename reload and bypasses any restrictions. Default: op.
Formatting Examples
/rename <bold><#FF5500>Flame Sword — Bold orange hex color name.
/rename gradient:#FF0000:#0000FFRainbow Blade — Red to blue gradient.
/rename <gold>Golden <bold>Crown — Named color with bold.
/rename <italic><#A020F0>Shadow Dagger — Italic purple hex.
Configuration
yaml# Plugin message prefix
prefix: "&8[&7Rename&8]"
# Enable a max character limit on rename input
enable-char-limit: true
# Max characters allowed in rename input (raw text before parsing)
max-chars: 64
评论 0
登录后参与评分
还没有评论,来抢沙发吧