NNOF

Untitled

Jul 6th, 2013
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Lotus-Spawn: /setspawn /spawn modifier.
  2. #For Skript version 1.3.7
  3. #Skript release 4
  4. #Written by CTRLotus
  5.  
  6. on first join:      
  7.     teleport player to {spawn}
  8.     stop
  9.  
  10. on respawn:
  11.     #Hook for Lotus-Administration's jail feature.
  12.     if {jail.%player%} is set:
  13.         teleport player to {jail.%player%}
  14.         stop
  15.  
  16.     if {bed.%player%} is not set:
  17.         teleport player to {spawn}
  18.         stop
  19.  
  20.     if {bed.%player%} is set:
  21.         teleport player to {bed.%player%}
  22.  
  23. #Saves bed locations to allow for respawn dictation
  24. on bed leave:
  25.     set {bed.%player%} to location of player
  26.     stop
  27.  
  28. #Sets the server spawn point
  29. #Written by CTRLotus
  30. command /setspawn:
  31.     description: Sets the spawn of the server at the user's location.
  32.     usage: /setspawn
  33.     permission: skript.admin.setspawn
  34.     executable by: players
  35.     trigger:
  36.         set {spawn} to location of player
  37.         message "<Dark Red>[LAdmin]<White> You have set the server spawn to your location."
  38.         stop
  39.  
  40.  
  41. #Teleports player to spawn
  42. #Written by CTRLotus
  43. command /spawn:
  44.     description: Teleports the user to the server spawn.
  45.     usage: /spawn
  46.     permission: skript.tospawn
  47.     executable by: players
  48.     trigger:
  49.         message "<purple>[LTP]<White> Teleporting to Spawn."
  50.         #If you're using Lotus-TP, this will hook into the /back command.
  51.         set variable {tp.%player%.back} to location of player  
  52.         send "<purple>[LTP]<White> Teleportacja nastapi za:"
  53.         apply slowness 5 to the player for 10 second
  54.         wait 1 second
  55.         send "&c3"
  56.         wait 1 second
  57.         send "&c2"
  58.         wait 1 second
  59.         send "&c1"
  60.         wait 1 second
  61.         send "<purple>[LTP]<White> Teleportuje..!"
  62.         teleport player to {spawn}
  63.         stop
Advertisement
Add Comment
Please, Sign In to add comment