kunihiko_sato

Untitled

Sep 16th, 2018
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.26 KB | None | 0 0
  1. options:
  2. prefix: &5&l-<Skills>-
  3. prefix2: \u00a75\u00a7l-<Skills>-
  4. error: &c*ERROR*
  5.  
  6. command /skills [<text>]:
  7. permission: *
  8. permission message: &cYou haven't permission.
  9. trigger:
  10. if arg-1 is "help" or "help 1" or "reload" or "version" or "ignorecooldown" or "toggleskill" or "grab" or "settings" or "list":
  11. if arg-1 is "help" or "help 1":
  12. message "&5&l&o-----------------------< Skills >-----------------------"
  13. message "&a&l &a&l作った人: ClockClap &e ページ: 1/1"
  14. message "&ahelp &6- &bこのプラグインのヘルプを表示します。"
  15. message "&areload &6- &bこのプラグインをリロードします。"
  16. message "&aversion &6- &bこのプラグインのバージョンを見ます。"
  17. message "&aignorecooldown &6- &bスキルのクールダウンをトグルします。"
  18. message "&atoggleskill &6- &bスキルの使用可能をトグルします。"
  19. message "&agrab &6- &bスキルアイテムをゲットします。"
  20. message "&asettings &6- &b現在の設定を見ます。"
  21. message "&alist &6- &bスキルの一覧を表示します。"
  22. message "&5&l&o--------------------------------------------------------"
  23.  
  24. if arg-1 is "reload":
  25. message "{@prefix} &bプラグインをリロードしています…"
  26. wait 15 ticks
  27. execute console command "sk reload skillscmd"
  28. execute console command "sk reload skills"
  29. execute console command "sk reload skillsd"
  30. execute console command "sk reload skillsic"
  31. message "{@prefix} &bプラグインをリロードしました。"
  32.  
  33. if arg-1 is "version":
  34. message "{@prefix} &bこのプラグインのバージョンは &3&l3.8.9&b です。"
  35.  
  36. if arg-1 is "ignorecooldown":
  37. if {skill} is 1:
  38. if {ignore.cooldown} is not set:
  39. set {ignore.cooldown} to 1
  40. execute console command "sk disable skills"
  41. execute console command "sk disable skillsd"
  42. execute console command "sk enable skillsic"
  43. message "{@prefix} &bIgnore Cooldownを &a有効 &bにしました。"
  44. execute console command "tellraw @a[name=!%player%] {""text"":""{@prefix2} \u00a7bIgnore Cooldownが \u00a7a有効 \u00a7bになりました。""}"
  45. if {ignore.cooldown} is 1:
  46. set {ignore.cooldown} to 0
  47. execute console command "sk enable skills"
  48. execute console command "sk disable skillsd"
  49. execute console command "sk disable skillsic"
  50. message "{@prefix} &bIgnore Cooldownを &c無効 &bにしました。"
  51. execute console command "tellraw @a[name=!%player%] {""text"":""{@prefix2} \u00a7bIgnore Cooldownが \u00a7c無効 \u00a7bになりました。""}"
  52. else:
  53. set {ignore.cooldown} to 1
  54. execute console command "sk disable skills"
  55. execute console command "sk disable skillsd"
  56. execute console command "sk enable skillsic"
  57. message "{@prefix} &bIgnore Cooldownを &a有効 &bにしました。"
  58. execute console command "tellraw @a[name=!%player%] {""text"":""{@prefix2} \u00a7bIgnore Cooldownが \u00a7a有効 \u00a7bになりました。""}"
  59. else:
  60. execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
  61. message "{@prefix} &cスキルが有効になっていません!"
  62.  
  63. if arg-1 is "toggleskill":
  64. if {skill} is not set:
  65. set {skill} to 0
  66. execute console command "sk disable skills"
  67. execute console command "sk disable skillsic"
  68. execute console command "sk enable skillsd"
  69. message "{@prefix} &bスキルを &c無効 &bにしました。"
  70. execute console command "tellraw @a[name=!%player%] {""text"":""{@prefix2} \u00a7bスキルが \u00a7c無効 \u00a7bになりました。""}"
  71. if {skill} is 1:
  72. set {skill} to 0
  73. execute console command "sk disable skills"
  74. execute console command "sk disable skillsic"
  75. execute console command "sk enable skillsd"
  76. message "{@prefix} &bスキルを &c無効 &bにしました。"
  77. execute console command "tellraw @a[name=!%player%] {""text"":""{@prefix2} \u00a7bスキルが \u00a7c無効 \u00a7bになりました。""}"
  78. else:
  79. if {ignore.cooldown} is 0:
  80. set {skill} to 1
  81. execute console command "sk enable skills"
  82. execute console command "sk disable skillsd"
  83. message "{@prefix} &bスキルを &a有効 &bにしました。"
  84. execute console command "tellraw @a[name=!%player%] {""text"":""{@prefix2} \u00a7bスキルが \u00a7a有効 \u00a7bになりました。""}"
  85. else:
  86. set {skill} to 1
  87. execute console command "sk enable skillsic"
  88. execute console command "sk disable skillsd"
  89. message "{@prefix} &bスキルを &a有効 &bにしました。"
  90. execute console command "tellraw @a[name=!%player%] {""text"":""{@prefix2} \u00a7bスキルが \u00a7a有効 \u00a7bになりました。""}"
  91.  
  92. if arg-1 is "grab":
  93. if {skill} is 1:
  94. execute console command "give %player% gunpowder 1 0 {display:{Name:""§a§lSkill §4§l[Bom]"",Lore:[""§7Cooldown: §a5s""]}}"
  95. execute console command "give %player% feather 1 0 {display:{Name:""§a§lSkill §f§l[Levitation]"",Lore:[""§7Cooldown: §a10s""]}}"
  96. execute console command "give %player% iron_sword 1 0 {display:{Name:""§a§lSkill §c§l[Kill]"",Lore:[""§7Cooldown: §a50s""]}}"
  97. execute console command "give %player% fire_charge 1 0 {display:{Name:""§a§lSkill §6§l[Fireball]"",Lore:[""§7Cooldown: §a3s""]}}"
  98. execute console command "give %player% fishing_rod 1 0 {display:{Name:""§a§lSkill §3§l[Jump]"",Lore:[""§7Cooldown: §a15s""]}}"
  99. execute console command "give %player% diamond 1 0 {display:{Name:""§a§lSkill §e§l[Heal]"",Lore:[""§7Cooldown: §a12s""]}}"
  100. message "{@prefix} &bスキルアイテムをゲットしました。"
  101. else:
  102. execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
  103. message "{@prefix} &cスキルが有効になっていません。"
  104.  
  105. if arg-1 is "settings":
  106. if {skill} is 0:
  107. if {ignore.cooldown} is 1:
  108. message "{@prefix} &bスキル: &c無効"
  109. message "{@prefix} &bIgnore Cooldown: &a有効"
  110. else:
  111. message "{@prefix} &bスキル: &c無効"
  112. message "{@prefix} &bIgnore Cooldown: &c無効"
  113. else:
  114. if {ignore.cooldown} is 1:
  115. message "{@prefix} &bスキル: &a有効"
  116. message "{@prefix} &bIgnore Cooldown: &a有効"
  117. else:
  118. message "{@prefix} &bスキル: &a有効"
  119. message "{@prefix} &bIgnore Cooldown: &c無効"
  120. if arg-1 is "list":
  121. if {skill} is 0:
  122. message "&2&l&o-----------------------< List >-----------------------"
  123. message " &e ページ: 1/1"
  124. message "&5- &cBom&b... 爆発します。&7(Cooldown: &a5s)"
  125. message "&5- &cLevitation&b... 敵を浮かせます。&7(Cooldown: &a10s)"
  126. message "&5- &cKill&b... 敵を倒します。&7(Cooldown: &a50s)"
  127. message "&5- &cFireball&b... 火の玉を飛ばします。&7(Cooldown: &a3s)"
  128. message "&5- &cJump&b... 敵を跳ねさせます。&7(Cooldown: &a15s)"
  129. message "&5- &cHeal&b... 自分をヒールします。&7(Cooldown: &a12s)"
  130. message "&2&l&o------------------------------------------------------"
  131. else:
  132. message "&2&l&o-----------------------< List >-----------------------"
  133. message " &e ページ: 1/1"
  134. message "&5- &aBom&b... 爆発します。&7(Cooldown: &a5s)"
  135. message "&5- &aLevitation&b... 敵を浮かせます。&7(Cooldown: &a10s)"
  136. message "&5- &aKill&b... 敵を倒します。&7(Cooldown: &a50s)"
  137. message "&5- &aFireball&b... 火の玉を飛ばします。&7(Cooldown: &a3s)"
  138. message "&5- &aJump&b... 敵を跳ねさせます。&7(Cooldown: &a15s)"
  139. message "&5- &aHeal&b... 自分をヒールします。&7(Cooldown: &a12s)"
  140. message "&2&l&o------------------------------------------------------"
  141. else:
  142. execute console command "execute %player% ~ ~ ~ /playsound minecraft:entity.endermen.teleport master @p ~ ~ ~ 1 0.5"
  143. message "{@prefix} &cコマンドの構文が違います。/skills help でコマンドのヘルプを"
  144. message "&c確認してください。"
Add Comment
Please, Sign In to add comment