Mineuniverse
Log in Register
Plugins

Treasure Block

Create treasures and config the reward
by _ForgeUser8217838
Download Claim this project
4,508 downloads
0 likes
Updated Jul 1, 2026
0 hypes
Fun

Treasure Block

WARNING! THE VERSION 3.0 CHANGES THE CONFIG! YOU NEED TO CHANGE THE ITEM ID'S AND ENCHANT ID'S TO ITEM NAMES AND ENCHANT NAMES! SEE ITEMS / ENCHANTMENTS AVAILABLE FOR THE LIST WITH AVAILABLE OPTIONS!

Treasure Block is a new plugin to create treasures and collect them. If you place a block (name must be 'Treasure'), it will create the treasure, and when you click the block you will collect it. It will automaticly disappear and shows a configurable message at the chat.

How to use?

  1. Type /treasure create while holding a block
  2. Place the block (name must be 'treasure')
  3. Click the block to collect him
  4. Get your reward

    To change the reward:
  5. Open the plugin folder
  6. Open the folden Treasure Block
  7. Open the config file
  8. Enter at the treasure it at the following way (~ = 1 space):

Treasure:
~~'1':
~~~~items:
~~~~- '(item):(amount)(enchantment id):(enchantment lvl)'
~~~~- '(item):(amount)'
~~~~commands:
~~~~- (command without /)
~~'2':
~~~~items:
~~~~- '(item):(amount)'

Example to get a lapis block:
Treasure:
~~'1':
~~~~items:
~~~~- 20:1

NEW POSSIBILITY: ENTER ~ INSTEAD OF A NUMBER AND GIVES A RANDOM ITEM / RANDOM AMOUNT!
PLAYER NAME INSIDE A COMMAND? USE {player}!

Available items / enchantments

Items: http://pastebin.com/7SRaVWEn
Commands: http://pastebin.com/aVyYRDdH

Commands

  • /treasure printlist players <filename>: Creates a file with the amount of found treasures by player
  • /treasure printlist treasures <filename>: Creates a file with all the treasure locations
  • /treasure count <player>: Gives you the amount of found treasures by the selected player
  • /treasure compass: Gives a compass locate the nearest treasure
  • /treasure create: Renames the item inhand to treasure to place the block at create a treasure
  • /treasure hints add <id> <hint>: Adds a hint for a treasure
  • /treasure hints show <id>: Shows the hint for a treasure
  • /treasure list: Gives a list with all the treasure locations
  • /treasure remove <id>: Remove a treasure
  • /treasure reload: Reloads the config file

Permissions

  • treasure.create: Creates the treasure
  • treasure.collect: Collects the treasure
  • treasure.compass: Use '/treasure compass' and left click compass
  • treasure.list: You can see the treasure locations
  • treasure.hints.*: Use all treasure.hints.... permissions
  • treasure.hints.add: Use '/treasure hints add <id> <hint>'
  • treasure.hints.show: Use '/treasure hints show <id>'
  • treasure.players.*: Gets the following permissions
  • treasure.players.printlist: You can print the amount of found treasures by player in a .yml file
  • treasure.players.count: You can see the amount of found treasures by player individual
  • treasure.reload: Reloads the config file
  • treasure.remove: You can remove treasures
  • treasure.reset: Resets the amount of collected treasures
  • treasure.treasures.printlist: You can print the treasure locations in a .yml file

Version history

V3.0
  • Items and enchantments replace by names (see items / enchantments available)
V2.1
  • Command add: '/treasure hints add <id> <hint>': Sets a hint for a treasure
  • Command add: '/treasure hints show <id>': Shows the hint for a treasure
  • Command add: '/treasure compass': Gives a compass to navigate to nearest treasure
  • Compass right click: Gives a hint for the treasure
  • Compass left click: Recalculate nearest treasure
  • Permission add: 'treasure.hints.add': You can use '/treasure hints add <id> <hint>'
  • Permission add: 'treasure.hints.show': You can use '/treasure hints show <id>' and right click compass
  • Permission add: 'treasure.compass': You can use '/treasure compass' and left click compass

V2.0
  • Max random amount now possible to set for each item. Put is ~(amount). Ex ~5
  • Possibility to perform a command after gething a treasure. See the config file how to work
  • Change the treasure item. For placing a treasure, the name of the item must be 'Treasure'
  • Command add: '/treasure create': Change the name of the current item inhand to 'Treasure'
  • Command add: '/treasure reset <all/playername>': Reset the amount of collected treasures
  • Permission add: 'treasure.reset': Reset the amount of collected treasures

V1.3
  • Add possibility to random amount or item by replace a number into ~
  • Command add: '/treasure printlist treasures <filename>': Prints a list of available treasures
  • Command add: '/treasure remove <id>: Remove a treasure
  • Command add: '/treasure list': Gives you a list of available treasures
  • Command changed: '/treasure printlist <filename>' to '/treasure printlist players <filename>'
  • Permission add: 'treasure.treasures.printlist': Use /treasure printlist treasures <filename>
  • Permission add: 'treasure.list': Use /treasure list
  • Permission add: 'treasure.remove': Use /treasure remove <id>

V1.2
  • Fix bug right click not showing reward
  • Add enchantment possibility (see configuration)

V1.1.1
  • Fix bug no items. Remove the config file or change the configfile (see how to change reward)
  • Fix error on click into air

V1.1
  • Fix bug treasure count and printlist
  • Fix bug sponge block didn't disappear with right click
  • Command changed: /treasure player printlist <file name> to /treasure printlist <file name>
  • Command changed: /treasure player found <player> to /treasure count <player>
  • Text changed: 'Treasure not registered' to 'This treasure is NOT registered'
  • Permission changed: treasure.players.found to treasure.players.count

V1.0

First version

In progress

  • None, use ticket tracker to give a suggestion!

Bug?

Use the ticket tracker to report your bug

Donate

If you like the plugin, please donate!

Donate

Treasure Block V3.0
MC CB 1.6.4-R2.0
Release 2013-11-15 Get
Treasure Block V2.1
MC 1.6.4
Release 2013-10-15 Get
Treasure Block V2.0
MC 1.6.4
Release 2013-10-06 Get
Treasure Block V1.3
MC 1.6.4
Release 2013-10-04 Get
Treasure Block V1.2
MC 1.6.4
Release 2013-10-01 Get
Treasure Block V1.1.1
MC 1.6.4
Release 2013-09-30 Get
Treasure Block V1.1
MC 1.6.4
Release 2013-09-29 Get
Treasure Block V1.0
MC CB 1.6.2-R1.0
Release 2013-09-24 Get

More from _ForgeUser8217838

ChatAFK
936
MazeGames
872
Custom Horses
5,425
ChatChange
4,795
Chat Announcer
4,189
AntiMultiKill
1,625

You Might Also Like

BattleTracker 2.0
A standalone plugin and companion to BattleArena that tracks PVP & PVE statistics along with a suite of additional combat features to enhance server gameplay.
9,997
eHunger Games (Mcpvp hg)
A hunger games plugin like mcpvp
9,985
Basic Trails
Basic Trails Plugin
9,974
HypixelFirework
HypixelFirework
9,956
PremiumBoots [Like GommeHD]
PremiumBoots [Like GommeHD]
9,949
llamaGrapple
A customizable grapple hook!
9,925