StoneTreasures
Description
StoneTreasures is a plugin that makes mining more interesting. While mining you have a (configurable) chance to get either a common item, a rare item or a legendary item. Because of this, having to mine for a long time for ores becomes less annoying, because not only do you have a chance to stumble across some ores, you might also find yourself with random loot in your inventory.
Check the spigot page for the full description.
Images
Installation
1. Download the jar file.
2. Place it in your /plugins folder
3. Reload or restart the server
4. Configure the items in the config.
Commands & Permissions
stonetreasures.use
The basic permission, default to everyone. Without it you won't get treasures while mining.
stonetreasures.admin
/stonetreasures reload
Allows the user to reload the config after changing messages or adding/removing items
Config
options:<br /> # Options for the plugin<br /> survival-only: true<br /> # If set tot true you can only get treasures while mining in survival<br /> drop-to-inventory: true<br /> # If set to true the item will be placed in the inventory. If set to false or if it is set to true but the player has a full inventory, it will drop the item as if it was mined in the block.<br /> # If dropped, the item can only be picked up by the player who gained the treasure.<br /> allowed-blocks:<br /> # A list of blocks that can give you treasure if you mine them<br /> - STONE<br /> - GRASS<br /><br /><br /><br />common-treasure:<br /> # The percentage of chance to get a common item while mining one of the allowed blocks.<br /> percent-chance: 5<br /> message: "&6You got a &7&ocommon &b%item% &6while mining!"<br /> # The message the player gets if he finds a common treasure. %item% gets replaced with the name of the item the player got.<br /> drop-message: "&cA &7common &4%item% &chas dropped next to you because your inventory is full!"<br /> # The message the player gets if his inventory is full while (s)he would have gotten a treasure.<br /> broadcast:<br /> enabled: true<br /> # Disable/Enable the broadcasting<br /> message: '&6%player% has found a &7common &9%item% &6while mining!'<br /> # Message that will get broadcasted if player finds a treasure and broadcast is enabled<br /> playsound:<br /> enabled: true<br /> # If disabled there won't be a sound whenever the player finds the treasure<br /> sound: BLOCK_NOTE_PLING<br /> # The sound that gets played. Get the sounds from:<br /> # 1.9+ https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html<br /> # 1.8 http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html<br /> volume: 10<br /> # The volume of the sound.<br /> items:<br /> # A list of items the player can get if they get a common treasure. It is a random chance for each item.<br /> # The different items need to be numbered. The number has no significance to the chance of it being chosen.<br /> 1:<br /> # Item one<br /> item: IRON_SWORD<br /> # The item that will get dropped if item one gets selected<br /> amount: 1<br /> # Amount of the specified item that will get dropped<br /> damage-value: 0<br /> # The damage value of the item. Use this to get e.g. colored wool. To see the damage value's press F3+H ingame. Set to 0 to get the default item.<br /> name: '&cDestroyer'<br /> # The custom name the item will have. If nothing is specified it will be the default name.<br /> 2:<br /> # Item two<br /> item: WOOL<br /> # The item that will get dropped if item two gets selected<br /> damage-value: 13<br /> # The damage value of the item. Use this to get e.g. colored wool. To see the damage value's press F3+H ingame. Set to 0 to get the default item.<br /> amount: 1<br /> # Amount of the specified item that will get dropped<br /> 3:<br /> # Item three<br /> item: IRON_INGOT<br /> # The item that will get dropped if item three gets selected<br /> amount: 1<br /> # Amount of the specified item that will get dropped<br /> damage-value: 0<br /> # The damage value of the item. Use this to get e.g. colored wool. To see the damage value's press F3+H ingame. Set to 0 to get the default item.<br /> lore:<br /> - '&aThis was the very'<br /> - '&afirst iron ingot that was'<br /> - '&aever mined!'<br /> # The custom lore the item will have. If nothing is specified there will be no lore.<br /><br /># To add an extra item, copy one of the ones above and replace the number.<br /># The numbers need to be in the correct order, so do not skip or use a number twice.<br /><br /># Add lore or a name as specified above. Lore needs to be a list as shown. Each line corresponds to a line of lore on the item.<br /><br /><br /><br /># For rare & legendary the config looks the same, except with slightly different messages.<br /># Everything works exactly the same for rare & legendary as it did for common.<br />
Planned
> Enchantments and damage values for the items.
> Permissions that give players a higher chance for loot
> Disable or customize the sound that gets played if an treasure gets found
> If there is an interest for it: Uncommon and epic items.
Other
- Please go over to my Discord if you have a question about the plugin or have found a bug.
- The plugin currently only works without bugs on 1.12. I will add support for older versions in the future.
-
View User Profile
-
Send Message
Posted Nov 9, 2017Nice dev, fast help, great plugin.
So finally u wont be bored of mining, because you will have a chance to get some cool and rare stuff (set in config).Be sure to play with percentages , by default they are very low , change them to your taste.