[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.
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).
Econoblocks Update 2.0.0 is a massive update to how the plugin functions and MANY configurations from 1.0.0 will not work. Back up and update your files accordingly. You may find information and tutorials on the wiki. https://wiki.flrp.dev/free/econoblocks
Implemented Loot Tables and a New Loot System. This loot system expands on the usual economy drops. The plugin now supports commands, items, custom items, and even potion effects. Loot is now able to have minimum and maximum ranges for drops.
The loot system supports default loot tables for all blocks, including an exclusion feature to rid a block of giving any reward.
Conditionals are also implemented to make loot tables only available in certain conditions.
Added More Hook Support. A lot of hooks have been added and expanded. Plugins that are now supported are Oraxen, MMOItems, DecentHolograms, and more to come.
Built-in holograms and animations have been removed due to the reported issues. To use holograms, you will need a hologram plugin Economobs can hook into.
Changed some commands and added /econoblocks profile <user>. The check command is used to check loot profiles, while profile is used to check a players' multiplier profile.
Permissions have been made less vague and each command has its own permission.
Reworked Messages. The language file now uses proper placeholders, and has a ton of more options to support the new updates. Messages are now more graceful with decimals. PlaceholderAPI support is included and now any player replaced PAPI placeholder may be parsed in the reward message. Econoblocks also now has PAPI placeholders.
Titles are now a message type.
Thank you for waiting for this update. If you encounter any issues, please join the discord.