SMP: Utilities - 官方维基
SMP Utilities 是一款面向 Minecraft 1.20.1 & 1.21.1(支持 Forge、NeoForge 和 Fabric)的多加载器管理、自定义及 SMP 机制模组。
它为服务器所有者和 SMP 创作者提供了声明式 TOML 限制引擎、Canon Hearts(永久死亡/复活)系统、自定义管理员工具与方块、打字机效果的动作栏目标、物品重命名与描述自定义,以及自定义药水与效果——并可选集成 JEI、Curios、Trinkets、Accessories、Waystones 和 AppleSkin。
目录
- 支持的加载器与可选集成
- 管理员物品与方块
- 命令 (
/smpu)
- 限制系统 (
restrictions.toml)
- Canon Hearts 系统 (
canon_hearts.toml)
- 药水与效果
- Waystone 抑制 (
waystones.toml)
- Utilities 配置 (
utilities.toml)
- 常见问题解答
支持的加载器与可选集成
SMP Utilities 完全独立运行(仅在 Fabric 上需要 Minecraft、加载器本身和 Fabric API)。以下每个补充模组均为完全可选,并接受与您 Minecraft + 加载器版本兼容的任何版本(Forge/NeoForge 为 [0,),Fabric 为 "*"):
| 集成 |
加载器 |
安装后启用的功能 |
| JEI (Just Enough Items) |
Forge, NeoForge, Fabric |
独立的 hidden_jei_items 隐藏(与创造标签页分离)、隐藏被阻止的合成配方 (blocked_crafting_items)、Waystone 抑制的酿造配方显示,以及创造讲台的染料变体。 |
| Curios API |
Forge, NeoForge |
阻止并在 Curios 槽位中自动弹出受限物品 (blocked_curios_items / 别名)。 |
| Trinkets |
Fabric |
阻止并在 Trinkets 槽位中自动弹出受限物品,具有悬停 spam 防止功能和 Shift+点击 物品丢失保护。 |
| Accessories |
Fabric |
原生 CanEquip / AccessoryChange 钩子 + Accessories 槽位的 Shift+点击 保护(也可与 tclayer 配合使用)。 |
| Waystones / Balm |
Fabric (API 钩子) + Forge/NeoForge (物品/方块抑制) |
取消 Waystone 传送事件 (WaystoneTeleportEvent.Pre),并在受 Waystone 抑制影响时阻止传送物品/方块。 |
| AppleSkin |
Fabric (HUD mixin 兼容性) |
当 Canon Hearts HUD 行可见时,自动偏移饥饿/饱和度/护甲覆盖层的位置。 |
管理员物品与方块
Absurd Damage Sword

一把致命的管理员剑,拥有 1,000,000 点攻击力、无限耐久、火焰抗性以及自定义打击音效。击中时几乎能瞬间杀死任何生物或玩家。
Ban Sword

一把用于管理员管理的剑,拥有无限耐久、火焰抗性以及自定义打击音效:
- 攻击未附魔经验修补的玩家 → 断开该玩家的连接 (踢出)。
- 攻击附有魔经验修补的玩家 → 永久封禁该玩家(提示语为
Banned by Ban Sword,可在 utilities.toml 中配置)。
Chapolin Colorado's Sledgehammer

一件特殊的史诗武器,零致命伤害、无限耐久、火焰抗性、自定义命中音效,以及极端击退效果(可配置倍数,默认为 20.0)。将任何实体远远击飞而不会杀死它们。非常适合搭配 Imbalance 药水使用!
Mind Wrench

一把精确的管理员工具,零伤害、无限耐久,并具有火焰抗性(也能像创造模式一样瞬间破坏方块且不掉落物品):
- 左键点击(攻击)生物 → 施加可配置的 迟缓 II (Slowness 255)(默认持续时间无限
-1,隐藏粒子与图标),有效冻结移动而不禁用 AI。
- 右键点击(交互)生物 → 切换该生物的 AI 状态 (
NoAI):
- AI 启用 → 禁用 AI 并为生物添加
MindWrenched 标签。
- AI 禁用 → 恢复 AI 并移除该标签。
非常适合为活动、装饰、建筑或截图摆姿势的 NPC/生物。
Little Poop

一种投掷投射物物品,撞击时造成 0 伤害,生成物品破碎粒子,并播放自定义的溅射音效。
Realm Coin

一种专为 SMP 服务器经济、任务、商店和特殊事件设计的收藏/货币物品。
Rename Ticket & Lore Ticket

消耗品自定义票据,在使用 /smpu rename 和 /smpu lore 命令时,需手持目标物品并消耗:
- 重命名票据 (
smp_utilities:rename_ticket, 普通): 默认可通过合成获得,配方为:4个金粒(四角)、4个金锭(上/下/左/右)和 1个命名牌(中心)。
- 描述票据 (
smp_utilities:lore_ticket, 史诗): 用于添加自定义物品描述的管理员/活动票据。
安全方块

一种不可破坏、基岩强度的不透明结构方块,旨在用于安全的管理员房间、边界和活动竞技场。
创造讲台

