on join: set {online.%player%} to trueon quit: set {online.%player%} to falseon connect: if {online.%player%} is true: kick player due to "Na serwerze gra juz taki nick"
on place wool: if player has permissions "welna.znika": send "&cZa 10 sekund welna zniknie" set {_x} to location of event block wait 10 second set block at {_x} to air add 1 wool to player's inventory
Witam, mam mały problem z tym kodem:
on click: if targeted entity is not player: cancel eventChcę zrobić że jak się kliknie, i gdy nie patrzymy na jakiegoś gracza to canceluje
Aby zapobiec kill aurą, rozwalaniu, klikaniu w itemframe itp.
command /nazwa [<text>]: permission: nazwa.kolor trigger: if arg 1 is set: set name of player's tool to "%colored arg%" else: send "&6Podaj nazwe przedmiotu!"
command /nazwa [<text>]: permission: nazwa.kolor trigger: if arg 1 is set: set name of player's tool to "%colored arg%" else: send "&6Podaj nazwe przedmiotu!"
moze tak:
on join: if {baza::*} doesn't contains player: add player to {baza::*}command /loop: trigger: loop {baza::*}: DALSZY KOD ....nie wiem czy o takie cos ci chodzilo ;p
2.
on item spawn: if event-item is iron helmet: cancel event if event-item is iron chestplate: cancel event if event-item is iron leggings:: cancel event if event-item is iron boots: cancel event if event-item is iron sword: cancel event
Troche poplątane ty sprawdzasz czy zmienna {administracja::*} zawiera gracza wpisanego w komendziea jak zawiera to go dodajesz do listy a powinno byc na odwrot, czyli {administracja::*} doesn't contains player-argument
on rightclick holding stick: if name of player's tool is "&2&LRozdzka": if {rozdzka.%player%} is true: spawn 100 of lava data 0 offset with 1, 1, 1 at targeted block send "&cCzary mary chokus pokus twoja stara to ford fokus" set {rozdzka.%player%} to false wait 5 second set {rozdzka.%player%} to true stop