on mine stone:
chance of 5%:
cancel event
set event-block to diamond ore
chance of 10%:
cancel event
set event-block to iron ore
chance of 10%:
cancel event
set event-block to gold ore
chance of 5%:
cancel event
set event-block to emerald ore
chance of 15%:
cancel event
set event-block to coal ore
chance of 10%:
cancel event
set event-block to redstone ore
chance of 10%:
cancel event
set event-block to lapis lazuli ore
Zrobilem na każdą rudę. Licze na lajkacza
#Permisje
#sprawdzanie.miejsce
#sprawdzanie
command /sprawdzaniee:
permission: wz.stick
permission message: &4Brak permisji !
trigger:
give 1 stick named "&2Sprawdzanie" to the player
on right mouse click:
if player is stick named "sprawdzanie":
wait 1 tick
open chest with 1 row named "&c>>>&aSprawdzanie&c<<<" to player
format slot 0 of player with 1 of ender pearl named "&8[&cX&8]" to close
format slot 1 of player with 1 of ender pearl named "&8[&cX&8]" to close
format slot 2 of player with 1 of ender pearl named "&8[&cX&8]" to close
format slot 3 of player with 1 of ender pearl named "&8[&cX&8]" to close
format slot 4 of player with 1 of stick named "&6Sprawdzanie" with lore "&6Kliknij aby zobaczyc menu wzywania" to close then run [make player execute command "/wzywanie"]
format slot 5 of player with 1 of ender pearl named "&8[&cX&8]" to close
format slot 6 of player with 1 of ender pearl named "&8[&cX&8]" to close
format slot 7 of player with 1 of ender pearl named "&8[&cX&8]" to close
format slot 8 of player with 1 of ender pearl named "&8[&cX&8]" to close
command /wzywanie:
trigger:
send "&8>>>>&2Sprawdzanie&8<<<<"
send "&c/sprawdzanie &asprawdz (gracz)"
send "&c/sprawdzanie &aczysty (gracz)"
send "&c/sprawdzanie &acheater (gracz)"
send "&c/sprawdzanie &amiejsce"
command /sprawdzanie [<text>] [<player>]:
permission: sprawdzanie
permission message: &4Nie masz uprawnien do tej komendy!
trigger:
if argument 1 is not set:
send "&8>>>>&2Sprawdzanie&8<<<<"
send "&c/sprawdzanie &asprawdz (gracz)"
send "&c/sprawdzanie &aczysty (gracz)"
send "&c/sprawdzanie &acheater (gracz)"
send "&c/sprawdzanie &amiejsce"
if argument 1 is "sprawdz":
if argument 2 is set:
set {%argument 2%.sprawdzanie.miejsce} to location of argument 2
teleport argument 2 to {sprawdzanie.miejsce}
set {%argument 2%.sprawdzanie} to 1
send "" to all players
send "" to all players
send "&cGracz &6%argument 2%&c jest sprawdzany!" to all players
send "" to all players
send "" to all players
send "&6Masz 5 minut na podanie skype'a!" to argument 2
send "&cWyjscie z serwera = BAN" to argument 2
send "" to argument 2
send "" to argument 2
else:
send "&cPodaj gracza!"
if argument 1 is "czysty":
if argument 2 is set:
set {%argument 2%.sprawdzanie} to 0
teleport argument 2 to {%argument 2%.sprawdzanie.miejsce}
send "" to all players
send "&aGracz &6%argument 2%&a jest czysty!" to all players
send "" to all players
else:
send "&cPodaj gracza!"
if argument 1 is "cheater":
if argument 2 is set:
set {%argument 2%.sprawdzanie} to 0
ban the argument 2 because "&cCheatujesz, wylatujesz :) !"
kick the argument 2 due to "&cCheaty!"
send "" to all players
send "&cGracz &6%argument 2%&c jest cheaterem!" to all players
send "" to all players
else:
send "&cPodaj gracza!"
if argument 1 is "miejsce":
set {sprawdzanie.miejsce} to location of player
send "&aMiejsce sprawdzania zostalo ustawione na %{sprawdzanie.miejsce}%"
on quit:
if {%player%.sprawdzanie} is 1:
ban the player because "&cPrzed sprawdzeniem nie uciekniesz :) !"
Nie wiem czy o to chodziło, ale wstawiam
command /ekit:
trigger:
execute player command "/kit"
Teraz zadziała
Brakowało jednego taba przed execute
A jeżeli chcesz żeby komende wykonała konsolka to player zamień na console