Advanced Minecraft Recipe Management Plugin Extensive Recipe Support · Trigger System · Script Engine · GUI Interface · Item Plugin Integrations
Why Craftorithm
- Matches items by other plugin-provided item ID — renaming, adding enchantments, or even changing item types won't affect crafting
- Implements functionality by injecting into the vanilla crafting system — performance far surpasses plugins that rely on event listeners, with full support for all vanilla features
- Disable recipes from vanilla or other plugins
- Result processors, triggers, custom chest menus, and other powerful customization features
Features
Quick Start
Requirements
- Java: 21 or higher
- Server: Paper / Spigot 1.20+ (Folia supported)
Installation
- Download from SpigotMC, Modrinth, or GitHub Releases
- Place the JAR file in the
plugins/directory - Restart the server
Create Your First Recipe
/cra create vanilla_shaped
Place ingredients and result items in the GUI, then click confirm. Recipes are automatically saved to plugins/Craftorithm/recipes/.
Powerful Configuration
Result Processors
Result processors allow you to apply additional modifications to crafting results, for example:
result_processors:
enchantments:
type: copy_from_source
lore:
type: add
data:
value:
- "&7Legendary Weapon"
- "&aForged in the Nether"
attributes:
type: merge_source
Supports copy_from_source / add / merge_source / remove strategies for various component types including enchantments, attributes, lore, item flags, and more.
Documentation
| Module | Description |
|---|---|
| Quick Start | Installation, commands, permissions |
| Recipe System | Multiple recipe types explained |
| Trigger System | Event listeners and conditions |
| Script Engine | Syntax and built-in functions |
| Item System | Custom items and external plugins |
| Configuration | Configuration reference |
| UI System | GUI and custom menus |
bStats
How to Install Craftorithm (Plugin)
Craftorithm by YufiriaMazenta is verified for Bukkit, Folia, Paper, Purpur, Spigot across Minecraft versions 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4 (latest release: 1.15.1.0, file size: 1.5 MB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4) and platform (Bukkit, Folia, Paper, Purpur, Spigot).
- Make sure you have the compatible loader or environment installed for Bukkit, Folia, Paper, Purpur, Spigot.
- Move the downloaded Craftorithm file into your Minecraft
.minecraft/pluginsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
|
R
1.15.1.0
|
2mo ago | 323 | |||
|
R
1.15.0.0
|
2mo ago | 162 | |||
|
R
1.14.2.0
|
2mo ago | 108 | |||
|
R
1.14.1.1
|
2mo ago | 81 | |||
|
R
1.14.1.0
|
2mo ago | 65 | |||
|
R
1.14.0.0
|
2mo ago | 54 | |||
|
R
1.13.7.3
|
2mo ago | 46 | |||
|
R
1.13.7.2
|
2mo ago | 40 | |||
|
R
1.13.7.1
|
2mo ago | 36 | |||
|
R
1.13.7.0
|
2mo ago | 32 | |||
|
R
1.13.6.0
|
2mo ago | 29 | |||
| 2mo ago | 27 | ||||
| 2mo ago | 25 | ||||
|
R
1.13.5.0
|
2mo ago | 23 | |||
|
R
1.13.3.0
|
2mo ago | 22 | |||
|
R
1.13.2.0
|
2mo ago | 20 | |||
|
R
1.13.1.0
|
2mo ago | 19 | |||
|
R
1.13.0.0
|
2mo ago | 18 | |||
|
R
1.12.2.0
|
2mo ago | 17 | |||
|
R
1.12.1.0
|
2mo ago | 16 | |||
| 2mo ago | 15 | ||||
| 2mo ago | 15 | ||||
| 2mo ago | 14 | ||||
|
R
1.12.0.0
|
2mo ago | 13 | |||
| 2mo ago | 13 | ||||
| 2mo ago | 12 | ||||
| 2mo ago | 12 | ||||
|
R
1.11.2.0
|
2mo ago | 12 | |||
| 2mo ago | 11 | ||||
| 2mo ago | 11 | ||||
|
R
1.10.26
|
2mo ago | 10 | |||
|
R
1.10.25
|
2mo ago | 10 | |||
|
R
1.10.22
|
2mo ago | 10 | |||
|
R
1.10.20
|
2mo ago | 10 | |||
|
R
1.10.19
|
2mo ago | 9 | |||
|
R
1.10.18
|
2mo ago | 9 | |||
|
R
1.10.17
|
2mo ago | 9 | |||
| 2mo ago | 9 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 8 | ||||
|
R
1.10.12
|
2mo ago | 8 | |||
|
R
1.10.11
|
2mo ago | 8 | |||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
| 2mo ago | 7 | ||||
|
R
1.10.4
|
2mo ago | 6 | |||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
| 2mo ago | 5 | ||||
|
R
1.8.7
|
2mo ago | 5 | |||
|
R
1.8.6
|
2mo ago | 5 | |||
|
R
1.8.5
|
2mo ago | 5 | |||
|
R
1.8.4
|
2mo ago | 5 | |||
| 2mo ago | 5 | ||||
|
R
1.8.2
|
2mo ago | 5 | |||
|
R
1.8.1
|
2mo ago | 4 | |||
|
R
1.8.0
|
2mo ago | 4 | |||
|
R
1.7.4
|
2mo ago | 4 | |||
|
R
1.7.3
|
2mo ago | 4 | |||
|
R
1.7.2
|
2mo ago | 4 | |||
|
R
1.7.1
|
2mo ago | 4 | |||
|
R
1.7.0
|
2mo ago | 4 | |||
|
R
1.6.1
|
2mo ago | 4 | |||
|
R
1.6.0
|
2mo ago | 4 | |||
|
R
1.5.2
|
2mo ago | 4 | |||
|
R
1.5.1
|
2mo ago | 4 | |||
|
R
1.5.0
|
2mo ago | 4 | |||
|
R
1.4.6
|
2mo ago | 4 | |||
|
R
1.4.5
|
2mo ago | 4 |
1. **破坏性更新:** 重构插件权限结构,具体权限请查看[插件文档](https://yufiriamazenta.github.io/Craftorithm-Docs/guide/permissions) | **Breaking change:** Refactored the plugin's permission structure. For specific permissions, please refer to the [plugin documentation](https://yufiriamazenta.github.io/Craftorithm-Docs/en/guide/permissions).
2. 配方编辑器菜单新增删除配方按钮 | Added a delete recipe icon to the recipe editor menu.
3. 酿造配方展示菜单兼容服务器本身的酿造配方 | The brewing recipe display menu now supports the server's builtin brewing recipes.
4. 添加
recipe_load类型触发器,在Craftorithm加载配方时触发,具有字段recipe_key,表示为本次加载的配方key | Added a recipe_load trigger type that fires when Craftorithm loads recipes, with a recipe_key field indicating the key of the recipe being loaded.5. 添加
discover_recipe_all和undiscover_recipe_all函数,用于给在线的全体玩家解锁配方 | Added discover_recipe_all and undiscover_recipe_all functions to unlock recipes for all online players.6. 修复26.2及以上版本如果禁用了原版的工作台转换配方,会导致插件无法正常重载配方的问题 | Fixed an issue where, on versions 26.2 and above, disabling vanilla crafting table transmute recipes would prevent the plugin from reloading recipes properly.
1. spigot 26.3服务端现在也支持创建酿造配方 | Spigot 26.3 servers now also support creating brewing recipes.
2. 新增命令
/craftorithm item getgroupitem <tag>/<item_pack>命令, 用于获取在配方相关菜单中使用的物品标签或物品包占位物品 | Added the command /craftorithm item getgroupitem <tag>/<item_pack>, used to obtain the placeholder item for an item tag or item pack used in recipe menus.3. 新增设置配方在指定世界才能使用的功能 | Added the ability to make recipes usable only in specified worlds.
4.
/craftorithm item命令下的子命令不再需要单独权限 | Subcommands under the /craftorithm item command no longer require separate permissions.5. 修复酿造配方如果材料不能用于合成的情况下,不能正确拦截酿造的问题 | Fixed an issue where plugin could not correctly block brewing when the ingredients could not be used for crafting.
6. 修复铁砧配方的材料数量在菜单里表现异常的问题 | Fixed an issue where the material count of anvil recipes was displayed incorrectly in the menu.
7. 优化代码结构和性能 | Optimized code structure and performance.
1. 新增PostgreSQL支持 | Added PostgreSQL support.
2. 脚本函数
discover_recipe和undiscover_recipe现在可以也使用正则表达式匹配配方 | The script functions discover_recipe and undiscover_recipe can now also use regular expressions to match recipes.3. 新增脚本函数
recipe_discovered,返回玩家是否解锁了某个配方 | Added a new script function recipe_discovered, which returns whether a player has unlocked a specific recipe.4. 优化插件代码结构和性能 | Optimized plugin code structure and performance.
1. 优化插件在禁用时的资源释放策略 | Optimized the resource release strategy when the plugin is disabled.
1. 插件提供的
ItemProvider 接口发生了改变,因此为旧版本编写的物品源插件需要额外适配才能兼容此版本 | The ItemProvider interface provided by the plugin has changed, so item provider plugins written for older versions need extra adaptation to be compatible with this version2. 物品组内不再能设置物品数量,所有数量都必须在配方文件中定义 | Item amounts can no longer be defined inside item packs; all amounts must be defined in the recipe files
### 常规更新 | Regular Changes
1. 兼容Minecraft 26.3 | Compatible with Minecraft 26.3
2. 铁砧配方材料使用物品组时现在支持指定数量,例如
item_pack:物品组名 4 | Item pack ingredients in anvil recipes now support specifying an amount, e.g. item_pack:pack_name 43. 新增插件重载与服务器启动完成后从数据库恢复在线玩家已解锁配方的功能 | Added restoring online players' discovered recipes from the database after plugin reload and server startup
4. 修复玩家在配方未注册完毕时加入服务器会导致已经解锁的配方被取消解锁的问题 | Fixed an issue where joining the server before recipe registration completed would cause already unlocked recipes to be locked again
5. 修复重载期间合成限制规则会短暂失效,导致本应被拦截的合成得以进行的问题 | Fixed an issue where ingredient restriction rules briefly stopped working during reload, allowing crafting that should have been blocked
6. 修复
item_packs.yml 中使用 tag: 或嵌套引用其他物品组(item_pack:组名)的条目无法解析的问题 | Fixed item pack entries in item_packs.yml using tag: or nested item pack references (item_pack:pack_name) failing to parse7. 修复
/craftorithm item fuel add 在手持多个物品时会向 custom_fuels.yml 写入带数量的无效配置键的问题,历史无效键需手动清理 | Fixed /craftorithm item fuel add writing invalid config keys containing amounts to custom_fuels.yml when holding a stack; existing invalid keys need to be removed manually8. 修复数据库连接池的连接数上限、心跳启动时机与空闲连接驱逐逻辑,以及 DAO 语句与结果集未关闭导致的资源泄漏 | Fixed database connection pool connection limits, heartbeat startup timing and idle connection eviction, as well as resource leaks from unclosed DAO statements and result sets
9. 修复特定情况下保存物品时出现并发修改异常的问题 | Fixed a ConcurrentModificationException when saving items under certain conditions
10. 修复假结果预览功能在特定时序下可能报空指针的问题 | Fixed a NullPointerException in the fake result preview feature under certain timing
11. 修复自定义菜单加载失败时打开回调会被执行两次的问题 | Fixed the open callback of custom menus being invoked twice when menu loading fails
12. 修复重载时触发器数据在异步线程与主线程之间存在的并发问题 | Fixed a concurrency issue with trigger data between the async reload thread and the main thread
13. 优化内部代码结构,清理无引用代码 | Optimized internal code structure and removed unreferenced code
1. 新增基于数据库的跨服配方解锁数据同步功能 | Added database-based cross-server recipe unlock data synchronization functionality.
2. 修复铁砧配方在没有铁砧类型触发器情况下无法合成的问题 | Fixed an issue where anvil recipes could not be crafted without an anvil-type trigger
1. 修复在插件重载时, 如果被禁用的配方数量非常多, 可能会导致服务器网络带宽被瞬间占满的问题 | Fixed an issue where a large number of disabled recipes could instantly saturate the server's network bandwidth during plugin reload
1. 修复
crafting触发器无法作用于合成器的问题 | Fixed a bug where crafting type triggers did not work on the crafter2. 修复在
crafting, smithing和anvil类型触发器的conditions里执行close动作关闭容器会吞掉物品的问题 | Fixed a bug where executing the close action in the conditions of crafting, smithing, and anvil triggers would cause the crafting ingredients to disappear3. 触发器的enabled配置键更名为enable(保留对旧版enabled的兼容) | Renamed the
enabled config key in triggers to enable (with backward compatibility for the old enabled key).1. 修复MMOItems物品无法在异步线程加载的问题 | Fixed the issue where MMOItems items could not be loaded in asynchronous threads.
2. 优化配方创建和编辑页面配方加载流程 | Optimized the recipe loading process in the recipe creator and editor
1. 优化插件重载代码,通过多线程并行加载的方式降低性能占用 | Optimized plugin reload by using multi-threaded parallel loading to reduce performance overhead
2. 新增命令
/craftorithm restore <recipe_id>,用于恢复被禁用的配方 | Added command /craftorithm restore <recipe_id> to re-enable disabled recipes3. 新增配置项
ingredient_use_set_threshold,用于配置配方材料的匹配方式 | Added config option ingredient_use_set_threshold to configure recipe ingredient matching behavior4. 优化重载提示消息 | Optimized reload notification messages
5. 优化插件代码结构 | Optimized plugin code structure
6. 优化配方材料匹配性能 | Optimized recipe ingredient matching performance
7. 优化无序配方性能表现 | Optimized shapeless recipe performance
8. 优化触发器性能表现 | Optimized trigger performance
9. 修复被禁用的配方在reload后无法恢复的问题 | Fixed disabled recipes not being restored after reload
- 注意,从旧版本升级到此版本建议删除
menus/internal/display文件夹让其重新生成**
- Note: If upgrading from a previous version, please delete the
menus/internal/displayfolder to let it regenerate**
### 更新内容 | Update Contents
1. 结果处理器现在允许第三方插件注册新的操作类型 | Result processors now allow other plugins to register new action types
2. Craftorithm物品源现在也可以在
item_plugin_hook_priority配置项里配置优先级 | Craftorithm item sources can now also have priority configured via the item_plugin_hook_priority config option3. 修复切石机配方在插件自带的查看页面材料显示错误的问题 | Fixed an issue where stonecutter recipe ingredient were displayed incorrectly in the recipe display menu
4. 修复熔炉、烟熏炉、营火、锻造转化配方展示页面的错误文本 | Fixed incorrect text on the display menus for furnace, smoker, campfire, and smithing transform recipes
1. 修复1.13.5.1版本插件在Folia端无法启动的问题 | Fixed an issue where the plugin failed to enable on Folia servers in version 1.13.5.1
2. 修复结果处理器对于
display_name, item_name和lore的add操作不能解析颜色代码的问题 | Fixed an issue where the result processor could not parse style codes for the add operation on display_name, item_name, and lore3. 现在
lore、display_name和item_name类型的结果处理器支持在add时解析PlaceholderAPI变量 | Result processors of type lore, display_name, and item_name now support parsing PlaceholderAPI variables during add operations- 此版本没有任何新增特性,只是对插件的整体性能表现进行了大幅度优化**
- This version does not introduce any new features; it is solely focused on significantly optimizing the plugin's overall performance**
### 更新内容 | Update Contents
1. 优化ItemManager匹配物品id的性能 | Optimized the performance of ItemManager when matching item id.
2. 优化CraftorithmItemProvider匹配物品id的性能 | Optimized the performance of CraftorithmItemProvider in matching item id
3. 优化触发器冷却的内存消耗 | Optimized memory consumption of trigger cooldowns
4. 优化NamespacedItemId.toString性能开销 | Optimized the performance overhead of NamespacedItemId.toString()
5. 优化配方加载性能 | Optimized recipe loading performance
6. 优化UI创建、编辑配方性能开销 | Optimized performance overhead of UI recipe creation and editing
7. 修复一些可能导致内存泄漏的问题 | Fixed some issues that could cause memory leaks
1.
blocked_crafting_lore_rules配置项由ingredient_restriction_rules替代,用于配置规则拦截物品用于合成 | The blocked_crafting_lore_rules config option has been replaced by ingredient_restriction_rules, which is used to configure rules that block items from being used in crafting ( @YufiriaMazenta )2. 修复[#142](https://github.com/YufiriaMazenta/Craftorithm/issues/142) | Fixed [#142](https://github.com/YufiriaMazenta/Craftorithm/issues/142) ( @YufiriaMazenta )
1. 新增
prepare_grindstone和trade_select类型的触发器 | Added prepare_grindstone and trade_select trigger types2. 脚本系统新增函数
match_item_id,用于识别物品的id | Added match_item_id function to the script system for identifying item id3. 脚本系统新增全局变量
server、recipe_manager、item_manager,可在触发器、script命令、UI中使用 | Added global variables server recipe_manager item_manager to the script system, which can now be used in triggers, the script command, and menus4. 现在script子命令返回使用的纳秒数而不是毫秒数 | The script subcommand now returns the time taken in nanoseconds instead of milliseconds
5. 新增CustomFishing物品源适配([#138](https://github.com/YufiriaMazenta/Craftorithm/pull/138)) | Added CustomFishing item source adapter ([#138](https://github.com/YufiriaMazenta/Craftorithm/pull/138))
6. 适配EmakiItem 2.7.0版本 | Added support for EmakiItem 2.7.0
7. 修复[#136](https://github.com/YufiriaMazenta/Craftorithm/issues/136) | Fixed [#136](https://github.com/YufiriaMazenta/Craftorithm/issues/136)
8. 修复[#139](https://github.com/YufiriaMazenta/Craftorithm/issues/139) | Fixed [#139](https://github.com/YufiriaMazenta/Craftorithm/issues/139)