Features
- Auto crafting item while player is mining
- Support item crafting from: Vanilla, MMOItems, MythicMobs, 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
Code (Text):
/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
Code (Text):
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
Code (YAML):
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
# MythicMobs: MYTHICMOBS;ID;AMOUNT
# Vanilla: VANILLA;TYPE;AMOUNT
VANILLA;COAL;1
:
# When required_all: true, you will need all items below ingredient to craft - default is false
required_all
: true
ingredient
:
- VANILLA;COAL_ORE;1
#1 coal_ore -> 1 coal
- VANILLA;COAL_BLOCK;1
#1 coal_block -> 1 coal
MMOITEMS;MATERIAL;COAL;1
:
# When required_all: true, you will need all items below ingredient to craft - default is false
required_all
: true
ingredient
:
- VANILLA;COAL;64
#64 vanilla coal -> 1 mmoitems custom coal
- VANILLA;COAL_BLOCK;64
#64 vanilla coal block -> 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
Code (YAML):
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