minmin0917

SkyBlock :: System

Dec 30th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. # SkyBlock :: System
  2.  
  3. on join:
  4. if {Hub::*} contains player:
  5. teleport player to location (0, 52, 0)
  6. send "&aロビー にテレポートしました"
  7. loop {Hub::*}:
  8. send "&a%player% さんが ロビー に参加しました!"
  9. else if {Resource::*} contains player:
  10. teleport player to location ()
  11. send "&a資源島 にテレポートしました"
  12. loop {Resource::*}:
  13. send "&a%player% さんが 資源島 に参加しました!"
  14. else if {Event::*} contains player:
  15. teleport player to location ()
  16. send "&aイベント島 にテレポートしました"
  17. loop {Event::*}:
  18. send "&a%player% さんが イベント島 に参加しました!"
  19. else:
  20. teleport player to location (0, 52, 0)
  21. add player to {Hub::*}
  22. send "&aSkyBlock Hub にテレポートしました"
  23. loop {Hub::*}:
  24. send "&a%player% さんが SkyBlock Hub に参加しました!"
  25.  
  26. on quit:
  27. if {Event::*} contains player:
  28. remove player from {Event::*}
  29. add player to {Hub::*}
  30.  
  31. command /Warp [<text>]:
  32. trigger:
  33. if arg 1 is not set:
  34. send "&c使用方法 : /Warp (行きたい島)"
  35. send "&c島リスト : Hub , Resource , Event (開催時のみ)"
  36. if arg 1 is "Hub":
  37. if {Hub::*} contains player:
  38. send "&c既にその島にいます!!"
  39. else if {Resource::*} contains player:
  40. remove player from {Resource::*}
  41. add player to {Hub::*}
  42. teleport player to location (0, 52, 0)
  43. send "&aロビー にテレポートしました"
  44. loop {Hub::*}:
  45. send "&a%player% さんが ロビー に参加しました!"
  46. if arg 1 is "Resource":
  47. if {Resource::*} contains player:
  48. send "&c既にその島にいます!!"
  49. else if {Hub::*} contains player:
  50. remove player from {Hub::*}
  51. add player to {Resource::*}
  52. teleport player to location ()
  53. send "&a資源島 にテレポートしました"
  54. loop {Resource::*}:
  55. send "&a%player% さんが 資源島 に参加しました!"
  56.  
  57. command /test:
  58. trigger:
  59. add player to {Hub::*}
Add Comment
Please, Sign In to add comment