command /cobblex:
trigger:
if player has 576 cobblestone:
remove 576 cobblestone from player
give a 48 of fortune 10 named "&9CobbleX" with lore "&b» &7Kliknij PPM aby Otworzyc" to the player
else:
send "&b» &7Masz za malo Cobblestone'a &7[&a%amount of cobblestone in player's inventory%&7/&4576&7]"
on place:
if player has permission "drop.cobblex.gracz":
if name of player's tool contains "&9CobbleX":
lore of player's tool contains "&b» &7Kliknij PPM aby Otworzyc":
remove 1 mossy cobblestone named "&9CobbleX" with lore "&b» &7Kliknij PPM aby Otworzyc" from player
set block to air
set {_cobblex} to random integer between 0 and 8
if {_cobblex} is 1:
give player 1 enchanted golden apple
send "&b» &7[&9CobbleX&7] Otrzymales &21 &dKoxa"
if {_cobblex} is 2:
give player 6 golden apple
send "&b» &7[&9CobbleX&7] Otrzymales &26 &bRefili"
if {_cobblex} is 3:
give player 8 diamond
send "&b» &7[&9CobbleX&7] Otrzymales &28 &3Diamentow"
if {_cobblex} is 4:
give player 16 iron ingot
send "&b» &7[&9CobbleX&7] Otrzymales &216 &7Zelaza"
if {_cobblex} is 5:
give player 16 gold ingot
send "&b» &7[&9CobbleX&7] Otrzymales &216 &eZlota"
if {_cobblex} is 6:
give player 1 ender pearl
send "&b» &7[&9CobbleX&7] Otrzymales &21 &9Perly"
if {_cobblex} is 7:
give player 16 obsidian
send "&b» &7[&9CobbleX&7] Otrzymales &216 &9Obsydianu"
if {_cobblex} is 8:
give player 16 tnt
send "&b» &7[&9CobbleX&7] Otrzymales &216 &4TnT"
if {_cobblex} is 9:
give player 16 emerald
send "&b» &7[&9CobbleX&7] Otrzymales &216 &2Emeraldow"
else:
if player has permission "drop.cobblex.vip":
if name of player's tool contains "&9CobbleX":
lore of player's tool contains "&b» &7Kliknij PPM aby Otworzyc":
remove 1 mossy cobblestone named "&9CobbleX" with lore "&b» &7Kliknij PPM aby Otworzyc" from player
set block to air
set {_cobblex} to random integer between 0 and 8
if {_cobblex} is 1:
give player 2 enchanted golden apple
send "&b» &7[&9CobbleX&7] Otrzymales &22 &dKoxy"
if {_cobblex} is 2:
give player 8 golden apple
send "&b» &7[&9CobbleX&7] Otrzymales &28 &bRefili"
if {_cobblex} is 3:
give player 10 diamond
send "&b» &7[&9CobbleX&7] Otrzymales &210 &3Diamentow"
if {_cobblex} is 4:
give player 18 iron ingot
send "&b» &7[&9CobbleX&7] Otrzymales &218 &7Zelaza"
if {_cobblex} is 5:
give player 18 gold ingot
send "&b» &7[&9CobbleX&7] Otrzymales &218 &eZlota"
if {_cobblex} is 6:
give player 2 ender pearl
send "&b» &7[&9CobbleX&7] Otrzymales &22 &9Perly"
if {_cobblex} is 7:
give player 18 obsidian
send "&b» &7[&9CobbleX&7] Otrzymales &218 &9Obsydianu"
if {_cobblex} is 8:
give player 18 tnt
send "&b» &7[&9CobbleX&7] Otrzymales &218 &4TnT"
if {_cobblex} is 9:
give player 18 emerald
send "&b» &7[&9CobbleX&7] Otrzymales &218 &2Emeraldow"
command /DropCobblex:
trigger:
if player has permissions "drop.cobblex":
open chest with 3 row named "&b» &7Drop z &9CobbleX'a" to player
format slot 0 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 1 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 2 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 3 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 4 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 5 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 6 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 7 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 8 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 9 of player with 1 enchanted golden apple to be unstealable
format slot 10 of player with 1 ender pearl to be unstealable
format slot 11 of player with 6 golden apple to be unstealable
format slot 12 of player with 8 diamond to be unstealable
format slot 13 of player with 16 emerald to be unstealable
format slot 14 of player with 16 iron ingot to be unstealable
format slot 15 of player with 16 gold ingot to be unstealable
format slot 16 of player with 16 obsidian to be unstealable
format slot 17 of player with 16 tnt to be unstealable
format slot 18 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 19 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 20 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 21 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 22 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 23 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 24 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 25 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 26 of player with 1 101 named "&bRealHC.PL" to be unstealable
if player has permission "drop.cobblex.vip":
open chest with 3 row named "&b» &7Drop z &9CobbleX'a" to player
format slot 0 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 1 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 2 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 3 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 4 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 5 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 6 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 7 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 8 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 9 of player with 2 enchanted golden apple to be unstealable
format slot 10 of player with 2 ender pearl to be unstealable
format slot 11 of player with 8 golden apple to be unstealable
format slot 12 of player with 10 diamond to be unstealable
format slot 13 of player with 18 emerald to be unstealable
format slot 14 of player with 18 iron ingot to be unstealable
format slot 15 of player with 18 gold ingot to be unstealable
format slot 16 of player with 18 obsidian to be unstealable
format slot 17 of player with 18 tnt to be unstealable
format slot 18 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 19 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 20 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 21 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 22 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 23 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 24 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 25 of player with 1 101 named "&bRealHC.PL" to be unstealable
format slot 26 of player with 1 101 named "&bRealHC.PL" to be unstealable