Change prices file !
Changed the format of the prices.yml file. You now have more options for defining a price. (You must reset your configuration file !)
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.
Configurations changes
- Modification of the blacklist system. Creation of the blacklist.yml file
blacklists:
# Blacklist items if their name contains an element
- type: "zauctionhouse:names_contains"
key: "Custom Sword"
# Blacklist of items with a custom model id
- type: "zauctionhouse:similar_model_id"
key: PAPER # Material name (https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html)
modelId: 10001
# Blacklist of items with lore contains key
- type: "zauctionhouse:contains_lore"
key: "Cosmetics"
# Blacklist of items with lore contains key
- type: "zauctionhouse:material_similar"
key: STONE_HOE # (https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html)
- Modifying the default category configuration, you now have examples of how to add specific items to your categories, either by name or by custom model id.
Fix jar
Fixed an error with claim money and enableTransactionMessageOnJoin. This option is now disabled by default and you cannot enable it if you do not have JSON storage.
Claim money
Fixed an error with claim money and enableTransactionMessageOnJoin. This option is now disabled by default and you cannot enable it if you do not have JSON storage.
Somes fixs
Fixed a dupplication issue that was present on some servers.
Fix error with old minecraft version
Fix error with old minecraft version
Somes fixs
- Fix dupe on sell item
- Fix min and max price for inventory selling
- Add search option for /ah config (you can try /ah search price for example)
Fix errors
- Fix error with item economies
- Fix error with a trident
- Fix error with default config files
Transaction + Discord webhook
Fix error
Fix error with uuid generator
UUID change
Add a system who will check if an uuid already exist.
Edit default config files
Changes in the configuration files, they are now more complete with better documentation.
Economy Update
Very important update on how the economies work in the plugin. Now it is possible to add an infinite number of economy in the plugin.
Before updating the plugin make sure that everything works ! In case of problem come directly to the
discord to ask for help !
There has been a very big change in the API, if you use a custom economy you must update your implementation.
Here is the link to the documentation to add your economy:
In this update there are different correction and minor optimization.
Added permission for expiration by grade
You can now create permissions by grade for item expiration.
# Replace '_' by a '.' for your permission
expirations: # Expiration per rank and in secondes
zauctionhouse_expiration_vip: 3600
zauctionhouse_expiration_vipplus: 7200
zauctionhouse_expiration_elite: 259200
Add dupe listener
Added a listener to handle dupplication problems. (thanks to hohosmc)
Add command cooldown
Added a cooldown on orders to prevent spam. By default the cooldown is active and is 5 seconds. Here is the permission that allows to bypass the cooldown: zauctionhouse.admin.bypass.cooldown
Optimisation + fix
Optimization of the /ah search command
Added the possibility to choose only the material to put an item with a minimum and maximum price
Blacklist model id
- Added model id blacklist
- Fix webhook discord