Treasure Mining icon

Treasure Mining -----

Custom Command Rewards when breaking blocks, diminishing returns, max amounts, and more




Cleaned up some code to exit loops quicker

- UPDATED CONFIG TO VERSION 3

- World list can now be left empty to ignore world check

- Added world_restriction and region_restriction to config, they can be whitelist or blacklist, whitelist is the default if the option is not present.

Code (Java):
config_version : 3

world_restriction : "whitelist" #or blacklist
worlds :
  - world
  - world_nether

region_restriction : "whitelist" #or blacklist
regions :
  - myregion
----------, Dec 18, 2023

Nothing important, just some efficiency and code improvements
----------, Nov 26, 2023

After adding regions, please update config version to '2'!

Now you can choose specific WorldGuard Regions to shower rewards, Enjoy!

You may choose to backup and regenerate config yourself, or copy-paste.
Here is where the config change is:
Code (YAML):

worlds
:
 - world
 - world_nether
 - world_the_end
regions
:
 - myregion
Or to keep regions empty
regions: []
----------, Nov 21, 2023

Added bStats to help motivation with maintaining this project, Thank you to all who are using it, I appreciate you! And please keep requesting features!
----------, Nov 17, 2023

Instead of accessing the playerData file every block break, which is expensive on resources, data is now loaded and stored in the plugin and only saves to playerData file every 10 minutes, when the plugin is reloaded, and when the plugin is disabled.

The only time you should see a problem with losing up to 10 minutes of data, is if your server crashes.
----------, Nov 14, 2023

Cleaned up a lot of static methods
No need to update config, unless you need more examples of rewards and improved comments.
----------, Nov 13, 2023

If region/world is protected, dont give rewards.
----------, Nov 12, 2023

Resource Information
Author:
----------
Total Downloads: 1,028
First Release: Nov 12, 2023
Last Update: Dec 18, 2023
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings