Facebook
From uczony, 6 Years ago, written in Plain Text.
This paste is a reply to Re: PremiumCase from uczony - go back
Embed
Viewing differences between Re: PremiumCase and Re: Re: PremiumCase
options:
        tag: &8[&bPremium&3 Case&8]
&cPremiumCase
on place:
        if player's tool is chest:
                if name of player's tool is "&8[&b&lPremium &3&lCase&8]":
                        cancel event

on right click:
        if player's tool is chest:
                if name of player's tool is "&cPremiumCase":
                        broadcast "&6-----[ &cPremiumCase &6]-----"
"&cPremiumCase"
                        broadcast "&c%player% &8Trafil z &CPremiumCase:"
                        chance of 100%:
                                drop 1 138 of unbreaking 1 named "&4&lBEACON"
                                broadcast "&7- &4&lBEACON"
                        broadcast "&cPremiumCase zakupisz na http://www.97138.enmc.pl/sklep/"
                        broadcast ""
                        broadcast "&6-----[ &cPremiumCase &6]-----"
                        
"&cPremiumCase"
                        
remove 1 chest named "[ &cPremiumCase &6]" "&cPremiumCase]" from player's inventory
                        
command /premiumcase [] []:
        permission: izimax.premiumcase
        trigger:
                if arg 1 is not set:
                        if arg 2 is not set:
                                send "{@tag} &8/premiumcase [Nick/all] [ilosc np: 1]"
                if arg 1 is set:
                        if arg 2 is set:
                                execute console command "give %arg 1% chest %arg 2%  name:&6[ &cPremiumCase &6]"
                                send "{@tag} &3&lOtrzymales &6[ &cPremiumCase &6] &7&lx&c&l%arg 2% &a&l!" to player-arg