BLRecipeLimit
移除或限制服务器上的任何合成配方,并阻止玩家已持有的物品被放置、使用或爆炸。 工作台、熔炉、高炉、烟熏炉、营火、切石机、锻造台和制表器均受支持,涵盖原版、数据包和插件的配方。所有内容均可通过游戏内菜单进行管理。
由 BalkanLand Studios 制作。
- Minecraft 1.21.4 → 26.3 及更高版本
- Paper、Purpur、Folia 和 Canvas
- Java 21+
- 无依赖项
功能
- 三种模式。
remove(移除)会从服务器中彻底删除一个配方。block(阻止)保留该配方但禁止玩家使用它,从而允许设置按世界规则、绕过权限和自定义消息。allow(允许)不干预合成,仅用于限制使用的规则。
- 使用限制,AntiCrystal 风格。 任何规则还可以阻止其物品被放置、使用或爆炸,即使是玩家已经拥有的物品。末影水晶、重生锚、床、TNT 和 TNT 矿车均在覆盖范围内:包括击碎水晶、充能锚点、在地狱睡觉、发射器、火焰和红石。末地柱上的水晶和龙重生机制不受影响。
- 游戏内菜单。 查看所有规则和所有被阻止的项目,开启/关闭规则,更改模式和限制,从可搜索列表中选择配方,通过在背包中点击添加物品,并选择世界。
- 按配方或按物品阻止。 可以使用如
minecraft:diamond_sword 这样的配方、如 TNT 这样的物品、如 #minecraft:beds 这样的物品标签,或使用通配符如 *_bed 和 *_shulker_box。
- 阻止制作物品,而非持有。 阻止
NETHERITE_CHESTPLATE 会阻止升级过程,但玩家保留他们已有的物品。当物品本身应被禁限时,请使用使用限制。
- 按世界规则。 在地狱禁用床,在主世界禁用 TNT,在你的 PvP 世界中禁用水晶,依此类推。
- 自定义消息和菜单。 完全支持 MiniMessage,可编辑的前缀和重新着色每条消息的颜色调色板。每个菜单都是一个 YAML 文件,包含
&#RRGGBB 颜色、小型大写字母、自定义槽位和点击音效。
- 在游戏中编辑。 通过菜单,或使用自动补全所有配方和物品的命令。
- 配方书保持整洁。 被阻止的配方会从配方书中消失,并在解除规则后返回。
- 对服务器轻量级。 被移除的配方在游戏过程中无需开销,且如果没有使用规则,每次检查都会在第一行返回结果。
快速开始
- 将 jar 文件放入
plugins/ 目录并启动服务器。
- 使用
/recipelimit gui 打开菜单,或使用以下命令:
/recipelimit block minecraft:tnt
/recipelimit blockitem end_crystal
/recipelimit check minecraft:tnt
/recipelimit unblock minecraft:tnt
在你添加规则之前,没有任何内容会被阻止。
想要 AntiCrystal? 打开 /recipelimit gui,进入 Rules(规则)并右键单击 anti-crystal 以启用它。水晶和锚点不再可以合成,而已经存在的也无法放置、使用或引发爆炸。
示例规则
rules:
anti-crystal:
mode: remove
results:
- END_CRYSTAL
- RESPAWN_ANCHOR
usage:
place: true
use: true
explode: true
no-explosives:
mode: remove
recipes:
- minecraft:tnt_minecart
results:
- TNT
safe-nether:
mode: block
recipes:
- "minecraft:*_bed"
worlds:
- world_nether
message: "<error>Beds explode down here."
使用限制
| 选项 |
玩家在使用该规则的物品时将无法执行的操作 |
place |
放置它们:方块、末影水晶、矿车、船、盔甲架、物品展示框。发射器也不能放置或射出它们。 |
use |
使用它们:右键点击它们、食用它们,或使用已放置的物品(充能锚点、在床上睡觉、点燃 TNT、击碎水晶)。 |
explode |
让它们爆炸:不会有人受伤,也不会破坏任何东西。原本会爆炸的水晶、锚点或床会直接消失。 |
worlds 和绕过权限同样适用于使用限制。
命令
主命令 /recipelimit(别名 /rlimit)。
| 命令 |
权限 |
/recipelimit gui |
recipelimit.command.gui |
/recipelimit reload |
recipelimit.command.reload |
/recipelimit info |
recipelimit.command.info |
/recipelimit list [rule] |
recipelimit.command.list |
/recipelimit check <recipe> |
recipelimit.command.check |
/recipelimit block <recipe> [rule] |
recipelimit.command.edit |
/recipelimit unblock <recipe> [rule] |
recipelimit.command.edit |
/recipelimit blockitem <item> [rule] |
recipelimit.command.edit |
/recipelimit unblockitem <item> [rule] |
recipelimit.command.edit |
recipelimit.admin 提供对所有功能的访问权限。在菜单中进行的任何更改也需要 recipelimit.command.edit 权限。recipelimit.bypass 允许玩家忽略 block 规则和使用限制,而 recipelimit.bypass.<rule> 则针对单个规则执行相同操作。
未涵盖内容
酿造台、村民交易、铁砧、砂轮、织布机和制图台不属于 Minecraft 中的配方,因此不在本模组的支持范围内。
© BalkanLand Studios
BLRecipeLimit
Remove or restrict any recipe on your server, and stop items players already have from being placed, used or exploding. Crafting tables, furnaces, blast furnaces, smokers, campfires, stonecutters, smithing tables and crafters are all covered, for vanilla, datapack and plugin recipes alike. Everything can be managed from an in-game menu.
Made by BalkanLand Studios.
- Minecraft 1.21.4 → 26.3 and newer
- Paper, Purpur, Folia and Canvas
- Java 21+
- No dependencies
Features
- Three modes.
remove deletes a recipe from the server completely. block keeps it but stops players from using it, which allows per-world rules, bypass permissions and custom messages. allow leaves crafting alone, for rules that only limit usage.
- Usage limits, AntiCrystal style. Any rule can also stop its items from being placed, used or exploding, even the ones players already own. End crystals, respawn anchors, beds, TNT and TNT minecarts are covered all the way: hitting a crystal, charging an anchor, sleeping in the Nether, dispensers, fire and redstone. Crystals on the End pillars and dragon respawns are left alone.
- In-game menu. See every rule and everything blocked, turn rules on and off, change modes and limits, pick recipes from a searchable list, add items by clicking them in your inventory, and choose worlds.
- Block by recipe or by item. Use a recipe like
minecraft:diamond_sword, an item like TNT, an item tag like #minecraft:beds, or wildcards like *_bed and *_shulker_box.
- Stops making an item, not owning one. Blocking
NETHERITE_CHESTPLATE stops the upgrade, but players keep the ones they already have. Use the usage limits when the item itself should be off limits.
- Per-world rules. Disable beds in the Nether, TNT in the overworld, crystals in your PvP world, whatever you need.
- Custom messages and menus. Full MiniMessage support, an editable prefix and a colour palette that recolours every message. Every menu is a YAML file with
&#RRGGBB colours, small caps, custom slots and click sounds.
- Edit in game. From the menu, or with commands that tab-complete every recipe and item.
- Recipe books stay clean. Blocked recipes disappear from the recipe book and come back when you lift the rule.
- Light on the server. Removed recipes cost nothing while playing, and with no usage rules every check returns on its first line.
Quick start
- Drop the jar into
plugins/ and start the server.
- Open the menu with
/recipelimit gui, or use a command:
/recipelimit block minecraft:tnt
/recipelimit blockitem end_crystal
/recipelimit check minecraft:tnt
/recipelimit unblock minecraft:tnt
Nothing is blocked until you add a rule.
Want AntiCrystal? Open /recipelimit gui, go to Rules and right-click anti-crystal to turn it on. Crystals and anchors can no longer be crafted, and the ones already out there can't be placed, used or blow anything up.
Example rules
rules:
anti-crystal:
mode: remove
results:
- END_CRYSTAL
- RESPAWN_ANCHOR
usage:
place: true
use: true
explode: true
no-explosives:
mode: remove
recipes:
- minecraft:tnt_minecart
results:
- TNT
safe-nether:
mode: block
recipes:
- "minecraft:*_bed"
worlds:
- world_nether
message: "<error>Beds explode down here."
Usage limits
| Option |
What players can no longer do with the rule's items |
place |
Place them: blocks, end crystals, minecarts, boats, armor stands, item frames. Dispensers can't place or fire them either. |
use |
Use them: right-click with them, eat them, or use one already placed (charge an anchor, sleep in a bed, light TNT, hit a crystal). |
explode |
Let them explode: nobody gets hurt and nothing breaks. A crystal, anchor or bed that would explode just disappears. |
worlds and the bypass permissions work for usage limits too.
Commands
Main command /recipelimit (alias /rlimit).
| Command |
Permission |
/recipelimit gui |
recipelimit.command.gui |
/recipelimit reload |
recipelimit.command.reload |
/recipelimit info |
recipelimit.command.info |
/recipelimit list [rule] |
recipelimit.command.list |
/recipelimit check <recipe> |
recipelimit.command.check |
/recipelimit block <recipe> [rule] |
recipelimit.command.edit |
/recipelimit unblock <recipe> [rule] |
recipelimit.command.edit |
/recipelimit blockitem <item> [rule] |
recipelimit.command.edit |
/recipelimit unblockitem <item> [rule] |
recipelimit.command.edit |
recipelimit.admin gives access to everything. Changing anything in the menu also needs recipelimit.command.edit. recipelimit.bypass lets a player ignore block rules and usage limits, and recipelimit.bypass.<rule> does the same for a single rule.
Not covered
Brewing, villager trades, anvils, grindstones, looms and cartography tables are not recipes in Minecraft, so they are out of scope.
© BalkanLand Studios
评论 0
登录后参与评分
还没有评论,来抢沙发吧