1. Download this Plugin and add it to your plugins folder, make sure you also have UltraPrisonCore in there as well. 2. Add the following text to your UltraPrisonCore enchantments.yml (make sure it is under the enchants: section):
Code (YAML):
'125': # enchantment id (DO NOT CHANGE) RawName: gemsfinder
# name that can be used with commands Name: '&a&lGems Finder'
# Name that will appear on the pickaxe and in enchantment menu Material: EMERALD
# material that will appear in the enchantment menu Enabled: true
# if the enchantment is enabled or not InGuiSlot: 50
# slot it should appear in in the enchantment menu (0-53) Increase-Cost-by: 100
# How much the cost should increase per level Max: 100
# max levels the enchantment can have Chance: 50.0
# chance of it triggering (increases with level with the formula of "chance * enchantlevel") MaxAmount: 500
# maximum amount of gems from enchant triggering MinAmount: 100
# minimum amount of gems from enchant triggering Cost: 100
# base cost of enchantment MessageEnabled: true
# if the message below should be enabled Message: "&b&lPrisons &8&l> &a&l+ %gems% Gems! &7(Mining)"# message sent to players when the enchant triggers. %gems% will return the amount of gems. Description: # description that appears in enchantment menu - '&7Gives gems while mining'
Refund: # options for the disenchant menu Enabled: true
# if it can be refunded InGuiSlot: 50
# what slot it appears in