Block Villager Trades 图标

Block Villager Trades

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/block-villager-trades
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: bukkit paper

标签: economy game-mechanics management

资源介绍

Block Villager Trades

Block Villager Trades — a plugin that allows you to block or remove villager trades based on a configurable list of items and enchantments.

Features

  • Full item blocking - specify item/material name you want to block
  • Blocking by enchantments - if an item contains one of the specified enchantments, the trade will be blocked. You can also specify level of blocked enchantment. If not set all levels of the enchantment will be blocked.
  • Two modes of operation
    • Block trade — the trade remains visible but cannot be used/restock.
    • Remove trade — the blocked trade disappears from the villager’s interface. WARNING: This will permanently delete the trade, and it will not be restored even if you remove the item from the blocked list.

Configuration example

# BlockVillagerTrades Config File

# mode property specifies how to handle items from blocked-items. 
# "block" set maxUses for the trade to 0
# "remove" removes the trade completely. WARNING: This will delete trades permanently 
# and not restore them when the item is removed from the blocked-items list.
mode: block

# if true plugin will affect Wandering Traders
block-wandering-trader-items: false

blocked-items:
  # you can block items by their material name
  - EMERALD
  - ENCHANTED_BOOK:
      # you can also block specific enchantments on items
      enchantments:
        # if no level is specified, all levels of the enchantment are blocked
        - MENDING
        # also you can specify levels
        - UNBREAKING: 3
        - EFFICIENCY: 4
        - EFFICIENCY: 5
  - DIAMOND_PICKAXE:
      enchantments:
        - SILK_TOUCH
        - FORTUNE: 3
  - DIAMOND_AXE
  - DIAMOND_SHOVEL
  - DIAMOND_SWORD

Use cases

  • Prevent trades with rare or overpowered items
  • Restrict trades with enchanted books
  • Balance the server economy without altering vanilla mechanics

Links


Feel free to suggest some features or report bugs. My email: nxgr.dev@gmail.com

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
PointCoordinates

价格:0 墨喵币
下载量:0

查看详情
ArduinoCraft

价格:0 墨喵币
下载量:0

查看详情
Mystical Automation

价格:0 墨喵币
下载量:0

查看详情
Elytra (Red Dragon)

价格:0 墨喵币
下载量:0

查看详情