PrtMineTreasures | Custom Treasures v1.4.1

Find rewards while mining blocks!
Fix
  • Fixed parameter remove-vanilla-drops not working
Add:
  • Conditions were added to each reward, allowing for greater flexibility and reuse.
Style:
  • The way lore is created has also been adjusted; it's now possible to use only "lore" instead of "lores," aligning with the Minecraft plugin standard. (Using "lores" is still possible, but "lore" is recommended.)

Condition example:

Code:
conditions-in-rewards-treasures:
  ...
  sections:
    'COOL NAME':
      rewards:
        '1':
          # Conditions section: defines the conditions for the treasure to appear based on worlds, blocks, biomes, strings, or numbers.
          # - OPTIONAL
          conditions:
            # Blocks condition: Specifies which blocks are restricted or allowed for the treasure.
            # - type: BLOCK (Defines if the condition applies to specific blocks)
            # - method: BLACKLIST or WHITELIST (BLACKLIST excludes, WHITELIST includes the specified blocks)
            # - values: List of blocks to apply the condition to.
            blocks:
              type: BLOCK
              method: WHITELIST
              values:
              - "stone"
          chance: 50.0
          exp: '1~70'
          commands:
          - "[ACTIONBAR] &eYou break a stone!"
          - "[MESSAGE] &6[Treasure] &7- &7You break a stone!"


Documentation was updated on:
https://pretti.gitbook.io/prtminetreasures/treasures/rewards/rewards#conditions
Fix
  • New format that is even more optimized for calculating random rewards.
  • Fixed some minor internal bugs.

Add
  • Added a new metadata type (Int[]).
  • Example:
  • key: IntArray
  • value: 1, 2, 3, 4, 777

Documentation was updated on:
https://pretti.gitbook.io/prtminetreasures/treasures/rewards/rewards#item
  • Fixed NBT usage errors on newer server versions (1.21+).
  • Added dependency configuration:
    - This allows server owners to choose which NBT API version to use, ensuring better compatibility with newer server versions.
YAML:
# DEPENDENCIES
dependencies:
  use-server-nbt-api: true # This tells the plugin to use the manually installed NBT API version in the server’s plugins/ folder. Setting it to false forces PrtMineTreasures to use the shaded version. Enable this if your plugin runs on an unsupported server version.
New Features
- Introduced the Crate Rewards System, allowing rewards to be stored inside a crate. This provides a more dynamic and engaging gameplay experience.

New Parameters
  • Added the "delivery" parameter to treasures and individual rewards.
  • Expanded the "remove-vanilla-drops" option. It can now be used in treasure configurations, in addition to individual rewards and config.yml.

Delivery Types
  • DROP – The reward (item) is dropped at the block break event location.
  • INVENTORY – The reward is added directly to the player's inventory.
  • STORED – The reward is stored inside a chest.

Bug Fixes & Improvements
  • Fixed an issue where placeholders were not being replaced in item descriptions.
  • Resolved multiple minor bugs to improve stability and performance.

Important Notes
  • New configuration options have been added to config.yml and messages.yml.
  • A new example treasure file has been introduced: crate-example.yml.
Now, it’s possible to set chances for rewards with extremely low precision, reaching values as small as 0.00001%
Buy a license now
$3.99
EULA
Standard EULA
Use on any projects you own with attribution
Support
Standard
Includes:
Download the resource
Access new updates
Support from the creator
Support duration
Lifetime
Share and earn
Refer this resource and earn a 10% commission.
1,739 Views
5 Purchases
6 Downloads
Jan 28, 2025 Published
Mar 17, 2026 Updated
5.00 star(s)
Average rating (2)
481.5 KB File size
Open source
  1. No
DRM-free
  1. Yes
Unobfuscated
  1. Yes
Type
  1. Economy
  1. Chat
  1. Monetization
Game mode
  1. Survival & SMP
  1. Oneblock
  1. Prison
Game mode
  1. Survival
  1. Oneblock
  1. Prison
Game mode (legacy)
  1. Survival
  1. Oneblock
  1. Prison
Supported software
  1. Bukkit
  1. Spigot
  1. Paper
Supported versions
  1. 1.21
  1. 1.20
  1. 1.19
  1. 1.18
  1. 1.17
  1. 1.16
  1. 1.15
  1. 1.14
  1. 1.13
  1. 1.12
  1. 1.11
  1. 1.10
  1. 1.9
  1. 1.8
Supported languages
  1. English
  1. Portugese
Includes DRM
No
Source access (legacy)
Closed source & unobfuscated
Creator
Owner
Recommended for you
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 141 ratings
4,239 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 54 ratings
3,238 purchases
Protect your server from crash/dupe/packet exploits with the ultimate security fix plugin.
5.00 star(s) 45 ratings
3,135 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
4.50 star(s) 72 ratings
2,824 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 72 ratings
2,587 purchases
Share and earn
Refer this resource and earn a 10% commission.
1,739 Views
5 Purchases
6 Downloads
Jan 28, 2025 Published
Mar 17, 2026 Updated
5.00 star(s)
Average rating (2)
481.5 KB File size
Open source
  1. No
DRM-free
  1. Yes
Unobfuscated
  1. Yes
Type
  1. Economy
  1. Chat
  1. Monetization
Game mode
  1. Survival & SMP
  1. Oneblock
  1. Prison
Game mode
  1. Survival
  1. Oneblock
  1. Prison
Game mode (legacy)
  1. Survival
  1. Oneblock
  1. Prison
Supported software
  1. Bukkit
  1. Spigot
  1. Paper
Supported versions
  1. 1.21
  1. 1.20
  1. 1.19
  1. 1.18
  1. 1.17
  1. 1.16
  1. 1.15
  1. 1.14
  1. 1.13
  1. 1.12
  1. 1.11
  1. 1.10
  1. 1.9
  1. 1.8
Supported languages
  1. English
  1. Portugese
Includes DRM
No
Source access (legacy)
Closed source & unobfuscated
Creator
Owner
Recommended for you
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 141 ratings
4,239 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 54 ratings
3,238 purchases
Protect your server from crash/dupe/packet exploits with the ultimate security fix plugin.
5.00 star(s) 45 ratings
3,135 purchases
High Performance | Customizable | Cross-Version | GeyserMC | Folia Support
4.50 star(s) 72 ratings
2,824 purchases
All-in-one dungeon creator. Create unlimited, timed dungeon experiences with your own builds
4.50 star(s) 72 ratings
2,587 purchases
Top