一个不可破坏的管理员讲台(仅可由拥有 OP 权限等级 2 的创造模式玩家破坏):
- 书籍: 接受
书与笔 (minecraft:writable_book) 和 已撰写书 (minecraft:written_book) - 玩家可以通过专用的 GUI 界面干净地阅读放置的书籍,而无需破坏讲台。
- 全 RGB 染色: 可以通过以下方式染色:
- 工作台配方 (
Creative Lectern + DyeItem(s))
- 在游戏世界中右键点击已放置的方块,使用任意 Minecraft 染料
/smpu lectern <hex> 命令(支持任何 #RRGGBB 或 #RGB 十六进制颜色!)
- 洗去染料: 手持 水桶 或 湿海绵 右键点击已放置的讲台,或在手持物品时点击 盛水的熔炼炉。
命令 (/smpu)
所有命令统一在两个相同的前缀下:/smpu 和 /smp_utilities。
| 命令 |
权限 |
描述 |
/smpu rename <...> |
任何玩家 (除非被绕过,否则需要重命名票据) |
使用颜色和样式重命名手持物品,或清除自定义名称。 |
/smpu lore <...> |
任何玩家 (除非被绕过,否则需要描述票据) |
设置或清除手持物品上的自定义描述文本。 |
/smpu lectern <hex> [amount] [targets] |
OP 等级 2 |
使用 #RRGGBB 或 #RGB 十六进制代码提供染色的创造讲台。 |
/smpu objective <global|player|clear> ... |
OP 等级 2 |
全局或按玩家显示持久的打字机动作栏目标。 |
/smpu canon <get|set|add|setmax|reset|revive> |
OP 等级 2 |
检查、修改、重置或复活玩家的 Canon Hearts。 |
/smpu reload |
OP 等级 2 |
从 config/smp_utilities/ 重新加载所有 TOML 配置文件,并同步到所有在线玩家。 |
物品自定义 (/smpu rename & /smpu lore)
这两个命令会自定义你主手当前持有的物品,并从你的库存中消耗 1 张匹配的票据(除非被创造模式、OP 等级 2 或功能白名单绕过,后者可在 utilities.toml 中配置)。
/smpu rename 语法
/smpu rename clear
/smpu rename <color> <name>
/smpu rename <color> normal <name>
/smpu rename <color> <format> <name>
示例:
/smpu rename red normal Fire Sword
/smpu rename gold bold Royal Shield
/smpu rename blue italic &lArcane &rWand
/smpu rename green bold italic Lucky Amulet
/smpu rename dark_red bold italic underlined strikethrough Forbidden Relic
/smpu rename clear
/smpu lore 语法
/smpu lore clear
/smpu lore <color> <text>
/smpu lore <color> normal <text>
/smpu lore <color> <format> <text>
示例:
/smpu lore dark_gray normal A very rare artifact.
/smpu lore gold bold Forged by ancient kings.
/smpu lore blue italic Said to bring fortune to its bearer.
/smpu lore dark_red strikethrough Confiscated by server staff.
/smpu lore clear
注意: 当手持重命名/描述票据时,你不能重命名它或为其添加描述——请手持目标物品在主手,并将票据保留在库存的任何位置。 <name> / <text> 内的内联 & 颜色/格式化代码也受支持!
创造讲台 (/smpu lectern)
需要 权限等级 2。提供一个或多个预先染成任意十六进制颜色的创造讲台。
/smpu lectern <hex>
/smpu lectern <hex> <amount>
/smpu lectern <hex> <amount> <targets>
示例:
/smpu lectern #FF5500
/smpu lectern F50 4
/smpu lectern #2B82FF 1 @a
目标 (/smpu objective)
需要 权限等级 2。在动作栏(快捷栏上方)显示持久的打字机动画目标。
/smpu objective global <color> [style] <text>
/smpu objective player <target> <color> [style] <text>
/smpu objective clear
/smpu objective clear global
/smpu objective clear player <target>
示例:
/smpu objective global gold bold Defeat the Ender Dragon!
/smpu objective global light_purple normal Special Event Active!
/smpu objective player Steve aqua italic Gather 16 Diamonds.
/smpu objective clear player Steve
/smpu objective clear
行为:
- 播放平滑的打字机入场动画(速度通过
utilities.toml 中的 [objective] speed_ticks 配置)。
- 每秒自动刷新一次,以防止原版动作栏褪色将其清除。
- 每当播放更高优先级的限制警告(例如阻止的物品/方块反馈)时暂时让出,然后自动返回。
- 玩家特定的目标会覆盖全局目标;清除全局目标不会清除每个玩家的目标。
- 支持 16 种命名的 Minecraft 颜色和内联
& 格式化代码(十六进制颜色代码如 #FF5500 仅适用于 /smpu lectern)。
Canon Hearts (/smpu canon)
需要 权限等级 2。直接在游戏中的玩家 Canonical Hearts 进行管理:
/smpu canon get [player]
/smpu canon set <amount> [player]
/smpu canon add <amount> [player]
/smpu canon setmax <amount> [player]
/smpu canon reset [player]
/smpu canon revive <player>
示例:
/smpu canon get Steve
/smpu canon set 5.5 Steve
/smpu canon add -1.0 Steve
/smpu canon setmax 15.0 Steve
/smpu canon reset Steve
/smpu canon revive Steve
- 支持小数(
0.5 = 半颗心)。
- 如果
canon_hearts.toml 中设置了 ban_on_zero_hearts = true,将生命值设置为或减少至 0.0 将触发配置的封禁。
/smpu canon revive <player> 解除被封禁玩家的封禁状态(适用于在线和离线玩家——离线玩家会通过世界 SavedData 排队,并在重新加入时自动恢复满额 Canon Hearts!)。
热重载 (/smpu reload)
需要 权限等级 2。
/smpu reload
从 config/smp_utilities/ 目录重载 restrictions.toml、canon_hearts.toml、waystones.toml 和 utilities.toml,重建客户端创意模式标签页,更新 JEI 隐藏覆盖层,并立即向所有已连接的玩家推送最新规则(标准的 /reload 也会自动重载配置)。
颜色与格式
命名颜色 (用于 /smpu rename、/smpu lore、/smpu objective):
black, dark_blue, dark_green, dark_aqua, dark_red, dark_purple, gold, gray, dark_gray, blue, green, aqua, red, light_purple, yellow, white
(此外还支持内联代码 &0-f / &k-r;十六进制颜色 #RRGGBB / #RGB 仅由 /smpu lectern 独占支持)
单一样式:
normal, bold, italic, underlined, strikethrough
链式样式组合 (用于 /smpu rename 和 /smpu lore,按规范顺序排列):
bold italic, bold underlined, bold strikethrough
italic underlined, italic strikethrough
underlined strikethrough
bold italic underlined, bold italic strikethrough, bold underlined strikethrough, italic underlined strikethrough
bold italic underlined strikethrough
限制系统 (restrictions.toml)
SMP Utilities 用单个 人类可读、支持热重载的 TOML 配置文件 替换了旧式的命令式 /idrestrict / /idcontrol / /idlock 命令,该文件位于:
config/smp_utilities/restrictions.toml
当玩家加入、重生、切换维度,或者管理员运行 /smpu reload 或 /reload 时,每条规则都会自动从服务器同步到客户端。
全部 14 种限制类别
restrictions.toml 中的部分 |
字段 |
效果 |
[restrictions.drop_items] |
items |
强制将匹配的物品从背包/拾取物丢弃到地上(可配置 despawn_ticks,默认值为 1200)。无法被拾取。 |
[restrictions.deleted_items] |
items |
一旦进入背包或尝试拾取地上的物品,立即永久删除匹配的物品。 |
[restrictions.blocked_use_items] |
items |
阻止在空中、方块上或实体上使用/右键点击该物品。 |
[restrictions.zero_damage_items] |
items |
将该物品造成的攻击伤害设为 0.0(并在客户端附加红色的警告提示框)。 |
[restrictions.blocked_break_items] |
items |
将挖掘速度归零,并在手持该物品时取消方块破坏。 |
[restrictions.blocked_armor_items] |
items |
防止装备到原版护甲槽位(点击、Shift+Click、快捷栏交换、右键);若已装备则自动弹回背包。 |
[restrictions.blocked_trinkets_items] (或别名 blocked_curios_items、blocked_accessories_items) |
items |
防止装备到 Curios、Trinkets 或 Accessories 槽位(保护手动点击、Shift+Click 和右键);若已装备则自动弹出。 |
[restrictions.blocked_offhand_items] |
items |
阻止将匹配的物品放置/交换到副手槽位。 |
[restrictions.indestructible_blocks] |
blocks |
将方块破坏进度归零(0.0),并在服务器端和客户端取消方块破坏。 |
[restrictions.unplaceable_blocks] |
blocks |
防止将匹配的方块放置到世界中。 |
[restrictions.uninteractable_blocks] |
blocks |
取消与匹配方块的右键交互(如箱子、拉杆、门等)。 |
[restrictions.blocked_crafting_items] |
items |
禁用合成网格中匹配这些 ID 的合成输出配方,并从 JEI 中隐藏这些配方。 |
[restrictions.hidden_creative_items] |
items |
从创意模式标签页和搜索中隐藏匹配的物品,但不会将其从 JEI 中移除。 |
[restrictions.hidden_jei_items] |
items |
从 JEI 的材料面板和搜索中隐藏匹配的物品,但不会将其从创意模式标签页中隐藏。 |
(每个带有动作栏反馈的部分还允许你自定义 message、speed_ticks 和 hold_ticks;设置 message = "" 将静音通知。)
通配符、占位符与优先级规则
模式格式
- 精确 ID:
"minecraft:elytra"
- 整个模组命名空间:
"artifacts:*" 或 "waystones:*"
- 所有物品 / 方块 / 玩家:
"*"
消息占位符与格式化
%item% 或 {item} → 本地化的物品名称
%block% 或 {block} → 本地化的方块名称
%player% 或 {player} → 触发操作的玩家用户名
- 颜色代码:支持
& 和 §(例如 &c%item% cannot be worn...)
规则解析优先级(最高 → 最低)
对于每个类别,权限评估严格按照以下顺序使用玩家 用户名或 UUID 进行:
[...player_blacklist] - 针对特定玩家的物品/模组黑名单 (即使在该类别的白名单中,对该玩家也始终禁止)。
[...player_whitelist] - 针对特定玩家的物品/模组白名单(即使全局禁止,也允许该玩家使用)。
blacklist = [...] - 在整个类别中永久受限的玩家列表。
whitelist = [...] - 完全豁免于整个类别的玩家列表。
items = [...] / blocks = [...] - 默认的黑名单。
示例片段 (restrictions.toml)
[restrictions.blocked_curios_items] # 或 blocked_trinkets_items / blocked_accessories_items
items = ["artifacts:snorkel", "artifacts:running_shoes"]
whitelist = ["AdminPlayer"]
blacklist = []
message = "&c%item% 无法作为饰品佩戴..."
speed_ticks = 1
hold_ticks = 30
[restrictions.blocked_curios_items.player_whitelist]
"VIP_Player" = ["artifacts:running_shoes"]
[restrictions.blocked_curios_items.player_blacklist]
"RestrictedPlayer" = ["artifacts:*"]
[restrictions.hidden_creative_items]
items = ["minecraft:diamond_block", "minecraft:gold_block"]
[restrictions.hidden_jei_items]
items = ["minecraft:diamond_ore", "minecraft:gold_ore"]
Canon Hearts System (canon_hearts.toml)
位于:config/smp_utilities/canon_hearts.toml
SMP Utilities 包含了一套完整的 Canonical Lives / Hearts( canon 生命/红心) 机制,灵感来源于角色扮演类 SMP 服务器:
- 持久化存储: 在死亡、重生和维度切换时可靠保存(Fabric 上使用 Cardinal Components,Forge 和 NeoForge 上使用 Capabilities/Attachments)。
- 自定义右侧 HUD: 启用后(
render_hud = true),会在饥饿值/空气值/载具栏下方渲染空、半颗和满的 Canon Heart 图标,并带有闪烁动画,同时干净地将原版状态栏向上推移(并与 AppleSkin 对齐)。
- Canon Loss 惩罚: 当玩家受到 Canon Loss 效果影响时死亡,将扣除以下数量的红心:
lost_hearts = effect_level * base_heart_loss
(如果结果不是 0.5 的倍数,则自动向上取整到最近的 0.5)。
- 零红心封禁与复活: 当玩家的红心数降至
0.0 且 ban_on_zero_hearts = true 时,他们将被自动封禁("normal" 配置文件封禁或 "ip" 封禁),断开连接并显示可自定义的消息,同时可选择在聊天中广播公告——直到管理员通过 /smpu canon revive <player> 将其复活。
####默认 canon_hearts.toml
[general]
max_canon_hearts = 10.0
starting_canon_hearts = 10.0
base_heart_loss = 0.5
[ban]
ban_on_zero_hearts = true
ban_type = "normal" # "normal" 或 "ip"
ban_message = "您因失去所有 Canonical Hearts 而被服务器封禁!"
broadcast_ban = true
broadcast_message = "&c[SMP Utilities] &4%player% &c失去了所有 Canonical Hearts 并被服务器封禁!"
[display]
render_hud = true
药水与效果
SMP Utilities 添加了三种状态效果,每种效果均可制成 可饮用药水、喷溅型药水、滞留型药水 和 箭矢(自定义持续时间:可饮用药水为 5:00,喷溅型药水上限为 3000 ticks 即 2:30,箭矢为 200 ticks 即 0:10):
Canon Loss

- 效果 ID:
smp_utilities:canon_loss | 药水: smp_utilities:canon_loss_p (I 级)
- 颜色: 深绯红 (
#8A001A) | 类别: 有害
- 效果: 激活期间,如果玩家死亡,将损失
level * base_heart_loss 个 Canon Hearts(向上取整至 0.5)。
Imbalance

- 效果 ID:
smp_utilities:imbalance | 药水: smp_utilities:imbalance_p (默认为 V 级)
- 颜色: 深岩灰 (
#3D4B5B) | 类别: 有害
- 效果: 每级减少
-1.0 的 击退抗性(V 级时为 -5.0),使目标对 Chapolin Colorado 的 Sledgehammer 等击退效果显著更加脆弱。
Waystone Suppression

- 效果 ID:
smp_utilities:waystone_suppression | 药水: smp_utilities:waystone_suppression_p (I 级)
- 颜色: 紫色 (
#AE37D5) | 类别: 有害
- 酿造配方:
迟缓药水(延长版 8:00) + 爆裂紫颂果 → Waystone Suppression 药水
- 效果: 阻止受影响的玩家使用、破坏、放置或交互
waystones.toml 中列出的任何物品/方块,并干净地阻止 Waystones 传送钩子。
Waystone Suppression (waystones.toml)
位于:config/smp_utilities/waystones.toml
[suppression]
suppressed_items = ["waystones:*"]
suppressed_blocks = ["waystones:*"]
whitelist = []
message = "&d您在受到 Waystone Suppression 效果影响时无法使用此物品!"
speed_ticks = 1
hold_ticks = 30
- 支持精确 ID(如
"minecraft:ender_pearl")和命名空间通配符(如 "waystones:*")。
- 列入
whitelist = ["PlayerName"] 的玩家完全免疫 Waystone Suppression,即使被药水或箭矢击中也是如此。
- 支持
%item%、%block%、%player% 占位符以及 &/§ 格式化代码。
Utilities Configuration (utilities.toml)
位于:config/smp_utilities/utilities.toml
[ban_sword]
kick_without_mending = true
permanent_ban_with_mending = true
ban_reason = "Banned by Ban Sword"
[mind_wrench]
slowness_amplifier = 255
effect_time = -1
[chapolin_sledgehammer]
knockback_strength = 20.0
[tickets]
creative_bypass = true
op_bypass = true
[objective]
speed_ticks = 1
FAQ
可选依赖项
我需要安装 Curios、Trinkets、Accessories、Waystones 或 JEI 吗?
不需要。 所有互补模组在 Forge、NeoForge 和 Fabric 上均为严格可选。SMP Utilities 可以独立正常运行,并且仅在检测到安装了相应模组时才会自动激活对应的集成。
饰品配置别名
我应该使用哪个饰品部分(blocked_curios_items、blocked_trinkets_items、blocked_accessories_items)?
这三个选项在内部都映射到同一个饰品槽位类别!默认情况下,Forge/NeoForge 生成 [restrictions.blocked_curios_items],而 Fabric 生成 [restrictions.blocked_trinkets_items],并且 所有加载器均接受这三种别名,以便配置文件在整合包之间保持可移植性。
创造模式标签页与 JEI
如果我在创造模式标签页中隐藏某个物品,它在 JEI 中也会消失吗?
不会。 hidden_creative_items(创造模式隐藏物品)和 hidden_jei_items(JEI 隐藏物品)是独立处理的。你可以选择仅在创造模式标签页中隐藏某物品而使其在 JEI 中可见(以便查看配方),或者反之!
热重载配置
如何在不重启服务器的情况下重新加载配置更改?
编辑 config/smp_utilities/ 目录内的 .toml 文件,然后运行 /smpu reload(或原版命令 /reload)。更新后的规则会立即同步给所有在线玩家。
管理员绕过
管理员是否可以干净地绕过限制以进行测试或活动?
可以——将用户名或 UUID 添加到任何分类的 whitelist = [...](用于全局绕过)或 [...player_whitelist](用于特定物品/模组例外)中。请注意,[...player_blacklist](玩家黑名单)始终拥有最高优先级。
SMP: Utilities - 让你的 SMP 井井有条。
SMP: Utilities - Official Wiki
SMP Utilities is a multi-loader administration, customization, and SMP mechanics mod for Minecraft 1.20.1 & 1.21.1 (Forge, NeoForge, and Fabric).
It equips server owners and SMP creators with a declarative TOML restriction engine, a Canon Hearts (permadeath/revive) system, custom admin tools and blocks, typewriter action-bar objectives, item renaming & lore customization, and custom potions & effects - with optional integrations for JEI, Curios, Trinkets, Accessories, Waystones, and AppleSkin.
Table of Contents
- Supported Loaders & Optional Integrations
- Admin Items & Blocks
- Commands (
/smpu)
- Restriction System (
restrictions.toml)
- Canon Hearts System (
canon_hearts.toml)
- Potions & Effects
- Waystone Suppression (
waystones.toml)
- Utilities Configuration (
utilities.toml)
- FAQ
Supported Loaders & Optional Integrations
SMP Utilities works completely standalone (only Minecraft, the mod loader, and Fabric API on Fabric are required). Every complementary mod below is 100% optional and accepts any compatible version for your Minecraft + loader version ([0,) on Forge/NeoForge, "*" on Fabric):
| Integration |
Loaders |
What It Enables When Installed |
| JEI (Just Enough Items) |
Forge, NeoForge, Fabric |
Independent hidden_jei_items hiding (separate from Creative tabs), hiding blocked crafting recipes (blocked_crafting_items), Brewing recipe display for Waystone Suppression, and Creative Lectern dye variants. |
| Curios API |
Forge, NeoForge |
Blocks & auto-ejects restricted items in Curios slots (blocked_curios_items / aliases). |
| Trinkets |
Fabric |
Blocks & auto-ejects restricted items in Trinkets slots with hover-spam prevention and Shift+Click item-loss protection. |
| Accessories |
Fabric |
Native CanEquip / AccessoryChange hooks + Shift+Click protection for Accessories slots (also works with tclayer). |
| Waystones / Balm |
Fabric (API hook) + Forge/NeoForge (item/block suppression) |
Cancels Waystone teleportation events (WaystoneTeleportEvent.Pre) and blocks teleport items/blocks while affected by Waystone Suppression. |
| AppleSkin |
Fabric (HUD mixin compatibility) |
Automatically offsets hunger/saturation/armor overlays when the Canon Hearts HUD row is visible. |
Admin Items & Blocks
Absurd Damage Sword

A lethal admin sword with 1,000,000 attack damage, infinite durability, fire resistance, and a custom strike sound. Instantly kills virtually any mob or player on hit.
Ban Sword

An admin moderation sword with infinite durability, fire resistance, and a custom strike sound:
- Attacking a player without Mending → disconnects (kicks) the player.
- Attacking a player with Mending enchantment → permanently bans the player (
Banned by Ban Sword, configurable in utilities.toml).
Chapolin Colorado's Sledgehammer

A special Epic weapon with zero lethal damage, infinite durability, fire resistance, a custom hit sound, and extreme knockback (configurable multiplier, default 20.0). Launches any entity far away without killing them. Pairs well with the Imbalance potion!
Mind Wrench

A precision admin tool with zero damage, infinite durability, and fire resistance (also breaks blocks instantly without dropping items, like in Creative):
- Left-click (attack) on a mob → applies configurable Slowness 255 (default infinite duration
-1, hidden particles & icon), effectively freezing movement without disabling AI.
- Right-click (interact) on a mob → toggles the mob's AI (
NoAI):
- AI enabled → disables AI and tags the mob with
MindWrenched.
- AI disabled → restores AI and removes the tag.
Ideal for posing NPCs/mobs for events, decoration, builds, or screenshots.
Little Poop

A throwable projectile item that deals 0 damage on impact, spawns item break particles, and plays a custom splat sound.
Realm Coin

A collectible/currency item designed for SMP server economies, quests, shops, and special events.
Rename Ticket & Lore Ticket

Consumable customization tickets used by /smpu rename and /smpu lore while holding the target item in your main hand:
- Rename Ticket (
smp_utilities:rename_ticket, Uncommon): Craftable by default using 4 Gold Nuggets (corners), 4 Gold Ingots (top/bottom/left/right), and 1 Name Tag (center).
- Lore Ticket (
smp_utilities:lore_ticket, Epic): Admin/event ticket for adding custom item descriptions.
Security Block

An unbreakable, Bedrock-strength opaque structural block intended for secure admin rooms, borders, and event arenas.
Creative Lectern

An unbreakable admin lectern (only breakable by Creative players with OP permission level 2):
- Books: Accepts
Book and Quill (minecraft:writable_book) and Written Book (minecraft:written_book) - players can read the placed book cleanly via a dedicated GUI without breaking the lectern.
- Full RGB Dyeing: Can be dyed using:
- Crafting Table recipe (
Creative Lectern + DyeItem(s))
- Right-clicking the placed block with any Minecraft Dye in-world
/smpu lectern <hex> command (supports any #RRGGBB or #RGB hex color!)
- Washing Dye Off: Right-click the placed lectern with a Water Bucket or Wet Sponge, or click a Water Cauldron while holding the item.
Commands (/smpu)
All commands are unified under two identical root prefixes: /smpu and /smp_utilities.
| Command |
Permission |
Description |
/smpu rename <...> |
Any player (requires Rename Ticket unless bypassed) |
Renames the held item with colors and styles, or clears custom name. |
/smpu lore <...> |
Any player (requires Lore Ticket unless bypassed) |
Sets or clears custom lore text on the held item. |
/smpu lectern <hex> [amount] [targets] |
OP Level 2 |
Gives dye-colored Creative Lecterns using #RRGGBB or #RGB hex codes. |
/smpu objective <global|player|clear> ... |
OP Level 2 |
Displays persistent typewriter action-bar objectives globally or per player. |
/smpu canon <get|set|add|setmax|reset|revive> |
OP Level 2 |
Inspects, modifies, resets, or revives player Canon Hearts. |
/smpu reload |
OP Level 2 |
Reloads all TOML configs from config/smp_utilities/ and syncs to all online players. |
Item Customization (/smpu rename & /smpu lore)
Both commands customize the item currently held in your main hand while consuming 1 matching ticket from your inventory (unless bypassed by Creative mode, OP Level 2, or feature whitelist, configurable in utilities.toml).
/smpu rename Syntax
/smpu rename clear
/smpu rename <color> <name>
/smpu rename <color> normal <name>
/smpu rename <color> <format> <name>
Examples:
/smpu rename red normal Fire Sword
/smpu rename gold bold Royal Shield
/smpu rename blue italic &lArcane &rWand
/smpu rename green bold italic Lucky Amulet
/smpu rename dark_red bold italic underlined strikethrough Forbidden Relic
/smpu rename clear
/smpu lore Syntax
/smpu lore clear
/smpu lore <color> <text>
/smpu lore <color> normal <text>
/smpu lore <color> <format> <text>
Examples:
/smpu lore dark_gray normal A very rare artifact.
/smpu lore gold bold Forged by ancient kings.
/smpu lore blue italic Said to bring fortune to its bearer.
/smpu lore dark_red strikethrough Confiscated by server staff.
/smpu lore clear
Note: You cannot rename or add lore to a Rename/Lore Ticket itself while holding it - hold the target item in your main hand and keep the ticket anywhere in your inventory. Inline & color/formatting codes inside <name> / <text> are also supported!
Creative Lectern (/smpu lectern)
Requires permission level 2. Gives one or more Creative Lecterns pre-dyed with any hexadecimal color.
/smpu lectern <hex>
/smpu lectern <hex> <amount>
/smpu lectern <hex> <amount> <targets>
Examples:
/smpu lectern #FF5500
/smpu lectern F50 4
/smpu lectern #2B82FF 1 @a
Objectives (/smpu objective)
Requires permission level 2. Displays a persistent typewriter-animated objective on the action bar (above the hotbar).
/smpu objective global <color> [style] <text>
/smpu objective player <target> <color> [style] <text>
/smpu objective clear
/smpu objective clear global
/smpu objective clear player <target>
Examples:
/smpu objective global gold bold Defeat the Ender Dragon!
/smpu objective global light_purple normal Special Event Active!
/smpu objective player Steve aqua italic Gather 16 Diamonds.
/smpu objective clear player Steve
/smpu objective clear
Behavior:
- Plays a smooth typewriter entrance animation (speed configured via
[objective] speed_ticks in utilities.toml).
- Automatically refreshes once per second so vanilla action-bar fading does not clear it.
- Temporarily yields whenever a higher-priority restriction warning (such as blocked item/block feedback) is playing, then returns automatically.
- Player-specific objectives override the global objective; clearing the global objective leaves per-player objectives intact.
- Supports the 16 named Minecraft colors and inline
& formatting codes (hex color codes like #FF5500 are exclusive to /smpu lectern).
Canon Hearts (/smpu canon)
Requires permission level 2. Manages player Canonical Hearts directly in-game:
/smpu canon get [player]
/smpu canon set <amount> [player]
/smpu canon add <amount> [player]
/smpu canon setmax <amount> [player]
/smpu canon reset [player]
/smpu canon revive <player>
Examples:
/smpu canon get Steve
/smpu canon set 5.5 Steve
/smpu canon add -1.0 Steve
/smpu canon setmax 15.0 Steve
/smpu canon reset Steve
/smpu canon revive Steve
- Decimal values (
0.5 = half a heart) are supported.
- Setting or reducing hearts to
0.0 triggers the configured ban if ban_on_zero_hearts = true in canon_hearts.toml.
/smpu canon revive <player> unbans a banned player (works both online and offline - offline players are queued via world SavedData and automatically restored to full Canon Hearts upon rejoining!).
Hot Reload (/smpu reload)
Requires permission level 2.
/smpu reload
Reloads restrictions.toml, canon_hearts.toml, waystones.toml, and utilities.toml from config/smp_utilities/, rebuilds client Creative tabs, updates JEI hidden overlays, and pushes fresh rules to all connected players immediately (standard /reload also reloads configs automatically).
Colors & Formats
Named Colors (for /smpu rename, /smpu lore, /smpu objective):
black, dark_blue, dark_green, dark_aqua, dark_red, dark_purple, gold, gray, dark_gray, blue, green, aqua, red, light_purple, yellow, white
(plus &0-f / &k-r inline codes; hexadecimal #RRGGBB / #RGB colors are supported exclusively by /smpu lectern)
Single Styles:
normal, bold, italic, underlined, strikethrough
Chained Style Combinations (for /smpu rename and /smpu lore, in canonical order):
bold italic, bold underlined, bold strikethrough
italic underlined, italic strikethrough
underlined strikethrough
bold italic underlined, bold italic strikethrough, bold underlined strikethrough, italic underlined strikethrough
bold italic underlined strikethrough
Restriction System (restrictions.toml)
SMP Utilities replaces old imperative /idrestrict / /idcontrol / /idlock commands with a single human-readable, hot-reloadable TOML config located at:
config/smp_utilities/restrictions.toml
Every rule automatically synchronizes from server to client when players join, respawn, switch dimensions, or when an admin runs /smpu reload or /reload.
All 14 Restriction Categories
Section in restrictions.toml |
Field |
Effect |
[restrictions.drop_items] |
items |
Forces matching items out of inventory/pickup onto the ground (despawn_ticks configurable, default 1200). Cannot be picked up. |
[restrictions.deleted_items] |
items |
Permanently deletes matching items immediately upon entering inventory or ground pickup. |
[restrictions.blocked_use_items] |
items |
Blocks using/right-clicking the item in air, on blocks, or on entities. |
[restrictions.zero_damage_items] |
items |
Sets attack damage dealt with the item to 0.0 (and appends an in-red tooltip warning on the client). |
[restrictions.blocked_break_items] |
items |
Zeroes mining speed and cancels block breaking while holding the item. |
[restrictions.blocked_armor_items] |
items |
Prevents equipping into vanilla armor slots (click, Shift+Click, hotbar swap, right-click); auto-ejects back to inventory. |
[restrictions.blocked_trinkets_items] (or aliases blocked_curios_items, blocked_accessories_items) |
items |
Prevents equipping into Curios, Trinkets, or Accessories slots (protects manual click, Shift+Click, and right-click); auto-ejects if already equipped. |
[restrictions.blocked_offhand_items] |
items |
Blocks placing/swapping matching items into the offhand slot. |
[restrictions.indestructible_blocks] |
blocks |
Zeroes block break progress (0.0) and cancels block breaking server- & client-side. |
[restrictions.unplaceable_blocks] |
blocks |
Prevents placing matching blocks into the world. |
[restrictions.uninteractable_blocks] |
blocks |
Cancels right-click interaction with matching blocks (chests, levers, doors, etc.). |
[restrictions.blocked_crafting_items] |
items |
Disables crafting output recipes matching these IDs across crafting grids and hides those recipes from JEI. |
[restrictions.hidden_creative_items] |
items |
Hides matching items from Creative inventory tabs & search without removing them from JEI. |
[restrictions.hidden_jei_items] |
items |
Hides matching items from JEI's ingredient panel & search without hiding them from Creative tabs. |
(Each section with action-bar feedback also lets you customize message, speed_ticks, and hold_ticks; setting message = "" silences the notification.)
Wildcards, Placeholders & Priority Rules
Pattern Formats
- Exact ID:
"minecraft:elytra"
- Entire Mod Namespace:
"artifacts:*" or "waystones:*"
- All Items / Blocks / Players:
"*"
Message Placeholders & Formatting
%item% or {item} → localized item name
%block% or {block} → localized block name
%player% or {player} → triggering player's username
- Color codes: supports
& and § (e.g., &c%item% cannot be worn...)
Rule Resolution Priority (Highest → Lowest)
For every category, permissions are evaluated in strict order using player usernames or UUIDs:
[...player_blacklist] - Per-player item/mod blacklist (always blocked for that player, even if in a category whitelist).
[...player_whitelist] - Per-player item/mod whitelist (allowed for that player even if blocked globally).
blacklist = [...] - Players permanently restricted across the entire category.
whitelist = [...] - Players completely exempt from the entire category.
items = [...] / blocks = [...] - Default global blocklist.
Example Snippet (restrictions.toml)
[restrictions.blocked_curios_items] # or blocked_trinkets_items / blocked_accessories_items
items = ["artifacts:snorkel", "artifacts:running_shoes"]
whitelist = ["AdminPlayer"]
blacklist = []
message = "&c%item% cannot be worn as an accessory..."
speed_ticks = 1
hold_ticks = 30
[restrictions.blocked_curios_items.player_whitelist]
"VIP_Player" = ["artifacts:running_shoes"]
[restrictions.blocked_curios_items.player_blacklist]
"RestrictedPlayer" = ["artifacts:*"]
[restrictions.hidden_creative_items]
items = ["minecraft:diamond_block", "minecraft:gold_block"]
[restrictions.hidden_jei_items]
items = ["minecraft:diamond_ore", "minecraft:gold_ore"]
Canon Hearts System (canon_hearts.toml)
Located at: config/smp_utilities/canon_hearts.toml
SMP Utilities includes a complete Canonical Lives / Hearts mechanic inspired by roleplay SMP servers:
- Persistent Storage: Saved reliably across deaths, respawns, and dimension changes (Cardinal Components on Fabric, Capabilities/Attachments on Forge & NeoForge).
- Custom Right-Side HUD: Renders empty, half, and full Canon Heart icons with blink animations below the hunger/air/vehicle bars when enabled (
render_hud = true), cleanly shifting vanilla bars upward (and aligned alongside AppleSkin).
- Canon Loss Penalty: Dying while affected by the Canon Loss effect deducts hearts using:
lost_hearts = effect_level * base_heart_loss
(automatically rounded UP to the nearest 0.5 if not already a half-heart increment).
- Zero-Heart Banning & Revival: When a player hits
0.0 Canon Hearts (and ban_on_zero_hearts = true), they are automatically banned ("normal" profile ban or "ip" ban), disconnected with a customizable message, and optionally announced in chat - until revived by an admin via /smpu canon revive <player>.
Default canon_hearts.toml
[general]
max_canon_hearts = 10.0
starting_canon_hearts = 10.0
base_heart_loss = 0.5
[ban]
ban_on_zero_hearts = true
ban_type = "normal" # "normal" or "ip"
ban_message = "You were banned from the server for losing all your Canonical Hearts!"
broadcast_ban = true
broadcast_message = "&c[SMP Utilities] &4%player% &clost all Canonical Hearts and was banned from the server!"
[display]
render_hud = true
Potions & Effects
SMP Utilities adds three status effects, each available as Drinkable Potion, Splash Potion, Lingering Potion, and Tipped Arrow (custom durations: 5:00 drinkable, 2:30 splash capped at 3000 ticks, 0:10 tipped arrow at 200 ticks):
Canon Loss

- Effect ID:
smp_utilities:canon_loss | Potion: smp_utilities:canon_loss_p (Level I)
- Color: Deep Crimson (
#8A001A) | Category: Harmful
- Effect: While active, if the player dies, they lose
level * base_heart_loss Canon Hearts (rounded up to 0.5).
Imbalance

- Effect ID:
smp_utilities:imbalance | Potion: smp_utilities:imbalance_p (Level V by default)
- Color: Dark Slate (
#3D4B5B) | Category: Harmful
- Effect: Reduces Knockback Resistance by
-1.0 per level (-5.0 at Level V), making targets dramatically more vulnerable to knockback effects such as Chapolin Colorado's Sledgehammer.
Waystone Suppression

- Effect ID:
smp_utilities:waystone_suppression | Potion: smp_utilities:waystone_suppression_p (Level I)
- Color: Purple (
#AE37D5) | Category: Harmful
- Brewing Recipe:
Potion of Slowness (Extended 8:00) + Popped Chorus Fruit → Potion of Waystone Suppression
- Effect: Prevents the affected player from using, breaking, placing, or interacting with any item/block listed in
waystones.toml - and blocks Waystones teleportation hooks cleanly.
Waystone Suppression (waystones.toml)
Located at: config/smp_utilities/waystones.toml
[suppression]
suppressed_items = ["waystones:*"]
suppressed_blocks = ["waystones:*"]
whitelist = []
message = "&dYou cannot use this while under the Waystone Suppression effect!"
speed_ticks = 1
hold_ticks = 30
- Supports exact IDs (
"minecraft:ender_pearl") and namespace wildcards ("waystones:*").
- Players listed in
whitelist = ["PlayerName"] are completely immune to Waystone Suppression even if hit by the potion or tipped arrow.
- Supports
%item%, %block%, %player% placeholders and &/§ formatting codes.
Utilities Configuration (utilities.toml)
Located at: config/smp_utilities/utilities.toml
[ban_sword]
kick_without_mending = true
permanent_ban_with_mending = true
ban_reason = "Banned by Ban Sword"
[mind_wrench]
slowness_amplifier = 255
effect_time = -1
[chapolin_sledgehammer]
knockback_strength = 20.0
[tickets]
creative_bypass = true
op_bypass = true
[objective]
speed_ticks = 1
FAQ
Optional Dependencies
Do I need Curios, Trinkets, Accessories, Waystones, or JEI installed?
No. All complementary mods are strictly optional across Forge, NeoForge, and Fabric. SMP Utilities boots normally standalone and automatically activates each integration only when the matching mod is installed.
Accessory Config Aliases
Which accessory section should I use (blocked_curios_items, blocked_trinkets_items, blocked_accessories_items)?
All three map internally to the same accessory-slot category! By default, Forge/NeoForge generates [restrictions.blocked_curios_items] and Fabric generates [restrictions.blocked_trinkets_items], and all loaders accept any of the three aliases so configs stay portable across modpacks.
Creative Tabs vs. JEI
If I hide an item from Creative tabs, does it also disappear from JEI?
No. hidden_creative_items and hidden_jei_items are handled independently. You can hide an item from Creative tabs while keeping it visible in JEI (for recipe lookups), or vice versa!
Hot-Reloading Configs
How do I reload configuration changes without restarting the server?
Edit the .toml files inside config/smp_utilities/ and run /smpu reload (or vanilla /reload). Updated rules immediately sync to all online players.
Admin Bypasses
Can an admin bypass restrictions cleanly for testing or events?
Yes - add usernames or UUIDs to any category's whitelist = [...] (for global bypass) or [...player_whitelist] (for specific item/mod exceptions). Note that [...player_blacklist] always takes highest priority.
SMP: Utilities - Keep your SMP organized.
评论 0
登录后参与评分
还没有评论,来抢沙发吧