A new feature that allows you to give out special items that when right clicked will give you a random sapling from a a specific rarity!
Regenerate your config and saplings.yml to see updates or copy from here and add in. I'll be adding a config updater soon!
Config.yml
Code (YAML):
# example-rarity:
# material: PLAYER_HEAD
# data: BoxMan01234 ## OPTIONAL Should be a player name or custom model data if not using a player head
# name: '&#a8ff92&lExample Rarity Box'
# lore: []
# enchant-glint: true ## OPTIONAL
# open-sound: ENTITY_PLAYER_LEVELUP ## OPTIONAL (https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html)
rarity-boxes:
common:
material
: PLAYER_HEAD
data
: BoxMan01234
name
: '&
#a8ff92&lCommon Sapling Box'
lore
:
[
]
uncommon:
material
: PLAYER_HEAD
data
: BoxMan01234
name
: '&
#a8ff92&lUncommon Sapling Box'
lore
:
[
]
rare:
material
: PLAYER_HEAD
data
: BoxMan01234
name
: '&
#a8ff92&lRare Sapling Box'
lore
:
[
]
Saplings.yml
Code (YAML):
# -- Sample --
# my_sapling:
# material: OAK_SAPLING
# name: '&cMy Sapling'
# lore: ['&7This is my sapling.', '&7It is very special...']
# enchant-glint: false ## OPTIONAL
# custom-model-data: 1 ## OPTIONAL
# rarity-box: common ## OPTIONAL (What rarity box you want the sapling to be apart of)
# schematic: 'my_sapling.schem'
cherrytree:
material
: CHERRY_SAPLING
name
: '&
#a8ff92&lCherry Blossom &#E2E2E2Sapling'
lore
:
[
]
rarity-box
: common
schematic
: 'mushpeach_cherrytree.schem'