Advertisement
daipon0512

Untitled

Mar 9th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  1. options:
  2. prefix: [KitPvP]
  3.  
  4. command /kitpvp [<text>] [<text>]:
  5. permission:kitpvp.commands
  6. permission message:cこのコマンドを実行する権限がありません。
  7. trigger:
  8. if arg 1 is not set:
  9. send "&1KitPvP Commands:"
  10. send "&9/kitpvp setspawn &7- &bKitPvPのスポーン地点を設定します"
  11. send "&9/kitpvp spawn &7- &bKitPvPのスポーン地点にテレポートします"
  12. if arg 1 is "setspawn":
  13. set {kitpvp.spawn} to player's location
  14. send "{@prefix} スポーン地点を設定しました."
  15. if arg 1 is "spawn":
  16. teleport player to {kitpvp.spawn}
  17. command /kits [<text>]:
  18. trigger:
  19. if arg-1 is not set:
  20. wait 1 ticks
  21. open chest with 1 row named "職業の選択" to player
  22. wait 1 ticks
  23. format slot 2 of player with wood sword named "剣士" to close then run [execute player command "/kits kisi"]
  24. format slot 3 of player with obsidian named "タンク" to close then run [execute player command "/kits tanku"]
  25. format slot 4 of player with bow named "弓兵" to close then run [execute player command "/kits yumihei"]
  26. format slot 5 of player with flint and steel named "パイロ" to close then run [execute player command "/kits pairo"]
  27. if player doesn't have permission "ks.ansatusya":
  28. format slot 6 of player with red stained glass pane named "暗殺者" with lore "&cこのキットは購入することで使用可能になります" to be unstealable
  29. if player has permission "kits.ansatusya":
  30. format slot 6 of player with feather named "暗殺者" with lore "&aこのキットは購入済みです" to close then run [execute player command "/kits ansatusya"]
  31. if arg-1 is "kisi":
  32. make console execute command "/effect %player% clear"
  33. clear player's inventory
  34. set slot 0 of player to iron sword
  35. set slot 1 of player to 16 bread
  36. equip player with chainmail chestplate
  37. equip player with chainmail boots
  38. message "{@prefix} あなたは剣士を選択しました!"
  39. teleport player to {kitpvp.spawn}
  40. stop
  41. if arg-1 is "tanku":
  42. make console execute command "/effect %player% clear"
  43. clear player's inventory
  44. set slot 0 of player to wood sword
  45. set slot 1 of player to 16 bread
  46. equip player with iron chestplate
  47. equip player with iron leggings
  48. message "{@prefix} あなたはタンクを選択しました!"
  49. teleport player to {kitpvp.spawn}
  50. stop
  51. if arg-1 is "yumihei":
  52. make console execute command "/effect %player% clear"
  53. clear player's inventory
  54. set slot 0 of player to bow
  55. set slot 1 of player to 16 bread
  56. set slot 2 of player to 64 arrows
  57. equip player with leather helmet
  58. equip player with chainmail chestplate
  59. message "{@prefix} あなたは弓兵を選択しました!"
  60. teleport player to {kitpvp.spawn}
  61. stop
  62. if arg-1 is "pairo":
  63. make console execute command "/effect %player% clear"
  64. clear player's inventory
  65. set slot 0 of player to stone sword
  66. set slot 1 of player to blaze rod of fire aspect 1
  67. set slot 2 of player to 16 bread
  68. equip player with leather chestplate
  69. equip player with iron leggings
  70. message "{@prefix} あなたはパイロを選択しました!"
  71. teleport player to {kitpvp.spawn}
  72. stop
  73. if arg-1 is "ansatusya":
  74. if player has permission "ks.ansatusya":
  75. make console execute command "/effect %player% clear"
  76. clear player's inventory
  77. set slot 0 of player to stone sword
  78. set slot 1 of player to 1 feather named "&aダッシュ"
  79. set slot 2 of player to 16 bread
  80. equip player with leather chestplate
  81. equip player with leather leggings
  82. message "{@prefix} あなたは暗殺者を選択しました!"
  83. teleport player to {kitpvp.spawn}
  84. stop
  85. on right click holding feather:
  86. name of held item contains "&aダッシュ"
  87. push the player forwards at speed 1.5
  88. remove 1 feather from player's inventory
  89. on right click holding chest:
  90. name of held item contains "職業を選ぶ"
  91. make player execute command "/kits"
  92. on right click holding emerald:
  93. name of held item contains "お店"
  94. make player execute command "/store"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement