This commit is contained in:
Christer Warén 2024-03-26 23:27:40 +02:00
parent 6a32584d11
commit ef9d3f2ede
2 changed files with 15 additions and 15 deletions

View File

@ -185,30 +185,30 @@ on leftclick:
if player's world is "minigames":
if event-item is chest named "&fKitPVP":
make player execute command "/kitpvp"
cancel the event
cancel event
wait 2 tick
on rightclick:
if player's world is "minigames":
if event-item is chest named "&fKitPVP":
make player execute command "/kitpvp"
cancel the event
cancel event
wait 2 tick
on inventory click:
if player's world is "minigames":
if event-item is chest named "&fKitPVP":
cancel the event
cancel event
on drop:
if player's world is "minigames":
if event-item is chest named "&fKitPVP":
cancel the event
cancel event
on pickup:
if player's world is "minigames":
if event-item is chest named "&fKitPVP":
delete event-entity
cancel event
on break:
if player's world is "minigames":

View File

@ -19,36 +19,36 @@ on respawn:
on click:
if event-item is ender chest named "&fMirriCraft":
make player execute command "/mirricraft gui"
cancel the event
cancel event
wait 2 tick
if event-item is compass named "&2Mene":
make player execute command "/mirricraft gui visit"
cancel the event
cancel event
wait 2 tick
if event-item is diamond named "&bVIP":
make player execute command "/mirricraft gui vip"
cancel the event
cancel event
wait 2 tick
if event-item is diamond axe named "&5Ylläpito":
make player execute command "/mirricraft gui admin"
cancel the event
cancel event
wait 2 tick
if event-item is player's skull named "&6%player's name%":
make player execute command "/mirricraft gui player"
cancel the event
cancel event
wait 2 tick
on pickup:
if event-item is ender chest named "&fMirriCraft":
delete event-entity
cancel event
if event-item is compass named "&2Mene":
delete event-entity
cancel event
if event-item is diamond named "&bVIP":
delete event-entity
cancel event
if event-item is diamond named "&5Ylläpito":
delete event-entity
cancel event
if event-item is player's skull named "&6%player's name%":
delete event-entity
cancel event
on death:
if victim's world is "lobby":