No Netherite +

模组

· 作者 codingsushi

配置你希望如何管理你的下界合金!

0 本站下载 0 关注 更新于 8 小时前

最新 1.6.1+fabric-1.21.x · 1.21.4 · Fabric / Quilt

一键开服(送7天)

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 安装指南
  1. 将匹配的 .jar 文件(26.x 或 1.21.x 版本)放入你的 plugins/ 文件夹中。
  2. 启动服务器。
  3. 服务器启动后,会在目录下创建一个 NoNetheritePlus 文件夹,其中包含 config.yml 和 limits.yml。(配置说明见上文。)
  4. 修改配置文件后,运行以下命令以应用更改:
/nonetherite reload

加入我们的 Discord!

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源