GreatCompactors

GreatCompactors 是一款插件,允许玩家以 Hypixel Skyblock 的方式自动压缩其背包中的物品。
服务器管理员快速入门
本插件开箱即用。只需将 jar 文件添加到你的 plugins 文件夹并重启服务器即可。
你可以使用 /givecompactor 命令给自己个人压缩机物品。
默认情况下,这些物品在生存模式中无法获取。
你可以自定义获取方式,或者通过我的另一个插件 GreatCrafts 添加制作配方。
该插件默认附带了一些内置配方,但你也可以添加更多。
请参阅下方的配置部分以了解如何添加你自己的配方。
玩家快速入门
一旦获得压缩机,你可以右键点击它来打开菜单。
在每个槽位中,你可以放入你想要获得的物品。
这是合成的输出结果——例如,在菜单中放置一个金块,将会自动将 9 个金锭压缩为 1 个金块。
每次你拾取物品时都会自动执行压缩操作,并设有短暂的冷却时间以防止造成过多卡顿。
配置
配方格式如下:
personal-compactor-recipes:
...
- result: <材料>
result-count: <给予的数量>
ingredients:
<材料1>: <所需数量>
<材料2>: <所需数量>
...
例如,将 9 个金锭压缩为 1 个金块的默认配方是:
- result: GOLD_BLOCK
result-count: 1
ingredients:
GOLD_INGOT: 9
重要说明:
-
对于每一组 ingredients,你将获得 result-count 个 result。
-
配料表中的每一项均为材料(此处为 GOLD_INGOT)及其所需数量(此处为 9)。
-
每个配方可以包含任意数量的配料,且所需的配料数量可以超过 64。
-
不会对配料的 NBT 数据进行精确匹配检查。
-
对于材料名称(result 和 ingredients 中的),请使用 Material 枚举的名称。通常是全大写的 Minecraft /give ID,如果不确定,可以参考 。
指令与权限
/givecompactor(需要 greatcompactors.givecompactor 权限)- 给予玩家一个个人压缩器物品。
错误报告
请在 问题页面 报告您发现的任何错误。
编译
mvn package
GreatCompactors

GreatCompactors is a plugin that allows players to automatically compact items in their inventory, Hypixel Skyblock style.
Quick Start for Server Owners
This plugin works out of the box. Simply add the jar file to your plugins folder and restart your server.
You can give yourself the personal compactor item using /givecompactor.
By default, these are unobtainable in survival.
You can make your own method of getting them, or add a crafting recipe with my other plugin GreatCrafts.
The plugin ships by default with some built-in recipes, but you can add more.
See the configuring section below for how to add your own recipes.
Quick Start for Players
Once you obtain the compactor, you can right click it to open the menu.
In each slot, you can place an item that you want to receive.
This is the output of the craft - for example, placing a gold block in the menu will automatically compact 9 gold ingots into 1 gold block.
Compacting is done automatically every time you pick up an item, with a short cooldown to prevent excessive lag.
Configuring
The recipe format is as follows:
personal-compactor-recipes:
...
- result: <Material>
result-count: <number to give>
ingredients:
<Material 1>: <number required>
<Material 2>: <number required>
...
For example, the default recipe for compacting 9 gold ingots into 1 gold block is:
- result: GOLD_BLOCK
result-count: 1
ingredients:
GOLD_INGOT: 9
Important notes:
- You receive
result-count of result for each set of ingredients.
- Each entry in ingredients is the material (
GOLD_INGOT here) and the amount required (9 here).
- Each recipe can have as many ingredients as you'd like, and the ingredients required can exceed 64.
- Exact NBT matching is not checked for ingredients.
- For the material names (
result and in ingredients), use the Material enum names. It's usually the Minecraft /give ID in all capitals, but you can reference if unsure.
Commands & Permissions
/givecompactor (requires greatcompactors.givecompactor) - Gives the player a personal compactor item.
Bug Reports
Please report any bugs you find on the issues page
Compiling
mvn package
评论 0
登录后参与评分
还没有评论,来抢沙发吧