Sueta

iCraft - Custom Gui Crafting System

2.1.3

Support NBT items, support MOD items, could custom gui

·Plugin

iCraft
—— Custom Gui Crafting System ——

bstats

Language

  • Chinese & English & Russian : In Jar
  • Russian (Translator: SobrightNVR )

https://drive.google.com/file/d/1t5DZzp2zY0XlBJndd_POI68ra2cJkWgK/view

Video

https://www.bilibili.com/video/av91698498

Image




Features

  • Custom matrix: that is, custom layout Gui decoration, different synthesis panels have different matrices
  • Rich API
  • Support NBT items, support MOD items, support Lore
  • Can switch instead of the original crafting table (when right-clicking on the crafting table)
  • Add and edit with in-game visualization
  • Custom language
  • Compatibility friendly: support many servers and many versions

Compatible

  • Passed the tests of Paper / Spigot-1.12-1.15, Mohist-1.12.2, CatServer-1.12.2
  • Passed kicking out players who were synthesizing, and turned off. No items were swallowed.
  • Support Minecraft-1.12-1.15 (I haven't tested 1.11 and below, it should be supported)
  • Paper/Spigot
  • Mohist
  • CatServer
  • Support NBT items, support MOD items, support Lore

Commands and permissions

/iCraft help 
  description:view command help 
  permissions:icraft.help 
/iCraft openPanel <gui ID> [player] 
  description:open gui 
  permissions:icraft.open 
/iCraft viewRecipe <gui ID> <recipe ID> [player] 
  description:view recipe formula 
  permissions:icraft.admin 
/iCraft addRecipe <gui ID> <recipe ID> 
  description:add recipe formula 
  permissions:icraft.admin 
/iCraft delRecipe <gui ID> <recipe ID> 
  description:delete recipe formula 
  permissions:icraft.admin 
/iCraft editRecipe <gui ID> <recipe ID> 
  description:edit recipe formula 
  permissions:icraft.admin

config.yml

# 语言 Language  
 # 可选 Optional: lang_en lang_cn lang_ru   
language   :   "lang_en"  

 # 设置  
 # setting   
setting   : 
    # 如果是false,右键工作台时打开自定义矩阵合成系统  
   # if false, open custom crafting system  
   # when right click crafting-table  
   # 如果是true,右键工作台时打开原版合成系统-自定义矩阵合成系统选择界面  
   # if true, open vanilla Gui-custom crafting system select Gui  
   # when right click crafting-table   
  default   :  true 
   # 如果打开新型合成系统  
   # 打开的GUI的合成面板ID  
   # if open custom crafting system  
   # open the gui id custom crafting system   
  gui   :  gui 
 # 关于合成系统菜单  
 # about custom crafting system   
inventory   : 
    # 合成系统标题  
   # inventory title  
   #title: '&lcrafting system'   
  title   :  '&l合成系统' 
   # 点击合成按钮的名称  
   # click on the name of the composition button  
   #button: '&7&l[&acomposition&7&l]'   
  button   :  '&7&l  [  &a点击合成&7&l  ]  ' 
   # 关闭按钮的名称  
   # click on the name of the close button  
   #close: '&7&l[&cclose&7&l]'   
  close   :  '&7&l  [  &c关闭&7&l  ]  ' 
 # 关于选择界面 About selection Gui   
selectGui   : 
    #title: "&lPlease select Crafting System"   
  title   :   "&l请选择合成系统"  
   #vanillaGuiButton: "&7&l[&aVanilla Crafting Gui&7&l]"   
  vanillaGuiButton   :   "&7&l[&a原版合成系统&7&l]"  
   #newGuiButton: "&7&l[&aNew Crafting Gui&7&l]"   
  newGuiButton   :   "&7&l[&a新型合成系统&7&l]"

Panel.yml

# 合成面板ID  
 # Gui ID   
gui   : 
    # Crafting System Matrix  
   # 放置所需合成物品的槽位 Slot for the desired synthetic item  
   # 0是第一格,1是第二格,以此推类 0 is the first cell, 1 is the second cell, and so on   
  matrix   : 
    - 10 
    - 11 
    - 12 
    - 13 
    - 19 
    - 20 
    - 21 
    - 22 
    - 28 
    - 29 
    - 30 
    - 31 
    - 37 
    - 38 
    - 39 
    - 40 
   # 合成按钮的槽位 Slot for composite button   
  buttonSlots   : 
    - 16 
   # 合成结果的槽位 Slot of composite result   
  resultSlots   : 
    - 25 
   # 关闭按钮的槽位 Slot of close result   
  closeSlots   : 
    - 43 
 # 你可以添加更多合成面板 You can add more Gui  
 #xxx:  
 #  matrix:  
 #  ...

API
More developer friendly (don't forget to add Recipe.yml and Panel.yml after hook, if you add)
You can check the api package by decompiling

if   (  Bukkit.  getPluginManager   (   )  .  isPluginEnabled   (   "iCraft"   )   )   {  
     saveResource  (   "Recipe.yml"  ,  false   )   ;   // Add if you need to register a recipe  
     saveResource  (   "Panel.yml"  ,  false   )   ;   // Add if panel recipe is needed  
     IManager.  hook   (   this   )   ;  
 }

Similar projects

Plugin →