Advertisement
suigin_kunn

Playerscommand

Dec 15th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.04 KB | None | 0 0
  1. #通常コマンド
  2. #hp確認
  3. command /hpcheck [<player>]
  4. trigger:
  5. if arg-1 is not set:
  6. send "&7%player%'s health is %health of player%♡"
  7. else if arg-1 is set:
  8. send "&7%player%'s health is %health of player%♡"
  9. #メニューコマンド
  10. command /menu:
  11. trigger:
  12. open chest with 1 row named "&7&lMenu" to player
  13. wait tick
  14. format slot 0 of player with skull of named "&7&l%player%'s Status" with lore "&7Battle Status||&7Level (&6%{lvl.%uuid of player%}%&7) exp (&6%{exp.%uuid of player%}%&7)||&7Skill Point (&6%{sp.%uuid of player%}%&7)||&7Sword Skill (&6%{sword.%uuid of player%}%&7)||&7Axe Skill (&6%{axe.%uuid of player%}%&7)||&7Bow Skill (&6%{bow.%uuid of player%}%&7)||&7Knife SKill (&6%{knife.%uuid of player%}%&7)||&7Spear Skill (&6%{spear.%uuid of player%}%&7)||&7&lHistory Status||&7First Login (&6%{fj.%uuid of player%}%&7)||&7Last Quit (&6%{lq.%uuid of player%}%&7)||&7Kill count (&6%{kill.%uuid of player%}%&7)||&7Death count (&6%{death.%uuid of player%}%&7)"
  15. format slot 1 of player with iron sword named "&7&lBattle Menu" with lore "&7About the battle can set it!" to close then run "battlemenu"
  16. format slot 3 of player with book named "&7&lWiki URL" with lore "&7Send the Wiki URL!" to run "wiki"
  17. format slot 4 of player with obsidian named "&7&lDiscord of TitaniumRPG inviteURL" with lore "&7Send the discord inviteURL!" to run "discord"
  18. format slot 6 of player with bucket named "&7&lTrushbox" with lore "&7Open the trushbox!" to close then run "dustbox"
  19. #ゴミ箱
  20. command /del:
  21. trigger:
  22. open chest with 5 rows named "&7Dustbox" to player
  23. #ピン確認
  24. command /ping [<player>]:
  25. trigger:
  26. if arg-1 is not set:
  27. send "&3[ping]&7%player%'s ping:%player's ping%"
  28. if arg-1 is set:
  29. send "&3[ping]&7%arg-1%'s Ping:%arg-1's ping%"
  30. #自殺コマンド
  31. command /suicide:
  32. trigger:
  33. if {event.%uuid of player%} is 1:
  34. send "&7Sorry, you join event to now."
  35. else if player's gamemode is spectator:
  36. send "&7You can't suicide of respawn time!"
  37. else:
  38. set player's gamemode to spectator
  39. send subtitle from "&cYou a suicided!"
  40. broadcast "&4%player% is suicided."
  41. wait 5 second
  42. teleport the player to {respawn.%uuid of player%}
  43. heal the player
  44. #取引用
  45. command /trade <text>:
  46. trigger:
  47. if arg-1 is "cancel":
  48. if {trade::*} contains {trademessage.%uuid of player%}:
  49. send "&7Canceled your trade offer."
  50. remove {trademessage.%uuid of player%} from {trade::*}
  51. set {trade.%uuid of player%} to 0
  52. else:
  53. send "&7You don't offer the trading of item."
  54. else if arg-1 is "check":
  55. send "&7Your offer of item trading message"
  56. send "&7%{trademessage.%uuid of player%}%"
  57. else if arg-1 is "list":
  58. send "%{trade::*}%"
  59. else if arg-1 is "again":
  60. if {traemessage.%uuid of player%} is set:
  61. if size of {trade::*} is 15:
  62. send "&7Sorry, this item trading shop is full. please wait to try again."
  63. else:
  64. add {trademessage.%uuid of player%} to {trade::*}
  65. broadcast "&7&l%player% offer trade item!"
  66. else if arg-1 is not set:
  67. if {trade.%uuid of player%} is 1:
  68. send "&7You offer to already the trade."
  69. else if {trade.%uuid of player%} is 0:
  70. if size of {trade::*} is 15:
  71. send "&7Sorry, this item trading shop is full. please wait to try again."
  72. else:
  73. set {trademessage.%uuid of player%} to "&7Trading &7(&8%player%&7) Message &7(&8%colored of arg-1%&7)"
  74. set {trade.%uuid of player%} to 1
  75. add {trade::*} to {trademessage.%uuid of player%}
  76. broadcast "&7&l%player% offer trade item!"
  77. #スポーン
  78. command /spawn:
  79. trigger:
  80. if player's gamemode is spectator:
  81. teleport the player to {respawn.%uuid of player%}
  82. send "&7You teleported the your respawn point."
  83. set player's gamemode to adventure
  84. else if player's gamemode is adventure or survival:
  85. send "&7Sorry, you can't use this command."
  86. #スキル設定
  87. command /skill:
  88. trigger:
  89. open chest with 1 row named "&7&lSkill Menu" to player
  90. wait tick
  91. format slot 0 of player with skull of named "&7%player%'s class" with lore "&7%player% is %{classname.%uuid of player%}%."
  92. format slot 1 of player with diamond sword named "&7&lSword" with lore "&7Add skillpoint to sword skill." to run "/sp sword"
  93. format slot 2 of player with diamond axe named "&7&lAxe" with lore "&7Add skillpoint to axe skill." to run "/sp skill"
  94. format slot 3 of player with diamond hoe named "&7&lKnife" with lore "&7Add skillpoint to knife skill." to run "/sp knife"
  95. format slot 4 of player with bow named "&7&lBow" with lore "&7Add skillpoint to bow skill." to run "/sp bow"
  96. format slot 8 of player with book named "&7&lWhat is Skillpoint?" with lore "&7Skillpoint is powered for weapon skill.||If you using skill, skill power is dependence the skill points."
  97. #職業設定
  98. command /class <text>:
  99. trigger:
  100. if {setclass.%uuid of player%} is 1:
  101. send "&7You already settings to skill."
  102. else if {setclass.%uuid of player%} is 0:
  103. set {setclass.%uuid of player%} to 1
  104. if arg-1 is "sword":
  105. send "&7Ok! You got skill of sword!"
  106. set {class.%uuid of player%} to 1
  107. set {classname.%uuid of player%} to "Sword"
  108. else if arg-1 is "axe":
  109. send "&7Ok! You got skill of axe!"
  110. set {class.%uuid of player%} to 2
  111. set {classname.%uuid of player%} to "Axe"
  112. else if arg-1 is "knife":
  113. set {class.%uuid of player%} to 3
  114. set {classname.%uuid of player%} to "Knife"
  115. else if arg-1 is "bow":
  116. set {class.%uuid of player%} to 4
  117. set {classname.%uuid of player%} to "Bow"
  118. #スキルポイント振り分け
  119. command /skillpoint:
  120. aliases: /sp
  121. permission: sk.admin
  122. permission message: &7Sorry, you can't use this command.
  123. trigger:
  124. if {sp.%uuid of player%} <= 0:
  125. send "&7You don't have skill point!"
  126. else:
  127. open chest with 1 row named "&7&lSkillpoint Menu"
  128. if {class.%uuid of player%} is 1:
  129. wait tick
  130. format slot 0 of player with diamond sword named "&7&lAdd 1 Skillpoint to Sword skill" to run "/addsp sword 1"
  131. format slot 1 of player with diamond sword named "&7&lAdd 5 Skillpoint to Sword skill" to run "/addsp sword 5"
  132. format slot 2 of player with diamond sword named "&7&lAdd 10 Skillpoint to Sword skill" to run "/addsp sword 10"
  133. format slot 3 of player with diamond sword named "&7&lAdd 50 Skillpoint to Sword skill" to run "/addsp sword 50"
  134. format slot 4 of player with diamond sword named "&7&lAdd 100 SKillpoint to Sword skill" to run "/addsp sword 100"
  135. format slot 8 of player with book named "&7&lWhat's this menu?" with lore "&7If your train a technique, add skillpoint to power of skill"
  136. else if {class.%uuid of player%} is 2:
  137. wait tick
  138. format slot 0 of player with diamond axe named "&7&lAdd 1 Skillpoint to Axe skill" to run "/addsp axe 1"
  139. format slot 1 of player with diamond axe named "&7&lAdd 5 Skillpoint to Axe skill" to run "/addsp axe 5"
  140. format slot 2 of player with diamond axe named "&7&lAdd 10 Skillpoint to Axe skill" to run "/addsp axe 10"
  141. format slot 3 of player with diamond axe named "&7&lAdd 50 Skillpoint to Axe skill" to run "/addsp axe 50"
  142. format slot 4 of player with diamond axe named "&7&lAdd 100 Skill point to Axe skill" to run "/addsp axe 100"
  143. format slot 8 of player with book named "&7&lWhat's this menu?" with lore "&7If your train a technique, add skillpoint to power of skill"
  144. else if {class.%uuid of player%} is 3:
  145. wait tick
  146. format slot 0 of player with diamond hoe named "&7&lAdd 1 Skillpoint to Knife skill" to run "/addsp knife 1"
  147. format slot 1 of player with diamond hoe named "&7&lAdd 5 Skillpoint to Knife skill" to run "/addsp knife 5"
  148. format slot 2 of player with diamond hoe named "&7&lAdd 10 Skillpoint to Knife skill" to run "/addsp knife 10"
  149. format slot 3 of player with diamond hoe named "&7&lAdd 50 Skillpoint to Knife skill" to run "/addsp knife 50"
  150. format slot 4 of player with diamond hoe named "&7&lAdd 100 Skill point to Knife skill" to run "/addsp knife 100"
  151. format slot 8 of player with book named "&7&lWhat's this menu?" with lore "&7If your train a technique, add skillpoint to power of skill"
  152. else if {class.%uuid of player%} is 4:
  153. wait tick
  154. format slot 0 of player with bow named "&7&lAdd 1 Skillpoint to Bow skill" to run "/addsp bow 1"
  155. format slot 1 of player with bow named "&7&lAdd 5 Skillpoint to Bow skill" to run "/addsp bow 5"
  156. format slot 2 of player with bow named "&7&lAdd 10 Skillpoint to Bow skill" to run "/addsp bow 10"
  157. format slot 3 of player with bow named "&7&lAdd 50 Skillpoint to Bow skill" to run "/addsp bow 50"
  158. format slot 4 of player with bow named "&7&lAdd 100 Skill point to Bow skill" to run "/addsp bow 100"
  159. format slot 8 of player with book named "&7&lWhat's this menu?" with lore "&7If your train a technique, add skillpoint to power of skill"
  160. #ランダムプレイヤー
  161. command /randomplayer:
  162. trigger:
  163. set {_a} to random element out of {players::*}
  164. wait 1 tick
  165. broadcast "&7&l%{_a}% is selected by %player%!!"
  166. #DiscordURL
  167. command /discord:
  168. trigger:
  169. send "&7https://discord.gg/ANNrVj"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement