Advertisement
NiceQQQQ

Untitled

Sep 13th, 2019
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.90 KB | None | 0 0
  1. command /menu:
  2. trigger:
  3. open chest with 3 row named "§aメニュー" to player
  4. set slot 0 of player's current inventory to dark gray glass pane named "§f"
  5. set slot 1 of player's current inventory to dark gray glass pane named "§f"
  6. set slot 2 of player's current inventory to dark gray glass pane named "§f"
  7. set slot 3 of player's current inventory to dark gray glass pane named "§f"
  8. set slot 4 of player's current inventory to dark gray glass pane named "§f"
  9. set slot 5 of player's current inventory to dark gray glass pane named "§f"
  10. set slot 6 of player's current inventory to dark gray glass pane named "§f"
  11. set slot 7 of player's current inventory to dark gray glass pane named "§f"
  12. set slot 8 of player's current inventory to dark gray glass pane named "§f"
  13. set slot 9 of player's current inventory to dark gray glass pane named "§f"
  14. set slot 10 of player's current inventory to nether star named "§6§lルール" with lore "§aクリックしたら見れます。"
  15. set slot 11 of player's current inventory to dark gray glass pane named "§f"
  16. set slot 12 of player's current inventory to downward command blocks named "§6§lコマンドリスト" with lore "§aクリックしたら見れます。"
  17. set slot 13 of player's current inventory to dark gray glass pane named "§f"
  18. set slot 14 of player's current inventory to book named "§6§lステータス" with lore "§aクリックしたら見れます。"
  19.  
  20. on inventory click:
  21. if name of player's current inventory contain "§aメニュー":
  22. cancel event
  23. if name of clicked item is "§6§lルール":
  24. send "§aSPAMをしない。§c<Ban 1日>"
  25. send "§a嘘の情報を言う。 §c<Ban 1日>"
  26. send "§aHack。§c<IPBAN,無期限BAN>"
  27. send "§aバグを報告しない。§c<Ban 一か月>"
  28. send "§aバグを乱用。§c<Ban 一か月>"
  29. if name of clicked item is "§6§lコマンドリスト":
  30. send "§a/jp <on,off>"
  31. send "§a/discord"
  32. send "§a/tell <プレイヤー> <メッセージ>"
  33. if name of clicked item is "§6§lステータス":
  34. send "§a§lステータス"
  35. send "§e§lLevel §a§l%{lvl::%player%}%"
  36. send "§a§lXP §a§l%{xp::%player%}%"
  37. send "§e§lMoney §a§l%{money::%player%}%"
  38.  
  39.  
  40.  
  41. command /id:
  42. trigger:
  43. send "%player's held item%"
  44.  
  45. #===============================================================#
  46. #-J-RPG- Level System #
  47. #===============================================================#
  48.  
  49. #===============================================================#
  50. #-CONFIG- #
  51. #===============================================================#
  52.  
  53. options:
  54. #-------------------LOG-------------------#
  55. #LVLUP時の最初のメッセージに
  56. log: &6Q-RPG
  57. #-----------------------------------------#
  58.  
  59. #------------------Types------------------#
  60. maxlvl: 1000
  61. playerleveling: true
  62. #-----------------------------------------#
  63.  
  64. #------------------Rank-------------------#
  65. rank: &2Player
  66. #-----------------------------------------#
  67.  
  68.  
  69. #===============================================================#
  70. #-Dont-Edit- #
  71. #===============================================================#
  72.  
  73. variables:
  74. {lvl::%player%} = 1
  75. {xp::%player%} = 0
  76. {sp::%player%} = 1
  77. {up::%player%} = 90
  78.  
  79. command /rpg-status-reset [<offline player>]:
  80. permission: k2Rsk
  81. trigger:
  82. if arg-1 is not set:
  83. set {lvl::%player%} to 1
  84. set {xp::%player%} to 0
  85. set {up::%player%} to 90
  86. set {money::%player%} to 0
  87. execute console command "effect %player% clear"
  88. send "{@log}&e%player%のステータスをリセットしました"
  89. if arg-1 is set:
  90. set {lvl::%arg-1%} to 1
  91. set {xp::%arg-1%} to 0
  92. set {sp::%arg-1%} to 1
  93. set {str::%arg-1%} to 0
  94. set {def::%arg-1%} to 0
  95. set {hp::%arg-1%} to 0
  96. set {up::%arg-1%} to 130
  97. set {money::%player%} to 0
  98. execute console command "effect %arg-1% clear"
  99. send "{@log}&e%arg-1%のステータスをリセットしました"
  100.  
  101. #===============================================================#
  102. #-Edit-OK- #
  103. #===============================================================#
  104.  
  105. every 2 second:
  106. loop all players:
  107. wipe loop-player's sidebar
  108. set name of sidebar of loop-player to "&2| &6&lQ&f&l-&5&lRPG &2|"
  109. set score "§e§l---==[ステータス]==---" in sidebar of loop-player to 4
  110. set score "§eLv &7[&e&l%{lvl::%loop-player%}%&7&l&7]" in sidebar of loop-player to 3
  111. set score "§aExp &7[&a&l%{xp::%loop-player%}%/&6&l%{up::%loop-player%}%&7]" in sidebar of loop-player to 2
  112. set score "§eMoney &7[&e&l%{money::%loop-player%}%&7]" in sidebar of loop-player to 1
  113.  
  114.  
  115.  
  116. #----------------------------------------------------------------------------------------------------
  117.  
  118. on any movement:
  119. if {@playerleveling} is true:
  120. set the player's tablist name to "&c&lRank&9≫%{prefix::%uuid of player%}% &6&lLevel&f&l:&e&l%{lvl::%player%}% &f%player%"
  121. set display name of player to "&c&lRank&9≫%{prefix::%uuid of player%}% &6&lLevel&f&l:&e&l%{lvl::%player%}% &f%player%"
  122.  
  123. on any movement:
  124. if {@playerleveling} is true:
  125. set tab header to "|&6&lQ&f&l-&5&lRPG&f|" and footer to "|&a%number of all players%&7/15&f|" for player
  126.  
  127. on join:
  128. if {prefix::%uuid of player%} is not set:
  129. set {prefix::%uuid of player%} to "{@rank}"
  130.  
  131. on any movement:
  132. if {@playerleveling} is true:
  133. if {xp::%player%} is greater or equal to {up::%player%}:
  134. if {lvl::%player%} is greater or equal to {@maxlvl}:
  135. stop
  136. else:
  137. add 1 to {lvl::%player%}
  138. add 1 to {sp::%player%}
  139. add 120 to {up::%player%}
  140. set {xp::%player%} to 0
  141. send "{@log}"
  142. send "&l&b&lレベルアップ!!"
  143. send "&8≫ &6&lLevel&a&l: &e&l%{lvl::%player%}%"
  144. send "&8≫ &5&lSP&a&l: &e&l+1"
  145. stop
  146.  
  147. command /rpg-set-level [<offline player>] [<text>]:
  148. permission: admin
  149. trigger:
  150. if arg 1 is set:
  151. if arg 2 is set:
  152. set {lvl::%arg-1%} to arg-2
  153. set {sp::%arg-1%} to arg-2
  154. stop
  155. if arg 1 is set:
  156. if arg 2 is not set:
  157. send "使い方: /rpg-set-level k2R 1"
  158. stop
  159. if arg 1 is not set:
  160. send "使い方: /rpg-set-level k2R"
  161. stop
  162. #----------------------------------------------------------------------------------------------------
  163.  
  164. on chat:
  165. cancel event
  166. if {mute::%uuid of player%} is set:
  167. {mute::%uuid of player%} is true
  168. send "あなたは発言できません。" to player
  169. add 1 to {checkchat::%player%}
  170. stop
  171. if {prefix::%uuid of player%} is set:
  172. if {suffix::%uuid of player%} is set:
  173. broadcast "&9≫%{prefix::%uuid of player%}% &f%player% %{suffix::%uuid of player%}%&a: &f&l%message%"
  174. else:
  175. broadcast "&9≫%{prefix::%uuid of player%}% &f%player%&a: &f&l%message%"
  176. else:
  177. if {suffix::%uuid of player%} is set:
  178. broadcast "&9≫ &f%player% %{suffix::%uuid of player%}%&a: &f&l%message%"
  179. else:
  180. broadcast "&9≫ &f%player%&a: &f&l%message%"
  181.  
  182.  
  183. on chat:
  184. if {mute::%uuid of player%} is true:
  185. if {checkchat::%player%} is more than 5:
  186. broadcast "&8[&fJ-RPG&8]&6%player%をKICKしました。 "
  187. kick the player
  188. stop
  189.  
  190. command /mute [<offline player>] [<text>]:
  191. permission: admin
  192. trigger:
  193. if arg-1 is set:
  194. if arg-2 is set:
  195. set {mute::%uuid of arg-1%} to true
  196. broadcast "%arg-1%&6が%player%&cによってミュートされました"
  197. broadcast "理由: %arg-2% "
  198. if arg-1 is not set:
  199. send "使い方: /mute k2R_Options うるさい"
  200.  
  201. command /mute-check [<offline player>]:
  202. trigger:
  203. send "MUTE: %arg-1% %{mute::%uuid of arg-1%}%"
  204.  
  205. command /unmute [<offline player>] [<text>]:
  206. permission: admin
  207. trigger:
  208. if arg-1 is set:
  209. if arg 2 is set:
  210. set {mute::%uuid of arg-1%} to false
  211. broadcast "%arg-1%&6は&c%player%によってミュート解除されました"
  212. broadcast "理由: %arg-2% "
  213. if arg-1 is not set:
  214. send "使い方: /unmute k2R_Options 大好き"
  215.  
  216.  
  217. command /prefix [<offline player>] [<text>]:
  218. permission: admin
  219. permission message: あなたは権限を持っていません。
  220. trigger:
  221. set {prefix::%uuid of arg-1%} to colored arg-2
  222. send "&b%arg 1% の前を %colored arg 2% &bにしました!"
  223.  
  224. command /clearprefix [<offline player>]:
  225. permission: admin
  226. permission message: あなたは権限を持っていません。
  227. trigger:
  228. clear {prefix::%uuid of arg-1%}
  229. send "&b%arg 1% の称号をリセットしました。"
  230.  
  231. command /suffix [<offline player>] [<text>]:
  232. permission: admin
  233. permission message: あなたは権限を持っていません。
  234. trigger:
  235. set {suffix::%uuid of arg-1%} to coloured arg-2
  236. send "&b%arg 1% の称号を%colored arg 2% &bにしました!"
  237.  
  238. command /clearsuffix [<offline player>]:
  239. permission: admin
  240. permission message: あなたは権限を持っていません。
  241. trigger:
  242. clear {suffix::%uuid of arg-1%}
  243. send "&b%arg 1% の称号をリセットしました。"
  244.  
  245. command /prefixhelp:
  246. permission: skript.admin
  247. permission message: あなたは権限を持っていません。
  248. trigger:
  249. send "&b&m================================="
  250. send "&b&lPREFIX &eSKRIPT Version:1.12.2 "
  251. send "&b&l/prefix (名前) (称号) "
  252. send "&b&l/clearprefix (名前) "
  253. send "&b&l/suffix (名前) (称号) "
  254. send "&b&l/clearsuffix (名前)"
  255. send "&b&l/mute (名前) (理由)"
  256. send "&b&l/unmute (名前) (理由)"
  257. send "&b&l/mute-check (名前)"
  258. send "&b&m================================="
  259.  
  260.  
  261.  
  262. options:
  263. TEST: 10
  264. TESTMONEY: 4
  265. NAME: 9
  266.  
  267. On death of a skeleton:
  268. if name of victim is "§aボーン§7[§eLv.2§7]":
  269. if {@playerleveling} is true:
  270. if attacker is a player:
  271. add {@TEST} to {xp::%attacker%}
  272. add {@TESTMONEY} to {money::%attacker%}
  273. send "{@log}&b{@TEST}&6EXP" to the attacker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement