[NOTE!] Due to changes to storage, it is HIGHLY recommended you backup your database.db file before you update this plugin. If you notice any bugs please report them immediately in the Discord server.
As always, it is always encouraged to test new plugins/updates on a test server before you apply them live.
Added more storage options. All options are now: SQLite (Default), MySQL, PostgreSQL, and MariaDB.
# Database handling.
database:
# Which data provider should be used?
# Current list: SQLITE, MYSQL, MARIADB, POSTGRESQL
provider: SQLITE
# Credentials for the data provider. Only required for MYSQL, MARIADB, POSTGRESQL
host: localhost
port: 3306
database: econoblocks
username: username
password: password
Added setting to control decimals and rounding.
rewards:
economy:
# If enabled, economy loot with ranges will allow decimals. If disabled, they will be rounded.
allow-decimals: true
# Modes: CEIL, FLOOR, NEAREST
# CEIL - Rounds up to the nearest whole number.
# FLOOR - Rounds down to the nearest whole number.
# NEAREST - Rounds to the nearest whole number.
round-mode: NEAREST
Updated dependencies.
Confirming that this version works on the latest version of Minecraft (1.21.3)
Added Official support for 1.21
Added the ability to allow item rewards to drop naturally.
To use this feature, add this to your config.yml.
# Let the given rewards drop on the ground? Only works for item rewards.
drop-on-ground: true
Fixed formatting for custom items placeholder.
Added custom block hooks now generate all the blocks in their hook files (if plugin allows it).