Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {lobby.status} = 1
- # ----=== [ KONFIGURACJA ] ===----
- options:
- # ----=== [ Konfiguracja chatu i inne ] ===----
- tag: &8[&cLobby&8]
- permission: &4Nie masz uprawnien by uzywac tej komendy!
- odleglosc: 45
- # ----=== [ Konfiguracja jumpa przez blok ] ===----
- blok: sponge
- speed: 4
- wysokosc: 0.9
- # ----=== [ LOBBY ] ===----
- command /setlobby:
- trigger:
- {cenzur.status} is 1:
- if player has permission "Lobby":
- set {lobby} to location of player
- message "{@tag} &fLobby ustawiony"
- else:
- send "{@tag} {@permission}"
- stop
- command /lobby [<text>]:
- trigger:
- {cenzur.status} is 1:
- if player has permission "Lobby":
- if distance between player and {loc.lobby} is larger than 6:
- stop
- else:
- teleport the player to {lobby}
- message "{@tag} &fTeleportacja..."
- clear the player's inventory
- stop
- else:
- send "{@tag} {@permission}"
- stop
- else:
- send "{@tag} &fLobby wylaczone. Wpisz &c/lobbys on"
- stop
- # ----=== [ Wlaczanie/Wylaczanie LOBBY ] ===----
- command /lobbys [<text>]:
- trigger:
- if player has permission "Lobby":
- if arg 1 is "on":
- set {cenzur.status} to 1
- send "{@tag} &7Lobby jest &aON"
- stop
- if arg 1 is "off":
- set {cenzur.status} to 0
- send "{@tag} &7Lobby jest &cOFF"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- # ----=== [ Tabliczki - LOBBY ] ===----
- on rightclick on sign:
- {cenzur.status} is 1:
- if player has permission "Lobby":
- if line 1 of the clicked block is "&a[LOBBY]":
- teleport player to {lobby}
- message "{@tag} &fTeleportacja..."
- clear the player's inventory
- stop
- else:
- send "{@tag} {@permission}"
- stop
- else:
- send "{@tag} &fLobby wylaczone. Wpisz &c/lobbys on"
- stop
- # ----=== [ Wypadniecie za mape - LOBBY ] ===----
- every 1 seconds:
- {cenzur.status} is 1:
- loop all players:
- if loop-player is in "world":
- if loop-player's y-coordinate is smaller than {@odleglosc}:
- teleport loop-player to {lobby}
- send "{@tag} &7Po co skaczesz. Na drugi raz nie skacz" to loop-player
- heal the loop-player by 10 hearts
- stop
- else:
- send "{@tag} &fLobby wylaczone. Wpisz &c/lobbys on"
- stop
- # ----=== [ Jump - LOBBY ] ===----
- on walking on {@blok}:
- {cenzur.status} is 1:
- push the player upwards at speed {@wysokosc}
- push the player horizontally forward at speed {@speed}
- stop
- else:
- send "{@tag} &fLobby wylaczone. Wpisz &c/lobbys on"
- stop
- at 16:00:
- {cenzur.status} is 1:
- set time to 8:00
- stop
Advertisement
Add Comment
Please, Sign In to add comment