Esse Plugin De Caixa Funciona Basicamente
Pelo Comando : /caixarara
E o Player recebera itens aleatórios
Ta ai o skript:
command /caixarara:
trigger:
if player has permission "Caixa.Rara":
give chest named "&5&lCaixa Rara" to player
else:
send "&cSem permissao"
on rightclick with chest:
if tool of player is chest named "Caixa Rara":
cancel event
set player's tool to air
send "&aVocê abriu a &5&lCaixa Rara"
chance of 50%:
give 1 diamond sword of sharpness 6 and fire aspect 3 and unbreaking 3 named "&cEspada de G0D" to player
stop
chance of 20%:
give 1 diamond chestplate of protection 15 named "&6Peitoral com G0D" to player
stop
chance of 15%
give 1 diamond axe of efficiency 5 and sharpness 6 and unbreaking 3 named "&cMachado de Jesus" to player
stop
chance of 70%
give 1 paper named "&fNADA" to player
stop
chance of 10%
give 1 beacon named "&bBeacon" to player
stop
chance of 45%
give 32 diamond block named "&bDiamante" to player
stop
chance of 45%
give 32 emerald block named "&3Esmeralda" to player
stop
http://hastebin.com/arijowuxiv.vhdl
Creditos: icedragon4 (ideia)