Econoblocks icon

Econoblocks -----

Give players rewards for mining blocks | 1.8 - 1.21 | Dupe Protection | ItemsAdder Support



Update 2.2.0 | More storage, reward rounding
[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.
----------, Jul 18, 2025
Resource Information
Author:
----------
Total Downloads: 4,055
First Release: Apr 10, 2021
Last Update: Jul 18, 2025
Category: ---------------
All-Time Rating:
7 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings