You need to delete SQLITE file if you use it
Fixed several bugs
- Fixed bug that did not take into account prices with only BUY or SELL
- Database overhaul
- Redesign of the RECIPE system
- I'm sorry, you'll have to configure the recipes yourself in the shop files. I'll try to find a viable automatic solution.
Exemple new system of RECIPE :
Code (YAML):
RUBY:
type
: item
item:
itemsAdder
:
"ruby"
typeDynaShop
: DYNAMIC
buyPrice
: -1
sellPrice
: 2500
sellDynamic:
min
: 2000
max
: 3000
slot
: 19
page
: 3
RUBY_BLOCK:
type
: item
item:
itemsAdder
:
"ruby_block"
typeDynaShop
: RECIPE
recipe:
type
: SHAPED
pattern
:
-
"XXX"
-
"XXX"
-
"XXX"
ingredients:
X
: minerais:RUBY
buyPrice
: -1
sellPrice
: 25000
slot
: 28
page
: 3
For the recipe ingredients, it is: "ShopID:ItemID"
Code (YAML):
# SHAPED Recipe Template
ITEM_ID:
type
: item
item:
material
: MATERIAL_TYPE
# or itemsAdder: "custom_item_id"
quantity
: 1
typeDynaShop
: RECIPE
recipe:
type
: SHAPED
pattern
:
-
"ABC"
# First row of the crafting grid
-
"DEF"
# Second row of the crafting grid
-
"GHI"
# Third row of the crafting grid
ingredients:
A
: shop_id:item_id
# Or you can use a section format
B
: shop_id:item_id
C
:
# Section format example
item
: shop_id:item_id
# Define all characters used in the pattern
buyPrice
: 100
# Buy price or -1 if not buyable
sellPrice
: 10
# Sell price or -1 if not sellable
slot
: 1
page
: 1
# SHAPELESS Recipe Template
ITEM_ID:
type
: item
item:
material
: MATERIAL_TYPE
# or itemsAdder: "custom_item_id"
quantity
: 1
typeDynaShop
: RECIPE
recipe:
type
: SHAPELESS
ingredients:
1
: shop_id:item_id
# Simple format
2
: shop_id:item_id
3
:
# Section format
item
: shop_id:item_id
# Add as many ingredients as needed
buyPrice
: 100
sellPrice
: 10
slot
: 2
page
: 1
# FURNACE Recipe Template
ITEM_ID:
type
: item
item:
material
: MATERIAL_TYPE
# or itemsAdder: "custom_item_id"
quantity
: 1
typeDynaShop
: RECIPE
recipe:
type
: FURNACE
input
: shop_id:item_id
# Simple format
# Or you can use section format:
# input:
# item: shop_id:item_id
experience
: 0.5
# Optional, default 0.1
cookingTime
: 200
# Optional, default 200 ticks
buyPrice
: 100
sellPrice
: 10
slot
: 3
page
: 1