Itsyuumello2

Untitled

Dec 9th, 2019
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. command /bedwars [<text>] [<text>]:
  2. permission: skript.admin
  3. permission message: Unknown command. Type /help for help.
  4. aliases: /bw
  5. trigger:
  6. if arg-1 is not set:
  7. send "&l&a------------------------------"
  8. send "&l BEDWARS HELP"
  9. send "&1"
  10. send "&e/bedwars help player"
  11. send "&e/bedwars help admin"
  12. send "&l&a------------------------------"
  13. if arg-1 is "help":
  14. if arg-2 is "player":
  15. send "&l&a------------------------------"
  16. send "&b&l BEDWARS HELP"
  17. send "&1"
  18. send "&e/bedwars join"
  19. send "&e/bedwars leave"
  20. send "&l&a------------------------------"
  21. if arg-2 is "admin":
  22. send "&l&a------------------------------"
  23. send "&c&l BEDWARS HELP"
  24. send "&1"
  25. send "&a&lLOBBY SETUP"
  26. send "&e/bedwars setlobby"
  27. send "&e/bedwars setquestmaster"
  28. send "&e/bedwars joinnpc"
  29. send "&2"
  30. send "&a&lGAME SETUP"
  31. send "&e/bedwars setspawn <Red / Blue / Green / Yellow>"
  32. send "&e/bedwars setgenerator <Iron / Gold / Diamond / Emerald>"
  33. send "&e/bedwars setshop"
  34. send "&e/bedwars setupgrade"
  35. send "&l&a------------------------------"
  36. if arg-1 is "setlobby":
  37. set {lobbyspawn} to location of player
  38. send "&aロビーをセットしました。"
  39. if arg-1 is "setquest":
  40. execute console command "/npc create QuestMaster --type villager"
  41. wait 0.5 seconds
  42. execute console command "/npc name"
  43.  
  44. on first join:
  45. if {lobby} is true:
  46. teleport player to {lobbyspawn}
  47. set join message to "&7%player% &efirst join."
  48. set player's gamemode to adventure
  49.  
  50. on join:
  51. if {lobby} is true:
  52. teleport player to {lobbyspawn}
  53. set join message to "&7%player% &ejoined."
  54. set player's gamemode to adventure
  55.  
  56. on quit:
  57. if {lobby} is true:
  58. set quit message to "&7%player% &equit."
  59.  
  60. on damage:
  61. if {lobby} is true:
  62. cancel event
  63.  
  64. command /lobbymode:
  65. permission: skript.admin
  66. trigger:
  67. if {lobby} is not set:
  68. set {lobby} to true
  69. send "&aロビーモードが有効になりました。"
  70. stop
  71. if {lobby} is false:
  72. set {lobby} to true
  73. send "&aロビーモードが有効になりました。"
  74. stop
  75. if {lobby} is true:
  76. set {lobby} to false
  77. send "&aロビーモードが無効になりました。"
  78. stop
Advertisement
Add Comment
Please, Sign In to add comment