Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- diament: 10
- wegiel: 20
- szmaragd: 10
- tnt: 10
- obsydian: 20
- cobble: 100
- wymagane: 576 cobblestone
- command /cobblex:
- trigger:
- if player has {@wymagane}:
- remove {@wymagane} from player
- give player 1 sponge named "&2CobbleX"
- send "&4 Dostales CobbleX"
- else:
- send "&c Nie Masz {@wymagane}"
- on mine sponge:
- if player's gamemode is survival:
- if player's tool is pickaxe:
- set event-block to air
- cancel event
- chance of {@tnt}%:
- give 10 tnt to the player
- send "&4 Wygrales TNT"
- chance of {@diament}%:
- give 10 diamond to the player
- send "&4 Wygrales Diamenty"
- chance of {@wegiel}%:
- give 10 coal to the player
- send "&4 Wygrales Wungiel"
- chance of {@szmaragd}%:
- give 10 emerald to the player
- send "&4 Wygrales Szmaragdy"
- chance of {@obsydian}%:
- give 10 obsidian to the player
- send "&4 Wygrales Obsydian"
- chance of {@cobble}%:
- give 64 cobblestone to the player
- send "&4 Wygrales Pewne 64 Cobblestone"
- options:
- message1: &7[&a*&7] &c Denerwuje Cie Cobblestone? &6 Wpisz /cobblex i wygraj fantastyczne nagrody!
- message2: &7[&a*&7] &3 By dowiedziec sie o nagrodach Wpisz &2/nagrody
- minutymessage: 15
- minutymessage2: 20
- every {@minutymessage} seconds:
- broadcast "{@message1}"
- every {@minutymessage2} seconds:
- broadcast "{@message2}"
- command /nagrody:
- trigger:
- open chest with 1 rows named "&4 Nagrody" to player
- format slot 1 of player with 1 of tnt named "&4 10 Sztuk TNT" to be unstealable
- format slot 2 of player with 1 of diamond named "&3 10 sztuk Diamentow" to be unstealable
- format slot 3 of player with 1 of cobblestone named "&7 64 sztuk cobblestone" to be unstealable
- format slot 4 of player with 1 of emerald named "&a 10 sztuk Emeraldow" to be unstealable
- format slot 5 of player with 1 of obsidian named "&0 10 sztuk Obsydianu" to be unstealable
- format slot 6 of player with 1 of coal named "&8 10 sztuk Wegla" to be unstealable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement