[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.
Code (YAML):
# 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.
Code (YAML):
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.