Advertisement
taktie0304

Untitled

Jul 20th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.32 KB | None | 0 0
  1. command /scoreoption:
  2. trigger:
  3. command "/scoreboard teams add red"
  4. command "/scoreboard teams add blue"
  5. command "/scoreboard teams option red color red"
  6. command "/scoreboard teams option blue color blue"
  7. command "/scoreboard teams option red friendlyfire false"
  8. command "/scoreboard teams option blue friendlyfire false"
  9. command "/scoreboard teams option red nametagVisibility hideForOtherTeams"
  10. command "/scoreboard teams option blue nametagVisibility hideForOtherTeams"
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. command /start:
  19. trigger:
  20. if {game} is false:
  21. loop all players:
  22. send loop-player title "&a5" with subtitle "&fスタートまで" for 1 seconds
  23. wait 1 second
  24. loop all players:
  25. send loop-player title "&a4" with subtitle "&fスタートまで" for 1 seconds
  26. wait 1 second
  27. loop all players:
  28. send loop-player title "&a3" with subtitle "&fスタートまで" for 1 seconds
  29. wait 1 second
  30. loop all players:
  31. send loop-player title "&a2" with subtitle "&fスタートまで" for 1 seconds
  32. wait 1 second
  33. loop all players:
  34. send loop-player title "&a1" with subtitle "&fスタートまで" for 1 seconds
  35. wait 1 second
  36. set {gameplayer} to 0
  37. loop all players:
  38. if {join.%loop-player%} is true:
  39. add 1 to {gameplayer}
  40. if {gameplayer} <= 1:
  41. broadcast "&c参加人数が足りませんでした"
  42. else:
  43. set {red} to 0
  44. set {blue} to 0
  45. set {count} to 180
  46. set {lobby} to location (0, 10, 0)
  47. set {cmdlobby} to "0 10 0"
  48. set {redspawn} to location (1, 4, 0)
  49. set {bluespawn} to location (-1, 4, 0)
  50. set {obsidian} to true
  51. set {diamondpickaxe} to true
  52. command "/scoreboard teams empty red"
  53. command "/scoreboard teams empty blue"
  54. loop all players:
  55. if {join.%loop-player%} is true:
  56. if {a} == 0:
  57. command "clear %loop-player%"
  58. if {obsidian} is true:
  59. command "/give %loop-player% minecraft:obsidian 1 0 {CanPlaceOn:[""minecraft:gold_block""]}"
  60. set {obsidian} to false
  61. set {team.%loop-player%} to "red"
  62. set {teamchat.%loop-player%} to "&c"
  63. add 1 to {red}
  64. command "/scoreboard teams join red %loop-player%"
  65. wait 2 ticks
  66. teleport the loop-player to {redspawn}
  67. set rf max hp of loop-player to 12
  68. give bow to loop-player
  69. give 32 arrow to loop-player
  70. equip loop-player with leather helmet
  71. dye loop-player's helmet (255, 51, 0)
  72. send loop-player title " " with subtitle "&f敵を全滅、もしくは黒曜石を防衛せよ" for 5 seconds
  73. delete {join.%loop-player%}
  74. set {a} to 1
  75. else:
  76. command "clear %loop-player%"
  77. if {diamondpickaxe} is true:
  78. command "/give %loop-player% minecraft:diamond_pickaxe 1 0 {ench:[{id:32s,lvl:1s}],CanDestroy:[""minecraft:obsidian""]}"
  79. set {diamondpickaxe} to false
  80. set {team.%loop-player%} to "blue"
  81. set {teamchat.%loop-player%} to "&9"
  82. add 1 to {blue}
  83. command "/scoreboard teams join blue %loop-player%"
  84. wait 2 ticks
  85. teleport the loop-player to {bluespawn}
  86. set rf max hp of loop-player to 12
  87. give bow to loop-player
  88. give 32 arrow to loop-player
  89. equip loop-player with leather helmet
  90. dye loop-player's helmet (0, 51, 255)
  91. send loop-player title " " with subtitle "&f敵を全滅、もしくは黒曜石を破壊せよ" for 5 seconds
  92. delete {join.%loop-player%}
  93. set {a} to 0
  94. set {game} to true
  95. enable PvP
  96. else:
  97. send "&c現在試合中です" to player
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105. on death of player:
  106. if {game} is true:
  107. set the death message to "%{teamchat.%attacker%}%%attacker% &7--&8|&6)&7--> %{teamchat.%victim%}%%victim%"
  108. set {DeathPoint.%player%} to location of player
  109. force the player to respawn
  110. teleport player to {DeathPoint.%player%}
  111. set the player's gamemode to spectator
  112. remove 1 from {%{team.%victim%}%}
  113. add 1 to {kill.%uuid of attacker%}
  114. add 1 to {death.%uuid of victim%}
  115. add 3 to {xp.%uuid of attacker%}
  116. send "&a+3xp" to attacker
  117. if {obsidian} is true:
  118. loop all players:
  119. if {team.%loop-player%} is "red":
  120. send loop-player title " " with subtitle "&f味方が全員倒された" for 3 seconds
  121. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.2 2"
  122. if {team.%loop-player%} is "blue":
  123. send loop-player title " " with subtitle "&f敵は全滅した。黒曜石を破壊せよ" for 3 seconds
  124. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.2 2"
  125. else if {red} is 0:
  126. set {game} to false
  127. disable PvP
  128. loop all players:
  129. if {team.%loop-player%} is "red":
  130. send loop-player title "&9&l敗北" with subtitle "&f味方が全員倒された" for 5 seconds
  131. send "&9&l敗北..." to loop-player
  132. send "&a+2xp" to loop-player
  133. add 2 to {xp.%uuid of loop-player%}
  134. add 1 to {lose.%uuid of loop-player%}
  135. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
  136. if {team.%loop-player%} is "blue":
  137. send loop-player title "&6&l勝利" with subtitle "&f敵を全員倒した" for 5 seconds
  138. send "&6&l勝利!" to loop-player
  139. send "&a+10xp" to loop-player
  140. add 10 to {xp.%uuid of loop-player%}
  141. add 1 to {win.%uuid of loop-player%}
  142. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
  143. wait 6 seconds
  144. loop all players:
  145. if {team.%loop-player%} is set:
  146. command "clear %loop-player%"
  147. give grey dye named "&eゲームに参加する" to loop-player
  148. teleport the loop-player to {lobby}
  149. set rf max hp of loop-player to 20
  150. set health of loop-player to max health of loop-player
  151. set the loop-player's gamemode to survival
  152. delete {team.%loop-player%}
  153. else if {blue} is 0:
  154. set {game} to false
  155. disable PvP
  156. loop all players:
  157. if {team.%loop-player%} is "red":
  158. send loop-player title "&6&l勝利" with subtitle "&f敵を全員倒した" for 5 seconds
  159. send "&6&l勝利!" to loop-player
  160. send "&a+10xp" to loop-player
  161. add 10 to {xp.%uuid of loop-player%}
  162. add 1 to {win.%uuid of loop-player%}
  163. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
  164. if {team.%loop-player%} is "blue":
  165. send loop-player title "&9&l敗北" with subtitle "&f味方が全員倒された" for 5 seconds
  166. send "&9&l敗北..." to loop-player
  167. send "&a+2xp" to loop-player
  168. add 2 to {xp.%uuid of loop-player%}
  169. add 1 to {lose.%uuid of loop-player%}
  170. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
  171. wait 6 seconds
  172. loop all players:
  173. if {team.%loop-player%} is set:
  174. command "clear %loop-player%"
  175. give grey dye named "&eゲームに参加する" to loop-player
  176. teleport the loop-player to {lobby}
  177. set rf max hp of loop-player to 20
  178. set health of loop-player to max health of loop-player
  179. set the loop-player's gamemode to survival
  180. delete {team.%loop-player%}
  181. else:
  182. loop all players:
  183. if {team.%loop-player%} is "red":
  184. send loop-player title " " with subtitle "%{red}% VS %{blue}%" for 3 seconds
  185. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.2 2"
  186. if {team.%loop-player%} is "blue":
  187. send loop-player title " " with subtitle "%{blue}% VS %{red}%" for 3 seconds
  188. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.2 2"
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197. on quit:
  198. if {team.%player%} is set:
  199. remove 1 from {%{team.%player%}%}
  200. delete {team.%player%}
  201. command "/scoreboard teams leave %{team.%player%}% %player%"
  202. if {red} is 0:
  203. set {game} to false
  204. disable PvP
  205. loop all players:
  206. if {team.%loop-player%} is "red":
  207. send loop-player title "&9&l敗北" with subtitle "&f味方が全員倒された" for 5 seconds
  208. send "&9&l敗北..." to loop-player
  209. send "&a+2xp" to loop-player
  210. add 2 to {xp.%uuid of loop-player%}
  211. add 1 to {lose.%uuid of loop-player%}
  212. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
  213. if {team.%loop-player%} is "blue":
  214. send loop-player title "&6&l勝利" with subtitle "&f敵を全員倒した" for 5 seconds
  215. send "&6&l勝利!" to loop-player
  216. send "&a+10xp" to loop-player
  217. add 10 to {xp.%uuid of loop-player%}
  218. add 1 to {win.%uuid of loop-player%}
  219. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
  220. wait 6 seconds
  221. loop all players:
  222. if {team.%loop-player%} is set:
  223. command "clear %loop-player%"
  224. give grey dye named "&eゲームに参加する" to loop-player
  225. teleport the loop-player to {lobby}
  226. set rf max hp of loop-player to 20
  227. set health of loop-player to max health of loop-player
  228. set the loop-player's gamemode to survival
  229. delete {team.%loop-player%}
  230. else if {blue} is 0:
  231. set {game} to false
  232. disable PvP
  233. loop all players:
  234. if {team.%loop-player%} is "red":
  235. send loop-player title "&6&l勝利" with subtitle "&f敵を全員倒した" for 5 seconds
  236. send "&6&l勝利!" to loop-player
  237. send "&a+10xp" to loop-player
  238. add 10 to {xp.%uuid of loop-player%}
  239. add 1 to {win.%uuid of loop-player%}
  240. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
  241. if {team.%loop-player%} is "blue":
  242. send loop-player title "&9&l敗北" with subtitle "&f味方が全員倒された" for 5 seconds
  243. send "&9&l敗北..." to loop-player
  244. send "&a+2xp" to loop-player
  245. add 2 to {xp.%uuid of loop-player%}
  246. add 1 to {lose.%uuid of loop-player%}
  247. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
  248. wait 6 seconds
  249. loop all players:
  250. if {team.%loop-player%} is set:
  251. command "clear %loop-player%"
  252. give grey dye named "&eゲームに参加する" to loop-player
  253. teleport the loop-player to {lobby}
  254. set rf max hp of loop-player to 20
  255. set health of loop-player to max health of loop-player
  256. set the loop-player's gamemode to survival
  257. delete {team.%loop-player%}
  258. else:
  259. loop all players:
  260. if {team.%loop-player%} is "red":
  261. send loop-player title " " with subtitle "%{red}% VS %{blue}%" for 3 seconds
  262. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.2 2"
  263. if {team.%loop-player%} is "blue":
  264. send loop-player title " " with subtitle "%{blue}% VS %{red}%" for 3 seconds
  265. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.2 2"
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274. on place of obsidian:
  275. if {game} is true:
  276. set {count} to 40
  277. set {obsidian} to true
  278. loop all players:
  279. if {team.%loop-player%} is "red":
  280. send "&a&l黒曜石が設置された!" to loop-player
  281. send loop-player title " " with subtitle "&a&l黒曜石が設置された!" for 3 seconds
  282. if {team.%loop-player%} is "blue":
  283. send "&c&l黒曜石が設置された!" to loop-player
  284. send loop-player title " " with subtitle "&c&l黒曜石が設置された!" for 3 seconds
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293. on break of obsidian:
  294. if {game} is true:
  295. set {game} to false
  296. disable PvP
  297. loop all players:
  298. if {team.%loop-player%} is "red":
  299. send loop-player title "&9&l敗北" with subtitle "&f黒曜石が破壊された" for 5 seconds
  300. send "&9&l敗北..." to loop-player
  301. send "&a+2xp" to loop-player
  302. add 2 to {xp.%uuid of loop-player%}
  303. add 1 to {lose.%uuid of loop-player%}
  304. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
  305. if {team.%loop-player%} is "blue":
  306. send loop-player title "&6&l勝利" with subtitle "&f黒曜石を破壊した" for 5 seconds
  307. send "&6&l勝利!" to loop-player
  308. send "&a+10xp" to loop-player
  309. add 10 to {xp.%uuid of loop-player%}
  310. add 1 to {victory.%uuid of loop-player%}
  311. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
  312. wait 6 seconds
  313. loop all players:
  314. if {team.%loop-player%} is set:
  315. command "clear %loop-player%"
  316. give grey dye named "&eゲームに参加する" to loop-player
  317. teleport the loop-player to {lobby}
  318. set rf max hp of loop-player to 20
  319. set health of loop-player to max health of loop-player
  320. set the loop-player's gamemode to survival
  321. delete {team.%loop-player%}
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330. every a second in "world":
  331. if {game} is true:
  332. remove 1 from {count}
  333. if {count} < 0:
  334. set {game} to false
  335. disable PvP
  336. if {obsidian} is true:
  337. loop all players:
  338. if {team.%loop-player%} is "red":
  339. send loop-player title "&6&l勝利" with subtitle "&f時間切れ" for 5 seconds
  340. send "&6&l勝利!" to loop-player
  341. send "&a+10xp" to loop-player
  342. add 10 to {xp.%uuid of loop-player%}
  343. add 1 to {win.%uuid of loop-player%}
  344. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
  345. if {team.%loop-player%} is "blue":
  346. send loop-player title "&9&l敗北" with subtitle "&f時間切れ" for 5 seconds
  347. send "&9&l敗北..." to loop-player
  348. send "&a+2xp" to loop-player
  349. add 2 to {xp.%uuid of loop-player%}
  350. add 1 to {lose.%uuid of loop-player%}
  351. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
  352. wait 6 seconds
  353. loop all players:
  354. if {team.%loop-player%} is set:
  355. command "clear %loop-player%"
  356. give grey dye named "&eゲームに参加する" to loop-player
  357. command "/tp %loop-player% %{cmdlobby}%"
  358. set rf max hp of loop-player to 20
  359. set health of loop-player to max health of loop-player
  360. set the loop-player's gamemode to survival
  361. delete {team.%loop-player%}
  362. else:
  363. loop all players:
  364. if {team.%loop-player%} is "red":
  365. send loop-player title "&9&l敗北" with subtitle "&f時間切れ" for 5 seconds
  366. send "&9&l敗北..." to loop-player
  367. send "&a+2xp" to loop-player
  368. add 2 to {xp.%uuid of loop-player%}
  369. add 1 to {lose.%uuid of loop-player%}
  370. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
  371. if {team.%loop-player%} is "blue":
  372. send loop-player title "&6&l勝利" with subtitle "&f時間切れ" for 5 seconds
  373. send "&6&l勝利!" to loop-player
  374. send "&a+10xp" to loop-player
  375. add 10 to {xp.%uuid of loop-player%}
  376. add 1 to {win.%uuid of loop-player%}
  377. execute console command "execute %loop-player% ~ ~ ~ playsound minecraft:entity.wither.spawn master %loop-player% ~ ~ ~ 0.5 1"
  378. wait 6 seconds
  379. loop all players:
  380. if {team.%loop-player%} is set:
  381. command "clear %loop-player%"
  382. give grey dye named "&eゲームに参加する" to loop-player
  383. command "/tp %loop-player% %{cmdlobby}%"
  384. set rf max hp of loop-player to 20
  385. set health of loop-player to max health of loop-player
  386. set the loop-player's gamemode to survival
  387. delete {team.%loop-player%}
  388. loop all players:
  389. if {team.%loop-player%} is set:
  390. set action bar of loop-player to "&e(残り時間: %{count}%秒)"
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399. command /stats [<offline player>]:
  400. trigger:
  401. if arg 1 is not set:
  402. send "&6-----< &b%player% &6>-----"
  403. set {killdeath.%uuid of player%} to {kill.%uuid of player%} / {death.%uuid of player%}
  404. set {winlose.%uuid of player%} to {win.%uuid of player%} / {lose.%uuid of player%}
  405. send " &alevel: &e%{level.%uuid of player%}%" to player
  406. send " &axp: &e%{xp.%uuid of player%}%&7/%{needxp.%uuid of player%}%" to player
  407. send " "
  408. send " &akill: &e%{kill.%uuid of player%}%" to player
  409. send " &adeath: &e%{death.%uuid of player%}%" to player
  410. send " &aK/D: &e%{killdeath.%uuid of player%}%" to player
  411. send " &awin: &e%{win.%uuid of player%}%" to player
  412. send " &alose: &e%{lose.%uuid of player%}%" to player
  413. send " &aW/L: &e%{winlose.%uuid of player%}%" to player
  414. else:
  415. send "&6-----< &b%arg 1% &6>-----"
  416. set {killdeath.%uuid of arg 1%} to {kill.%uuid of arg 1%} / {death.%uuid of arg 1%}
  417. set {winlose.%uuid of arg 1%} to {win.%uuid of arg 1%} / {lose.%uuid of arg 1%}
  418. send " &alevel: &e%{level.%uuid of arg 1%}%" to player
  419. send " &axp: &e%{xp.%uuid of arg 1%}%&7/%{needxp.%uuid of arg 1%}%" to player
  420. send " "
  421. send " &akill: &e%{kill.%uuid of arg 1%}%" to player
  422. send " &adeath: &e%{death.%uuid of arg 1%}%" to player
  423. send " &aK/D: &e%{killdeath.%uuid of arg 1%}%" to player
  424. send " &awin: &e%{win.%uuid of arg 1%}%" to player
  425. send " &alose: &e%{lose.%uuid of arg 1%}%" to player
  426. send " &aW/L: &e%{winlose.%uuid of arg 1%}%" to player
  427.  
  428. on first join:
  429. set {kill.%uuid of player%} to 0
  430. set {death.%uuid of player%} to 0
  431. set {win.%uuid of player%} to 0
  432. set {lose.%uuid of player%} to 0
  433. set {level.%uuid of player%} to 1
  434. set {xp.%uuid of player%} to 0
  435. set {needxp.%uuid of player%} to 10
  436. set {prefix.%uuid of player%} to ""
  437. set {suffix.%uuid of player%} to ""
  438.  
  439. on any movement:
  440. if {xp.%uuid of player%} >= {needxp.%uuid of player%}:
  441. set {xp.%uuid of player%} to {xp.%uuid of player%} - {needxp.%uuid of player%}
  442. add 1 to {level.%uuid of player%}
  443. set {needxp.%uuid of player%} to {needxp.%uuid of player%} * 1.5
  444. send "&b&lレベルアップ!! &a現在のレベル&7: &e%{level.%uuid of player%}%"
  445. set the player's tablist name to "&7[Lv%{level.%uuid of player%}%]&r%{prefix.%uuid of player%}%&r%player%&r%{suffix.%uuid of player%}%"
  446. set tab header to "&7-- &6&lCounter Strike &d&lRealms &7--" and footer to "&a現在のレベル&7: &e%{level.%uuid of player%}%" for player
  447.  
  448. on join:
  449. set the player's tablist name to "&7[Lv%{level.%uuid of player%}%]&r%{prefix.%uuid of player%}%&r%player%&r%{suffix.%uuid of player%}%"
  450. set tab header to "&7-- &6&lCounter Strike &d&lRealms &7--" and footer to "&a現在のレベル&7: &e%{level.%uuid of player%}%" for player
  451. wait 3 ticks
  452. send "&a▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬" to player
  453. send " &f&lCounter Strike Realms" to player
  454. send " " to player
  455. send " &e&l攻撃側と防衛側に分かれ、チームで戦います。" to player
  456. send " &e&l攻撃側は特定の場所に黒曜石を置き、" to player
  457. send " &e&lそれを壊されないよう守る必要があります。" to player
  458. send " &e&l防衛側は黒曜石を置かれないように防衛しましょう。" to player
  459. send " &e&lもし置かれても、破壊が可能です。" to player
  460. send " " to player
  461. send "&a▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬" to player
  462.  
  463. on chat:
  464. cancel event
  465. if {mutelist::*} contains player:
  466. send "&cあなたはミュートされているため、発言することができません。" to player
  467. stop
  468. broadcast "&7[Lv%{level.%uuid of player%}%]&r%{prefix.%uuid of player%}%&r%player%&r%{suffix.%uuid of player%}%&e》 &r%message%"
  469.  
  470. command /chat <text> <offline player> <text>:
  471. permission: skript.admin
  472. usage: /chat <prefix|suffix|mute|unmute> <player> <text>
  473. trigger:
  474. if arg 1 is "prefix":
  475. set {prefix.%uuid of arg 2%} to coloured arg 3
  476. send "&b%arg 2%さんのprefixを「&r%{prefix.%uuid of arg 2%}%&b」に変更しました。"
  477. stop
  478. if arg 1 is "suffix":
  479. set {suffix.%uuid of arg 2%} to coloured arg 3
  480. send "&b%arg 2%さんのsuffixを&r「%{suffix.%uuid of arg 2%}%&b」に変更しました。"
  481. stop
  482. if arg 1 is "mute":
  483. if {mutelist::*} contains arg 2:
  484. send "&c%arg 2%さんはすでにミュートされています。"
  485. stop
  486. send "&e%arg 2%さんが%sender%さんにミュートされました。" to ops
  487. send "&e理由:%coloured arg 3%" to ops
  488. add arg 2 to {mutelist::*}
  489. stop
  490. if arg 1 is "unmute":
  491. if {mutelist::*} contains arg 2:
  492. send "&a%arg 2%さんが%sender%さんにミュート解除されました。" to ops
  493. send "&a理由:%coloured arg 3%" to ops
  494. remove arg 2 from {mutelist::*}
  495. stop
  496. send "&c%arg 2%さんはミュートされていません。"
  497. stop
  498.  
  499. command /mutelist [<offline player>]:
  500. permission: skript.admin
  501. trigger:
  502. if arg 1 is not set:
  503. send "&d次のプレイヤーがミュートされています:"
  504. send "%{mutelist::*}%"
  505. stop
  506. if {mutelist::*} contains arg 1:
  507. send "&d対象のプレイヤーはミュートされています。"
  508. stop
  509. send "&b対象のプレイヤーはミュートされていません。"
  510.  
  511. on click:
  512. if player is holding lime dye named "&cゲームを抜ける":
  513. remove lime dye named "&cゲームを抜ける" from player
  514. set {join.%player%} to false
  515. send "&cゲームを抜けました"
  516. wait 5 ticks
  517. give grey dye named "&eゲームに参加する" to player
  518.  
  519. on click:
  520. if player is holding grey dye named "&eゲームに参加する":
  521. remove grey dye named "&eゲームに参加する" from player
  522. set {join.%player%} to true
  523. send "&eゲームに参加しました" to player
  524. wait 5 ticks
  525. give lime dye named "&cゲームを抜ける" to player
  526.  
  527. command /dye:
  528. trigger:
  529. give grey dye named "&eゲームに参加する" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement