No Netherite +
你是否曾想在服务器上禁用下界合金盔甲,但发现现有的插件都不如你所愿?现在不用再找了!NoNetherite+ 允许你配置要禁用的具体部件。
兼容性: Minecraft 26.x (Java 25) 或 1.21.x (Java 21),适用于 Paper/Spigot。可选软依赖:PlaceholderAPI。
Paper 配置文件
插件在首次启动时会创建 plugins/NoNetheritePlus/config.yml(以及 limits.yml)。编辑完成后,运行 /nonetherite reload 以应用更改。
# NoNetheritePlus 配置文件
# 设置为 true 以禁用下界合金物品的合成并启用退款系统
# 设置为 false 以允许正常合成
# 下界合金盔甲
disable_netherite_helmet: true
disable_netherite_chestplate: true
disable_netherite_leggings: true
disable_netherite_boots: true
disable_netherite_horse_armor: true
# 下界合金工具
disable_netherite_sword: false
disable_netherite_pickaxe: false
disable_netherite_axe: false
disable_netherite_shovel: false
disable_netherite_hoe: false
disable_netherite_spear: false
# 常规设置
refund_materials: true
refund_message: "&c该物品的下界合金合成已禁用。你的材料已退还。"
disable_upgrade_templates: false
# 当为 false 时,即使禁用了下界合金盔甲的合成,下界合金盔甲仍可获得锻造台修饰
disable_netherite_trims: false
# 面向玩家的消息
messages:
blocked_craft: "&c该物品的下界合金合成已禁用。你的材料已退还。"
blocked_pickup: "&c你无法拾取此下界合金物品。"
stripped_on_join: "&c禁用的下界合金物品已从你的物品栏中移除。"
blocked_equip: "&c装备此下界合金盔甲已被禁用。"
# 更严格的执行策略(默认全关——现有服务器保持不变)
enforcement:
block_ancient_debris: false
block_scrap_and_ingot_craft: false
block_piglin_barter: false
block_pickup: false
strip_disabled_on_join: false
block_equip_disabled: false
convert_on_strip: false
# 软性持有量限制(也同步反映在 limits.yml 中)
limits:
enabled: false
max_netherite_items: 0
# 被阻止操作的审计日志
audit:
enabled: false
file: audit.log
# 定期清理下界合金物品
# 按时间间隔从在线玩家处移除所有下界合金物品
periodic_purge:
enabled: false
interval_seconds: 60
# 统计与分析
statistics:
enabled: true
track_refunds: true
track_blocked_crafts: true
track_template_removals: true
track_purged_items: true
reset_on_reload: false
log_to_file: false
# 调试模式
debug:
enabled: false
log_loot_events: false
log_craft_events: false
log_config_changes: true
verbose_messages: false
# 世界特定配置
worlds:
world:
world_nether:
world_end:
# 如果未指定某项,将使用全局配置。
# 配置预设(自动生成)
presets: {}
下界合金盔甲
设置为 true 以阻止锻造该物品并移除其配方。设置为 false 以允许正常合成。
| 选项 |
默认值 |
描述 |
disable_netherite_helmet |
true |
阻止下界合金头盔的合成 |
disable_netherite_chestplate |
true |
阻止下界合金胸甲的合成 |
disable_netherite_leggings |
true |
阻止下界合金护腿的合成 |
disable_netherite_boots |
true |
阻止下界合金靴子的合成 |
disable_netherite_horse_armor |
true |
阻止下界合金马铠的合成 |
下界合金工具
工具默认允许使用。设置为 true 以禁用该物品的合成。
| 选项 |
默认值 |
描述 |
disable_netherite_sword |
false |
阻止下界合金剑的合成 |
disable_netherite_pickaxe |
false |
阻止下界合金镐的合成 |
disable_netherite_axe |
false |
阻止下界合金斧的合成 |
disable_netherite_shovel |
false |
阻止下界合金锹的合成 |
disable_netherite_hoe |
false |
阻止下界合金锄的合成 |
disable_netherite_spear |
false |
阻止下界合金矛的合成 |
常规设置
| 选项 |
默认值 |
描述 |
refund_materials |
true |
当尝试合成被禁用的物品时,退还基础物品、锭和模板 |
refund_message |
(见配置) |
旧版退款消息(推荐使用 messages.blocked_craft)。支持 & 颜色代码 |
disable_upgrade_templates |
false |
从生成的战利品中移除下界合金升级锻造模板 |
disable_netherite_trims |
false |
阻止在下界合金盔甲上应用盔甲修饰 |
消息
| 选项 |
描述 |
messages.blocked_craft |
当锻造升级被阻止并退款时显示 |
messages.blocked_pickup |
当拾取被阻止时显示 |
messages.stripped_on_join |
当加入游戏时移除禁用物品后显示 |
messages.blocked_equip |
当装备被禁用的盔甲被阻止时显示 |
执行策略
所有选项默认均为 false,以确保现有服务器保持不变。
| 选项 |
描述 |
enforcement.block_ancient_debris |
防止挖掘远古残骸时掉落 |
enforcement.block_scrap_and_ingot_craft |
阻止碎屑熔炼及锭/块的合成 |
enforcement.block_piglin_barter |
从猪灵交易中移除下界合金碎屑/锭/模板 |
enforcement.block_pickup |
取消拾取受限的下界合金物品 |
enforcement.strip_disabled_on_join |
在加入游戏时移除因合成禁用而无法使用的装备/工具 |
enforcement.block_equip_disabled |
取消装备因合成禁用而无法使用的下界合金盔甲 |
enforcement.convert_on_strip |
将移除的装备转换为钻石等效物 |
限制 (limits.yml)
软性持有量限制也在 config.yml 下的 limits: 部分进行了镜像同步。
| 选项 |
默认值 |
描述 |
limits.enabled |
false |
启用软性拥有限制 |
limits.max_netherite_items |
0 |
背包中最大允许的下界合金物品/工具数量(0 = 无限制) |
审计日志
| 选项 |
默认值 |
描述 |
audit.enabled |
false |
将阻止的操作追加到审计文件中 |
audit.file |
audit.log |
插件数据文件夹下的文件名 |
周期性下界合金清除
定期从所有在线玩家的背包、盔甲栏和副手中移除所有下界合金物品。
| 选项 |
默认值 |
描述 |
periodic_purge.enabled |
false |
启用或禁用清除计时器 |
periodic_purge.interval_seconds |
60 |
执行清除的间隔时间(秒),最小值为 1 |
被移除的物品包括盔甲、工具、锭、碎片、方块以及升级模板。
统计与分析
| 选项 |
默认值 |
描述 |
statistics.enabled |
true |
统计追踪的主开关 |
statistics.track_refunds |
true |
统计材料退款次数 |
statistics.track_blocked_crafts |
true |
统计被阻止的合成尝试次数 |
statistics.track_template_removals |
true |
统计从战利品中移除的模板次数 |
statistics.track_purged_items |
true |
统计由周期性清除移除的物品数量 |
statistics.reset_on_reload |
false |
重新加载配置时重置统计数据 |
statistics.log_to_file |
false |
每次变更后将统计数据写入 statistics.yml |
在游戏中使用 /nonetherite stats 查看统计数据。
调试模式
| 选项 |
默认值 |
描述 |
debug.enabled |
false |
启用调试日志记录 |
debug.log_loot_events |
false |
记录从战利品中移除模板的事件 |
debug.log_craft_events |
false |
记录被阻止的合成及统计更新事件 |
debug.log_config_changes |
true |
记录配置重载与更新事件 |
debug.verbose_messages |
false |
输出更详细的调试信息 |
也可以通过游戏中的命令 /nonetherite debug <on|off> 来切换调试模式。
世界特定配置
按世界覆盖全局设置。任何全局配置中的设置都可以放置在对应世界名称下方:
worlds:
world:
disable_netherite_helmet: true
disable_upgrade_templates: false
refund_materials: true
world_nether:
disable_upgrade_templates: true
disable_netherite_sword: true
world_end:
disable_upgrade_templates: true
未指定的设置将回退到全局配置。
配置预设
预设通过命令进行保存和加载(见下文)。config.yml 中的 presets: 部分由系统自动管理 —— 除非你清楚自己在做什么,否则不要手动编辑它。
命令与权限
命令
| 命令 |
权限节点 |
描述 |
/nonetherite |
nonetherite.info |
显示插件版本与信息 |
/nonetherite reload |
nonetherite.reload |
重新加载配置并重启清除计时器 |
/nonetherite stats |
nonetherite.stats |
查看插件统计数据 |
/nonetherite debug <on|off> |
nonetherite.debug |
切换调试模式 |
/nonetherite preset save <name> |
nonetherite.preset |
将当前配置保存为预设 |
/nonetherite preset load <name> |
nonetherite.preset |
加载已保存的预设 |
/nonetherite preset list |
nonetherite.preset |
列出可用的预设 |
/nonetherite preset delete <name> |
nonetherite.preset |
删除一个预设 |
/nonetherite inspect [player] |
nonetherite.inspect |
总结玩家的下界合金库存情况 |
/nonetherite gui |
nonetherite.gui |
打开配置切换图形界面 (GUI) |
/nonetherite audit [lines] |
nonetherite.audit |
查看审计日志尾部内容 |
权限节点
| 权限节点 |
默认值 |
描述 |
nonetherite.info |
all players |
访问 /nonetherite 命令 |
nonetherite.bypass |
false |
跳过所有限制 |
nonetherite.reload |
op |
重新加载配置 |
nonetherite.stats |
op |
查看统计数据 |
nonetherite.debug |
op |
切换调试模式 |
nonetherite.preset |
op |
管理配置预设 |
nonetherite.inspect |
op |
检查玩家背包 |
nonetherite.gui |
op |
打开配置 GUI |
nonetherite.audit |
op |
查看审计日志 |
nonetherite.admin |
op |
管理员命令的父级权限 |
PlaceholderAPI
可选的软依赖。支持以下占位符:
| 占位符 |
描述 |
%nonetherite_version% |
插件版本 |
%nonetherite_blocked_crafts% |
总被阻止的合成次数 |
%nonetherite_disabled_<item>% |
该物品是否被禁用合成(如 helmet, netherite_sword 等) |
Paper 安装指南
- 将匹配的
.jar 文件(26.x 或 1.21.x 版本)放入你的 plugins/ 文件夹中。
- 启动服务器。
- 服务器启动后,会在目录下创建一个
NoNetheritePlus 文件夹,其中包含 config.yml 和 limits.yml。(配置说明见上文。)
- 修改配置文件后,运行以下命令以应用更改:
/nonetherite reload
加入我们的 Discord!
No Netherite +
Have you ever wanted to disable netherite armor on your server but all the plugins aren't really what you are looking for? Well look no more! NoNetherite+ allows you to configure what parts to disable!
Compatibility: Minecraft 26.x (Java 25) or 1.21.x (Java 21) on Paper/Spigot. Optional soft-depend: PlaceholderAPI.
Paper Configuration
The plugin creates plugins/NoNetheritePlus/config.yml (and limits.yml) on first startup. After editing, run /nonetherite reload to apply changes.
# NoNetheritePlus Configuration
# Set to true to disable crafting of netherite items and enable refund system
# Set to false to allow normal crafting
# Netherite Armor
disable_netherite_helmet: true
disable_netherite_chestplate: true
disable_netherite_leggings: true
disable_netherite_boots: true
disable_netherite_horse_armor: true
# Netherite Tools
disable_netherite_sword: false
disable_netherite_pickaxe: false
disable_netherite_axe: false
disable_netherite_shovel: false
disable_netherite_hoe: false
disable_netherite_spear: false
# General Settings
refund_materials: true
refund_message: "&cNetherite crafting is disabled for this item. Your materials have been refunded."
disable_upgrade_templates: false
# When false, netherite armor can still receive smithing-table trims even if crafting that armor is disabled
disable_netherite_trims: false
# Player-facing messages
messages:
blocked_craft: "&cNetherite crafting is disabled for this item. Your materials have been refunded."
blocked_pickup: "&cYou cannot pick up this netherite item."
stripped_on_join: "&cDisabled netherite items were removed from your inventory."
blocked_equip: "&cEquipping this netherite armor is disabled."
# Stronger enforcement (all default off — existing servers stay unchanged)
enforcement:
block_ancient_debris: false
block_scrap_and_ingot_craft: false
block_piglin_barter: false
block_pickup: false
strip_disabled_on_join: false
block_equip_disabled: false
convert_on_strip: false
# Soft possession limit (also mirrored in limits.yml)
limits:
enabled: false
max_netherite_items: 0
# Audit log of blocked actions
audit:
enabled: false
file: audit.log
# Periodic Netherite Purge
# Removes all netherite items from online players on a timer
periodic_purge:
enabled: false
interval_seconds: 60
# Statistics & Analytics
statistics:
enabled: true
track_refunds: true
track_blocked_crafts: true
track_template_removals: true
track_purged_items: true
reset_on_reload: false
log_to_file: false
# Debug Mode
debug:
enabled: false
log_loot_events: false
log_craft_events: false
log_config_changes: true
verbose_messages: false
# World-Specific Configurations
worlds:
world:
world_nether:
world_end:
# If an item is not specified, the global config will be used.
# Configuration Presets (auto-generated)
presets: {}
Netherite Armor
Set to true to block smithing that item and remove its recipe. Set to false to allow normal crafting.
| Option |
Default |
Description |
disable_netherite_helmet |
true |
Block netherite helmet crafting |
disable_netherite_chestplate |
true |
Block netherite chestplate crafting |
disable_netherite_leggings |
true |
Block netherite leggings crafting |
disable_netherite_boots |
true |
Block netherite boots crafting |
disable_netherite_horse_armor |
true |
Block netherite horse armor crafting |
Netherite Tools
Tools are allowed by default. Set to true to disable crafting for that item.
| Option |
Default |
Description |
disable_netherite_sword |
false |
Block netherite sword crafting |
disable_netherite_pickaxe |
false |
Block netherite pickaxe crafting |
disable_netherite_axe |
false |
Block netherite axe crafting |
disable_netherite_shovel |
false |
Block netherite shovel crafting |
disable_netherite_hoe |
false |
Block netherite hoe crafting |
disable_netherite_spear |
false |
Block netherite spear crafting |
General Settings
| Option |
Default |
Description |
refund_materials |
true |
Refund the base item, ingot, and template when a blocked craft is attempted |
refund_message |
(see config) |
Legacy refund message (prefer messages.blocked_craft). Supports & color codes |
disable_upgrade_templates |
false |
Remove netherite upgrade smithing templates from generated loot |
disable_netherite_trims |
false |
Block armor trim application on netherite armor |
Messages
| Option |
Description |
messages.blocked_craft |
Shown when a smithing upgrade is blocked and refunded |
messages.blocked_pickup |
Shown when pickup is blocked |
messages.stripped_on_join |
Shown when disabled items are stripped on join |
messages.blocked_equip |
Shown when equipping disabled armor is blocked |
Enforcement
All default false so existing servers stay unchanged.
| Option |
Description |
enforcement.block_ancient_debris |
Prevent ancient debris drops when mined |
enforcement.block_scrap_and_ingot_craft |
Block scrap smelting and ingot/block crafting |
enforcement.block_piglin_barter |
Strip netherite scrap/ingot/templates from piglin barters |
enforcement.block_pickup |
Cancel picking up restricted netherite items |
enforcement.strip_disabled_on_join |
Remove craft-disabled gear/tools on join |
enforcement.block_equip_disabled |
Cancel equipping craft-disabled netherite armor |
enforcement.convert_on_strip |
Convert stripped gear to diamond equivalents |
Limits (limits.yml)
Soft possession limits are also mirrored under limits: in config.yml.
| Option |
Default |
Description |
limits.enabled |
false |
Enable soft possession limits |
limits.max_netherite_items |
0 |
Max gear/tools in inventory (0 = unlimited) |
Audit
| Option |
Default |
Description |
audit.enabled |
false |
Append blocked actions to an audit file |
audit.file |
audit.log |
File name under the plugin data folder |
Periodic Netherite Purge
Periodically strips all netherite items from every online player's inventory, armor, and offhand.
| Option |
Default |
Description |
periodic_purge.enabled |
false |
Enable or disable the purge timer |
periodic_purge.interval_seconds |
60 |
How often to run the purge, in seconds (minimum 1) |
Removed items include armor, tools, ingots, scrap, blocks, and upgrade templates.
Statistics & Analytics
| Option |
Default |
Description |
statistics.enabled |
true |
Master toggle for statistics tracking |
statistics.track_refunds |
true |
Count material refunds |
statistics.track_blocked_crafts |
true |
Count blocked smithing attempts |
statistics.track_template_removals |
true |
Count templates removed from loot |
statistics.track_purged_items |
true |
Count items removed by periodic purge |
statistics.reset_on_reload |
false |
Reset stats when the config is reloaded |
statistics.log_to_file |
false |
Write stats to statistics.yml after every change |
View stats in-game with /nonetherite stats.
Debug Mode
| Option |
Default |
Description |
debug.enabled |
false |
Enable debug logging |
debug.log_loot_events |
false |
Log template removals from loot |
debug.log_craft_events |
false |
Log blocked crafts and stat updates |
debug.log_config_changes |
true |
Log config reloads and updates |
debug.verbose_messages |
false |
Extra detailed debug output |
Debug can also be toggled in-game with /nonetherite debug <on|off>.
World-Specific Configurations
Override global settings per world. Any setting from the global config can be placed under a world name:
worlds:
world:
disable_netherite_helmet: true
disable_upgrade_templates: false
refund_materials: true
world_nether:
disable_upgrade_templates: true
disable_netherite_sword: true
world_end:
disable_upgrade_templates: true
Unspecified settings fall back to the global config.
Configuration Presets
Presets are saved and loaded via commands (see below). The presets: section in config.yml is managed automatically — do not edit it by hand unless you know what you are doing.
Commands & Permissions
Commands
| Command |
Permission |
Description |
/nonetherite |
nonetherite.info |
Show plugin version and info |
/nonetherite reload |
nonetherite.reload |
Reload config and restart purge timer |
/nonetherite stats |
nonetherite.stats |
View plugin statistics |
/nonetherite debug <on|off> |
nonetherite.debug |
Toggle debug mode |
/nonetherite preset save <name> |
nonetherite.preset |
Save current config as a preset |
/nonetherite preset load <name> |
nonetherite.preset |
Load a saved preset |
/nonetherite preset list |
nonetherite.preset |
List available presets |
/nonetherite preset delete <name> |
nonetherite.preset |
Delete a preset |
/nonetherite inspect [player] |
nonetherite.inspect |
Summarize a player's netherite inventory |
/nonetherite gui |
nonetherite.gui |
Open the config toggle GUI |
/nonetherite audit [lines] |
nonetherite.audit |
Tail the audit log |
Permissions
| Permission |
Default |
Description |
nonetherite.info |
all players |
Access to /nonetherite |
nonetherite.bypass |
false |
Skip all netherite restrictions |
nonetherite.reload |
op |
Reload configuration |
nonetherite.stats |
op |
View statistics |
nonetherite.debug |
op |
Toggle debug mode |
nonetherite.preset |
op |
Manage configuration presets |
nonetherite.inspect |
op |
Inspect player inventories |
nonetherite.gui |
op |
Open config GUI |
nonetherite.audit |
op |
View audit log |
nonetherite.admin |
op |
Parent for admin commands |
PlaceholderAPI
Optional soft-depend. Placeholders:
| Placeholder |
Description |
%nonetherite_version% |
Plugin version |
%nonetherite_blocked_crafts% |
Total blocked crafts |
%nonetherite_disabled_<item>% |
Whether that item is craft-disabled (helmet, netherite_sword, etc.) |
Paper Installation
- Place the matching
.jar (26.x or 1.21.x) into your plugins/ folder.
- Start the server.
- When the server starts, a
NoNetheritePlus folder will be created with config.yml and limits.yml inside. (See above for config.)
- After making changes to the config file, run:
/nonetherite reload
to apply changes.
Join the Discord!
评论 0
登录后参与评分
还没有评论,来抢沙发吧