Перейти к содержимому
Mineforgian

Econoblocks

Give players rewards for mining blocks | 1.8 - 1.21 | ItemsAdder - Oraxen - Nexo Support

Загрузки
2K
Подписчики
3
Обновлён
18 июля 2025 г.
Лицензия
GPL-3.0-only

Опубликован 4 мая 2024 г.

Исходный код

Craftidraw Banner

Discord Static Badge Static Badge

This plugin requires Vault.
This plugin also utilizes bStats.

Econoblocks

Overview

Enable your players to earn rewards for breaking all sorts of blocks on the server. Make your server even more rewarding with custom multipliers with your permission groups, or assign players their own! With support to custom blocks and items - customize the plugin all you want.

Features

DUPE PROTECTION
Stop players from duplicating rewards with built-in safety measures. The plugin will remember blocks your users have placed, moved, and transformed.

LOOT TABLES
This plugin supports loot and loot tables. You can have 5 different loot types.

Economy | Rewards money from the defined economy.
Item | Rewards items.
Custom Item | Rewards custom items from the defined item plugin.
Potion | Rewards potion effects.
Command | Runs commands.

Loot tables can be enhanced with conditionals, such as world, biome, permission requirements and more.

MULTIPLIERS
This plugin supports multiple types of multipliers you can assign to your players. These multipliers buff the amount of money made from Economy loot.

Block | Multiplier for what block a player mined.
Tool | Multiplier for what tool a player used to break the block.
World | Multiplier for what world the block was mined in.

GROUPS
Set groups to your players or ranks that contain different multiplier sets.

DROP RATES
Distribute different rates of rewards for each block. Each value with its own weight within the drop table.

PLUGIN SUPPORT

  • ItemsAdder
  • Oraxen
  • Nexo
  • MMOItems
  • TokenManager
  • PlayerPoints
  • DecentHolograms
  • PlaceholderAPI

BLACKLIST
Prevent money gain from specific worlds.

CUSTOMIZABLE
All messages are customizable, and some messages add placeholders you can use to your heart's content.​

Screenshots

Rewards from blocks

Rewards by chance

Commands

DEFAULT
/econoblocks - Brings up a help guide.
/econoblocks toggle - Toggles income messages.

ADMIN
/econoblocks profile - Checks the user for multipliers they may have.
/econoblocks check <block/custom> - Checks the loot profile of a block.
/econoblocks multiplier add <block/tool/world/custom_block/custom_tool> - Assigns a multiplier to a user.
/econoblocks multiplier remove <block/tool/world/custom_block/custom_tool> - Removes a multiplier from a user.
/econoblocks reload - Reloads the plugin.​

Permissions

econoblocks.toggle - Grants toggle command (Default)
econoblocks.profile - Grants profile command.
econoblocks.check - Grants check command.
econoblocks.multiplier - Grants multiplier command.
econoblocks.reload - Grants reload command.
econoblocks.admin - Grants all permissions.
econoblocks.group. - Gives a user a multiplier group.​

Partners

Help me get coffee by using my partner codes!

Nord

Bisect

Stats

BSTATS

Ченджлог

2.2.0Релиз1.21.6, 1.21.7, 1.21.8 · 18 июля 2025 г.

[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.

2.1.2Релиз1.21.2, 1.21.3, 1.21.4 · 10 января 2025 г.
  • Added Nexo support.
2.1.1Релиз1.21.1, 1.21.2, 1.21.3 · 21 ноября 2024 г.
  • Fixed a potential startup error that involves dependency injection.
  • Fixed the action bar coloring not working as intended.

Confirming that this version works on the latest version of Minecraft (1.21.3)

2.1.0Релиз1.20.5, 1.20.6, 1.21 · 10 июля 2024 г.

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).

2.0.1Релиз1.20.4, 1.20.5, 1.20.6 · 12 мая 2024 г.
  • Allowed Economy rewards to include decimals.
  • Fixed an issue conflicting with /help commands from other plugins.
  • Added {amount_rounded} placeholder.
2.0.0Релиз1.20.4, 1.20.5, 1.20.6 · 5 мая 2024 г.

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 . 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.

Комментарии

Загружаем…