Features

- Auto crafting item while player is mining
- Support item crafting from: Vanilla, MMOItems, ItemsAdder, Oraxen,
ExecutableItems
- Custom toggle crafting for all item and for per item
- Register custom command for toggle craft per item
- Required Java 17+

Commands
/stc reload - Reload Files
/stc toggle - Toggle auto craft for all item
You can create custom command for toggle auto craft for per item in config.yml



Permissions
stc.admin - Permission for admin
stc.toggle - Permission to toggle auto craft (all item)
stc.toggle.<id> - Permission to toggle auto craft per item



Files

Config.yml

settings:
  debug: false
  prefix: "<white>[ <yellow>STC</yellow> ]"

default_toggle_item:
  all: false
  per: false

toggle:
  coal: #permission for player can use command is stc.toggle.coal
    display: "<gray>AutoCraft Coal"
    command: #If you don't want to use command for this, you can delete this
      register: true #If true -> after restart player can tab this command, else still can use command but can't tab
      alias: coalcrafttoggle #command
    item: MMOITEMS;MATERIAL;COAL_CRAFT #When this item is in player inventory -> Auto crafting is enable
    contain:
      - VANILLA;COAL;1
      - MMOITEMS;MATERIAL;COAL;1
      - MMOITEMS;MATERIAL;COAL_ORE;1
      - MMOITEMS;MATERIAL;COAL_BLOCK;1

craft:
  # Custom item:
  # ItemsAdder: ITEMSADDER;CUSTOM_ID;AMOUNT
  # Oraxen: ORAXEN;CUSTOM_ID;AMOUNT
  # MMOItems: MMOITEMS;TYPE;ID;AMOUNT
  # ExecutableItems: EXECUTABLEITEMS;ID;AMOUNT
  # Vanilla: VANILLA;TYPE;AMOUNT
  VANILLA;COAL;1:
    ingredient:
      - VANILLA;COAL_ORE;1 #1 coal_ore -> 1 coal
  MMOITEMS;MATERIAL;COAL;1:
    ingredient:
      - VANILLA;COAL;64 #64 vanilla coal -> 1 mmoitems custom coal
  MMOITEMS;MATERIAL;COAL_ORE;1:
    ingredient:
      - MMOITEMS;MATERIAL;COAL;64
  MMOITEMS;MATERIAL;COAL_BLOCK;1:
    ingredient:
      - MMOITEMS;MATERIAL;COAL_ORE;64


Message.yml

admin:
  reload_files: "<aqua>Reloaded Files!"
  help:
    - "<yellow>/stc reload - reload files"
user:
  toggle: "<gray>AutoCraft Status: #status#"
  per_item: "<gray>#item# Status: #status#"
  permission: "<red>You don't have permission to do this <yellow>(stc.toggle)"
  status:
    status_on: "<green>On</green>"
    status_off: "<red>Off</red>"
  help:
    - "<yellow>/stc toggle - Toggle auto crafting - stc.toggle"



Spoil