Advertisement
Guest User

Untitled

a guest
Dec 6th, 2019
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. command /setlobby [<text>]:
  2. permission: skript.admin
  3. trigger:
  4. if arg-1 is not set:
  5. set {lobby} to location of player
  6. send "&aロビーを&d%{lobby}%&aにセットしました"
  7. if arg-1 is "reset":
  8. send "&aロビーをリセットしました"
  9. delete {lobby}
  10. if arg-1 is "check":
  11. if {lobby} is set:
  12. send "&a現在のロビー: &d%{lobby}%"
  13. else:
  14. send "&a現在のロビー: &c未設定"
  15.  
  16. on first join:
  17. wait 2 tick
  18. broadcast "&8[&d&lFirst&8] &e%player%"
  19. execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.firework.twinkle ambient @a"
  20. teleport player to {lobby}
  21. execute console command "/clear %player%"
  22.  
  23. on join:
  24. set join message to "&8[&e&lJoin&8] &e%player%"
  25. teleport player to {lobby}
  26. execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master @a"
  27. set player's gamemode to adventure
  28.  
  29. on quit:
  30. set quit message to "&8[&7&lQuit&8] &e%player%"
  31.  
  32. every 30 second:
  33. execute console command "weather clear"
  34. RAW Paste Data
  35. command /setlobby [<text>]:
  36. permission: skript.admin
  37. trigger:
  38. if arg-1 is not set:
  39. set {lobby} to location of player
  40. send "&aロビーを&d%{lobby}%&aにセットしました"
  41. if arg-1 is "reset":
  42. send "&aロビーをリセットしました"
  43. delete {lobby}
  44. if arg-1 is "check":
  45. if {lobby} is set:
  46. send "&a現在のロビー: &d%{lobby}%"
  47. else:
  48. send "&a現在のロビー: &c未設定"
  49.  
  50. on first join:
  51. wait 2 tick
  52. broadcast "&8[&d&lFirst&8] &e%player%"
  53. execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.firework.twinkle ambient @a"
  54. teleport player to {lobby}
  55. execute console command "/clear %player%"
  56.  
  57. on join:
  58. set join message to "&8[&e&lJoin&8] &e%player%"
  59. teleport player to {lobby}
  60. execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup master @a"
  61. set player's gamemode to adventure
  62.  
  63. on quit:
  64. set quit message to "&8[&7&lQuit&8] &e%player%"
  65.  
  66. every 30 second:
  67. execute console command "weather clear"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement