Changed the format of the prices.yml file. You now have more options for defining a price.
(You must reset your configuration file !)
Code (YAML):
prices
:
# Price items if their name contains an element
- type
:
"zauctionhouse:names_contains"
minPrice
: 100
maxPrice
: 1000
key
:
"Custom Sword"
# Price of items with a custom model id
- type
:
"zauctionhouse:similar_model_id"
minPrice
: 100
maxPrice
: 1000
key
: PAPER
# Material name (https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html)
modelId
: 10001
# Price of items with lore contains key
- type
:
"zauctionhouse:contains_lore"
minPrice
: 100
maxPrice
: 1000
key
:
"Cosmetics"
# Price of items with lore contains key
- type
:
"zauctionhouse:material_similar"
minPrice
: 100
maxPrice
: 1000
key
: STONE_HOE
# (https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html)
NONE type added for messages.
Various corrections to thread usage (ActionBar / SqlManager).
Several options added to config.json file for item sales.