Code (YAML):
#Placeholders:
# %player% displays the player name
# %type% shows the pouch ID
# %min% is the min random amount
# %max% is the max random amount
# %random% is a random number between * %min% - %max% *
# %prefix% shows the plugin prefix from config.yml
Animation
:
"noAnimation"
Item
:
# the id must be the same as the file name
ID
:
"default"
#display name from the item
Name
:
"&6&lVENUS POUCH &7(&fMoney&7)"
# material from pouch
Material
:
"CHEST"
# data from the pouch
Data
: 1
# if item should glow
Glow
: false
# lore from the pouch
Lore
:
-
""
- "&6Economy
:
&fTokens"
- "&6Max
:
&f%max%"
- "&6Min
:
&f%min%"
-
""
-
"&7(( &fRight-Click &7to redeem ))"
-
Redeem:
Commands
:
-
"eco give %player% %random%"
-
"say %player% this is a second command!"
Messages
:
-
"%prefix% &aYou have redeemed a token pouch! &7(&f%random%&7)"
-
"&fThis is a second message"
Broadcast
:
-
"&bThis is a broadcast"
Title:
enabled
: true
title
:
"&9&lDEFAULT &7(&fPouch&7)"
subtitle
:
"&6%random% Tokens"
fadeIn
: 15
stay
: 15
fadeOut
: 15
Random:
Max
: 1000000
Min
: 10000