Advertisement
taktie0304

Untitled

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