Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Lotus-Spawn: /setspawn /spawn modifier.
- #For Skript version 1.3.7
- #Skript release 4
- #Written by CTRLotus
- on first join:
- teleport player to {spawn}
- stop
- on respawn:
- #Hook for Lotus-Administration's jail feature.
- if {jail.%player%} is set:
- teleport player to {jail.%player%}
- stop
- if {bed.%player%} is not set:
- teleport player to {spawn}
- stop
- if {bed.%player%} is set:
- teleport player to {bed.%player%}
- #Saves bed locations to allow for respawn dictation
- on bed leave:
- set {bed.%player%} to location of player
- stop
- #Sets the server spawn point
- #Written by CTRLotus
- command /setspawn:
- description: Sets the spawn of the server at the user's location.
- usage: /setspawn
- permission: skript.admin.setspawn
- executable by: players
- trigger:
- set {spawn} to location of player
- message "<Dark Red>[LAdmin]<White> You have set the server spawn to your location."
- stop
- #Teleports player to spawn
- #Written by CTRLotus
- command /spawn:
- description: Teleports the user to the server spawn.
- usage: /spawn
- permission: skript.tospawn
- executable by: players
- trigger:
- message "<purple>[LTP]<White> Teleporting to Spawn."
- #If you're using Lotus-TP, this will hook into the /back command.
- set variable {tp.%player%.back} to location of player
- send "<purple>[LTP]<White> Teleportacja nastapi za:"
- apply slowness 5 to the player for 10 second
- wait 1 second
- send "&c3"
- wait 1 second
- send "&c2"
- wait 1 second
- send "&c1"
- wait 1 second
- send "<purple>[LTP]<White> Teleportuje..!"
- teleport player to {spawn}
- stop
Advertisement
Add Comment
Please, Sign In to add comment