CREAMPAN0408

Untitled

Mar 16th, 2019
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.03 KB | None | 0 0
  1. Options:
  2. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  3. #LostOfStories - skript
  4. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  5. #Made by k2R
  6. #version: 0.9
  7. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  8.  
  9. #Log and Permission
  10. perm: LostOfStories.admin
  11.  
  12. #Prefix
  13. system: &9≫
  14. mute: &9[&3Mute&6System]
  15. rank: &9[&cRank&aChanger&9]
  16.  
  17. #TAB
  18. tab_top: %nl%&9- &8&lLost&2Of&6Stories &9-%nl%
  19. tab_under: %nl%&6%number of all players%&8/&950%nl%&ePing&9: &a%ping of player%%nl%
  20.  
  21.  
  22.  
  23. #Death Message
  24. pvpdeathmessage: &8[&4Death&8] &c%victim% &9≪ &6%attacker% &8| &f%name of attacker's tool%
  25. notooldeathmessage: &8[&4Death&8] &c%victim% &9≪ &6%attacker%
  26. pvedeathmessage: &8[&4Death&8] &c%victim% &9≪ &8[&f%attacker's name%&8&l]
  27. nonamepvedeathmessage: &8[&4Death&8] &c%victim% &9≪ &8[&f%attacker%&8]
  28. otherdeathmessage: &8[&4Death&8] &c%victim%
  29. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  30. #EXP - config
  31. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  32. zombie: 6
  33. creeper: 12
  34. blaze: 24
  35. cavespider: 20
  36. enderman: 25
  37. silverfish: 2
  38. skeleton: 12
  39. slime: 3
  40. spider: 9
  41. witch: 15
  42. wither: 1000
  43. zombiepigman: 24
  44. chicken: 1
  45. cow: 2
  46. horse: 1
  47. mooshroom: 2
  48. ocelot: 1
  49. pig: 1
  50. sheep: 1
  51. snowgolem: 12
  52. squid: 2
  53. villager: 2
  54. wolf: 10
  55. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  56. maxlvl: 1000
  57.  
  58. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  59.  
  60. variables:
  61. {lvl::%player%} = 1
  62. {xp::%player%} = 0
  63. {sp::%player%} = 1
  64. {str::%player%} = 0
  65. {def::%player%} = 0
  66. {spd::%player%} = 0
  67. {up::%player%} = 130
  68.  
  69. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  70. every 2 second: #2秒に一回スコアボード&アクションバーが更新される。
  71. loop all players:
  72. send action bar "&2[ &6Level&9: &a%{lvl::%loop-player%}% &8&l| &aXP&9: &a%{xp::%loop-player%}%&9/&6%{up::%loop-player%}% &2]" to loop-player
  73. wipe loop-player's sidebar
  74. set name of sidebar of loop-player to "&9- &cLost&2Of&6Stories &9-"
  75. set score "&8- &3&l&oステータス &8-" in sidebar of loop-player to 16
  76. set score "&a" in sidebar of loop-player to 15
  77. set score "&6&lLV&9: &a%{lvl::%loop-player%}%&8" in sidebar of loop-player to 14
  78. set score "&aXP&9: &a%{xp::%loop-player%}%&8/&9%{up::%loop-player%}%" in sidebar of loop-player to 13
  79. set score "&5&lSP&9: &a%{sp::%loop-player%}%" in sidebar of loop-player to 12
  80. set score "&2" in sidebar of loop-player to 11
  81. set score "&cランク&9: %{prefix::%uuid of loop-player%}%" in sidebar of loop-player to 10
  82. set score "&9" in sidebar of loop-player to 9
  83. set score "&8- &2&l&oニュース &8-" in sidebar of loop-player to 8
  84. set score "NONE" in sidebar of loop-player to 7
  85. set score "&aNone" in sidebar of loop-player to 6
  86. set score "&6None^^" in sidebar of loop-player to 5
  87.  
  88. On any movement:
  89. if {prefix::%uuid of player%} is set:
  90. if {suffix::%uuid of player%} is set:
  91. set display name of player to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%{prefix::%uuid of player%}%%player%%{suffix::%uuid of player%}%"
  92. set the player's tablist name to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%{prefix::%uuid of player%}%%player%%{suffix::%uuid of player%}%"
  93. stop
  94. else:
  95. set display name of player to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%{prefix::%uuid of player%}%%player%"
  96. set the player's tablist name to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%{prefix::%uuid of player%}%%player%"
  97. stop
  98. else:
  99. if {suffix::%uuid of player%} is set:
  100. set display name of player to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%player%%{suffix::%uuid of player%}%"
  101. set the player's tablist name to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%player%%{suffix::%uuid of player%}%"
  102. stop
  103. else:
  104. set display name of player to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%player%"
  105. set the player's tablist name to "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%player%"
  106. stop
  107.  
  108. On any movement:
  109. set tab header to "{@tab_top}" and footer to "{@tab_under}" for player
  110. if {xp::%player%} is greater or equal to {up::%player%}:
  111. if {lvl::%player%} is greater or equal to {@maxlvl}:
  112. stop
  113. else:
  114. set {_nowlevels} to "%{lvl::%player%}%"
  115. set {_nowsp} to "%{sp::%player%}%"
  116. add 1 to {lvl::%player%}
  117. add 1 to {sp::%player%}
  118. add 120 to {up::%player%}
  119. set {xp::%player%} to 0
  120. message "{@system} &a&lレベルアップ&c!!!!"
  121. message "{@system} &6Level&9: &7%{_nowlevels}% &2-> &a%{lvl::%player%}% "
  122. message "{@system} &5SP&9: &7%{_nowsp}% &2-> &a%{sp::%player%}%"
  123. stop
  124.  
  125. On inventory click:
  126. if name of player's current inventory contains "&6%{nowinv::%player%}%&aのステータス":
  127. if clicked slot is 0:
  128. cancel event
  129. if clicked slot is 1:
  130. cancel event
  131. if clicked slot is 2:
  132. cancel event
  133. if clicked slot is 3:
  134. cancel event
  135. if clicked slot is 4:
  136. cancel event
  137. execute player command "statuspoint"
  138. if clicked slot is 5:
  139. cancel event
  140. if clicked slot is 6:
  141. cancel event
  142. if clicked slot is 7:
  143. cancel event
  144. if clicked slot is 8:
  145. cancel event
  146. if clicked slot is 9:
  147. cancel event
  148. if clicked slot is 10:
  149. cancel event
  150. if clicked slot is 11:
  151. cancel event
  152. if clicked slot is 12:
  153. cancel event
  154. if clicked slot is 13:
  155. cancel event
  156. if clicked slot is 14:
  157. cancel event
  158. if clicked slot is 15:
  159. cancel event
  160. if clicked slot is 16:
  161. cancel event
  162. if clicked slot is 17:
  163. cancel event
  164. if clicked slot is 18:
  165. cancel event
  166. if clicked slot is 19:
  167. cancel event
  168. if clicked slot is 20:
  169. cancel event
  170. if clicked slot is 21:
  171. cancel event
  172. if clicked slot is 22:
  173. cancel event
  174. if clicked slot is 23:
  175. cancel event
  176. if clicked slot is 24:
  177. cancel event
  178. if clicked slot is 25:
  179. cancel event
  180. if clicked slot is 26:
  181. cancel event
  182. if clicked slot is 27:
  183. cancel event
  184. if name of player's current inventory contains "&aステータスの&7&l振り分け":
  185. if clicked slot is 0:
  186. cancel event
  187. if clicked slot is 1:
  188. cancel event
  189. if clicked slot is 2:
  190. cancel event
  191. if clicked slot is 3:
  192. cancel event
  193. if clicked slot is 4:
  194. cancel event
  195. if clicked slot is 5:
  196. cancel event
  197. if clicked slot is 6:
  198. cancel event
  199. if clicked slot is 7:
  200. cancel event
  201. if clicked slot is 8:
  202. cancel event
  203. if clicked slot is 9:
  204. cancel event
  205. if clicked slot is 10:
  206. cancel event
  207. if {sp::%player%} is less than or equal to 0:
  208. message "{@system} &5SP&aがありません。" to player
  209. stop
  210. add 1 to {str::%player%}
  211. remove 1 from {sp::%player%}
  212. close the player's inventory
  213. message "{@system} &cPower&aを上げました。" to player
  214. stop
  215. if clicked slot is 11:
  216. cancel event
  217. if {sp::%player%} is less than or equal to 0:
  218. message "{@system} &5SP&aがありません。" to player
  219. stop
  220. add 1 to {def::%player%}
  221. remove 1 from {sp::%player%}
  222. close the player's inventory
  223. message "{@system} &9Defence&aを上げました。" to player
  224. stop
  225. if clicked slot is 12:
  226. cancel event
  227. if {sp::%player%} is less than or equal to 0:
  228. message "{@system} &5SP&aがありません。" to player
  229. stop
  230. add 1 to {spd::%player%}
  231. remove 1 from {sp::%player%}
  232. close the player's inventory
  233. message "{@system} &bSpeed&aを上げました。" to player
  234. stop
  235. if clicked slot is 13:
  236. cancel event
  237. if clicked slot is 14:
  238. cancel event
  239. if clicked slot is 15:
  240. cancel event
  241. if clicked slot is 16:
  242. cancel event
  243. if clicked slot is 17:
  244. cancel event
  245. if clicked slot is 18:
  246. cancel event
  247. if clicked slot is 19:
  248. cancel event
  249. if clicked slot is 20:
  250. cancel event
  251. if clicked slot is 21:
  252. cancel event
  253. if clicked slot is 22:
  254. cancel event
  255. execute player command "status"
  256. if clicked slot is 23:
  257. cancel event
  258. if clicked slot is 24:
  259. cancel event
  260. if clicked slot is 25:
  261. cancel event
  262. if clicked slot is 26:
  263. cancel event
  264. if clicked slot is 27:
  265. cancel event
  266.  
  267. Command /statuspoint:
  268. trigger:
  269. open chest with 3 row named "&aステータスの&7&l振り分け" to player
  270. wait 1 tick
  271. set {_slot} to 0
  272. set {_atk} to {str::%player%}
  273. set {_def} to {def::%player%}
  274. set {_spd} to {spd::%player%}
  275. set {_sp} to {sp::%player%}
  276. loop 27 times:
  277. set slot {_slot} of player's current inventory to glowing blue stained glass pane named "&f"
  278. add 1 to {_slot}
  279. wait 1 tick
  280. set slot 10 of player's current inventory to glowing red dye named "&cPower" with lore "&8[&a%{_atk}%&8]"
  281. wait 1 tick
  282. set slot 11 of player's current inventory to glowing blue dye named "&9Defence" with lore "&8[&a%{_def}%&8]"
  283. wait 1 tick
  284. set slot 12 of player's current inventory to glowing light blue dye named "&bSpeed" with lore "&8[&a%{_spd}%&8]"
  285. wait 1 tick
  286. set slot 13 of player's current inventory to air
  287. wait 1 tick
  288. set slot 14 of player's current inventory to air
  289. wait 1 tick
  290. set slot 15 of player's current inventory to air
  291. wait 1 tick
  292. set slot 16 of player's current inventory to glowing book named "&5SP" with lore "&8[&a%{_sp}%&8]"
  293. wait 1 tick
  294. set slot 22 of player's current inventory to glowing pink stained glass pane named "&aステータス"
  295.  
  296. Command /status [<player>]:
  297. trigger:
  298. if arg-1 is set:
  299. open chest with 3 row named "&6%arg-1%&aのステータス" to player
  300. wait 1 tick
  301. set {nowinv::%player%} to arg-1
  302. set {_slot} to 0
  303. set {_lvl} to {lvl::%arg-1%}
  304. set {_xp} to {xp::%arg-1%}
  305. set {_up} to {up::%arg-1%}
  306. set {_sp} to {sp::%arg-1%}
  307. set {_atk} to {str::%arg-1%}
  308. set {_def} to {def::%arg-1%}
  309. set {_spd} to {spd::%arg-1%}
  310. set {_rank} to {prefix::%uuid of arg-1%}
  311. loop 27 times:
  312. set slot {_slot} of player's current inventory to glowing black stained glass pane named "&f"
  313. add 1 to {_slot}
  314. wait 1 tick
  315. set slot 10 of player's current inventory to glowing diamond named "&6Level" with lore "&8[&a%{_lvl}%&8]"
  316. wait 1 tick
  317. set slot 11 of player's current inventory to glowing emerald named "&aExp" with lore "&8[&a%{_xp}%&9/&c%{_up}%&8]"
  318. wait 1 tick
  319. set slot 12 of player's current inventory to glowing slimeball named "&5SP" with lore "&8[&a%{_sp}%&8]"
  320. wait 1 tick
  321. set slot 13 of player's current inventory to glowing red dye named "&cPower" with lore "&8[&a%{_atk}%&8]"
  322. wait 1 tick
  323. set slot 14 of player's current inventory to glowing blue dye named "&9defense" with lore "&8[&a%{_def}%&8]"
  324. wait 1 tick
  325. set slot 15 of player's current inventory to glowing light blue dye named "&bSpeed" with lore "&8[&a%{_spd}%&8]"
  326. wait 1 tick
  327. set slot 16 of player's current inventory to glowing book named "&eRank" with lore "%{_rank}%"
  328. if arg-1 isn't set:
  329. open chest with 3 row named "&6%player%&aのステータス" to player
  330. wait 1 tick
  331. set {nowinv::%player%} to player
  332. set {_slot} to 0
  333. loop 27 times:
  334. set slot {_slot} of player's current inventory to glowing black stained glass pane named "&f"
  335. add 1 to {_slot}
  336. wait 1 tick
  337. set slot 4 of player's current inventory to glowing red stained glass pane named "&aステータスの&7&l振り分け"
  338. wait 1 tick
  339. set slot 10 of player's current inventory to glowing diamond named "&6Level" with lore "&8[&a%{lvl::%player%}%&8]"
  340. wait 1 tick
  341. set slot 11 of player's current inventory to glowing emerald named "&aExp" with lore "&8[&a%{xp::%player%}%&9/&c%{up::%player%}%&8]"
  342. wait 1 tick
  343. set slot 12 of player's current inventory to glowing slimeball named "&5SP" with lore "&8[&a%{sp::%player%}%&8]"
  344. wait 1 tick
  345. set slot 13 of player's current inventory to glowing red dye named "&cPower" with lore "&8[&a%{str::%player%}%&8]"
  346. wait 1 tick
  347. set slot 14 of player's current inventory to glowing blue dye named "&9defense" with lore "&8[&a%{def::%player%}%&8]"
  348. wait 1 tick
  349. set slot 15 of player's current inventory to glowing light blue dye named "&bSpeed" with lore "&8[&a%{spd::%player%}%&8]"
  350. wait 1 tick
  351. set slot 16 of player's current inventory to glowing book named "&eRank" with lore "%{prefix::%uuid of player%}%"
  352. stop
  353.  
  354. Command /statusedit [<player>] [<text>] [<text>] [<number>]:
  355. permission: {@perm}
  356. trigger:
  357. if arg-1 isn't set:
  358. message "{@system} &aプレイヤー名を入れてください。"
  359. stop
  360. else:
  361. if arg-2 is "level":
  362. if arg-3 is "add":
  363. if arg-4 is set:
  364. add arg-4 to {lvl::%arg-1%}
  365. add arg-4 to {sp::%arg-1%}
  366. set {_times} to arg-4
  367. loop {_times} times:
  368. add 120 to {up::%arg-1%}
  369. message "{@system} &c%player%&aが&6あなたのレベル&8/&5SP&aを変更しました。" to arg-1
  370. message "{@system} &6設定しました。" to player
  371. stop
  372. else:
  373. message "{@system} &a数値を指定してください。"
  374. stop
  375. if arg-3 is "set":
  376. if arg-4 is set:
  377. set {lvl::%arg-1%} to arg-4
  378. set {sp::%arg-1%} to arg-4
  379. set {_times} to arg-4
  380. loop {_times} times:
  381. add 120 to {up::%arg-1%}
  382. message "{@system} &c%player%&aが&6あなたのレベル&8/&5SP&aを変更しました。" to arg-1
  383. message "{@system} &6設定しました。" to player
  384. stop
  385. else:
  386. message "{@system} &a数値を指定してください。"
  387. stop
  388. if arg-3 is "remove":
  389. if arg-4 is set:
  390. remove arg-4 from {lvl::%arg-1%}
  391. remove arg-4 from {sp::%arg-1%}
  392. set {_times} to arg-4
  393. loop {_times} times:
  394. remove 120 from {up::%arg-1%}
  395. stop
  396. else:
  397. message "{@system} &a数値を指定してください。"
  398. stop
  399. else:
  400. message "{@system} &aadd &8/ &2set &8/ &4remove"
  401. stop
  402. if arg-2 is "xp":
  403. if arg-3 is "set":
  404. if arg-4 is set:
  405. set {xp::%arg-1%} to arg-4
  406. message "{@system} &c%player%&aが&6あなたのXP&aを&c変更&aしました。" to arg-1
  407. message "{@system} &6設定しました。" to player
  408. stop
  409. else:
  410. message "{@system} &a数値を指定してください。"
  411. stop
  412. if arg-3 is "add":
  413. if arg-4 is set:
  414. add arg-4 to {xp::%arg-1%}
  415. message "{@system} &c%player%&aが&6あなたのXP&aを&c変更&aしました。" to arg-1
  416. message "{@system} &6設定しました。" to player
  417. stop
  418. else:
  419. message "{@system} &a数値を指定してください。"
  420. stop
  421. if arg-3 is "remove":
  422. if arg-4 is set:
  423. remove arg-4 from {xp::%arg-1%}
  424. message "{@system} &c%player%&aが&6あなたのXP&aを&c変更&aしました。" to arg-1
  425. message "{@system} &6設定しました。" to player
  426. stop
  427. else:
  428. message "{@system} &a数値を指定してください。"
  429. stop
  430. else:
  431. message "{@system} &aadd &8/ &2set &8/ &4remove"
  432. stop
  433. else:
  434. message "{@system} &6Level &8/ &aXP"
  435. stop
  436.  
  437. Command /statusreset [<player>]:
  438. permission: {@perm}
  439. trigger:
  440. if arg-1 isn't set:
  441. message "{@system} &6名前&aをいれてください。" to player
  442. stop
  443. else:
  444. message "{@system} &6%arg-1%&aのステータスをリセットしました。" to player
  445. set {lvl::%arg-1%} to 1
  446. set {xp::%arg-1%} to 0
  447. set {up::%arg-1%} to 130
  448. set {sp::%arg-1%} to 1
  449. set {str::%arg-1%} to 0
  450. set {def::%arg-1%} to 0
  451. set {spd::%arg-1%} to 0
  452. command "effect %arg-1% clear"
  453. message "{@system} &c%player%&aが&6あなたのステータス&aを&cリセット&aしました。" to arg-1
  454. stop
  455.  
  456.  
  457.  
  458. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  459.  
  460. on chat:
  461. cancel event
  462. if {mute::%uuid of player%} is true:
  463. send "{@system} &6あなたは&cMUTE&6されています。" to player
  464. stop
  465. if {prefix::%uuid of player%} is set:
  466. if {suffix::%uuid of player%} is set:
  467. broadcast "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%{prefix::%uuid of player%}%%player%%{suffix::%uuid of player%}% &8≫&f %message%"
  468. else:
  469. broadcast "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%{prefix::%uuid of player%}%%player% &8≫&f %message%"
  470. else:
  471. if {suffix::%uuid of player%} is set:
  472. broadcast "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%player%%{suffix::%uuid of player%}% &8≫&f %message%"
  473. else:
  474. broadcast "&8[&6LV&9:&2%{lvl::%player%}%&8]&f%player% &8≫&f %message%"
  475.  
  476. command /rank [<text>] [<player>] [<text>]:
  477. permission: {@perm}
  478. trigger:
  479. if arg-1 is "help":
  480. send "&8----------------------------------"
  481. send " {@rank} "
  482. send "&a"
  483. send "&c/rank &aprefix &6%player% &9(rank)"
  484. send "&7- &9Prefix&aを設定します。"
  485. send "&c/rank &asuffix &6%player% &9(rank)"
  486. send "&7- &9Suffix&aを設定します。"
  487. send "&c/rank &aclear &6%player% &9prefix/suffix/all"
  488. send "&7- &9ランクを消します &a(allはprefixsuffixどっちも消します)"
  489. send "&8----------------------------------"
  490. stop
  491. if arg-1 is "prefix":
  492. if arg-2 is set:
  493. if arg-3 is set:
  494. set {prefix::%uuid of arg-2%} to colored arg-3
  495. message "{@system} &6%arg-2%&aの&9Prefix&aを%colored arg-3%&aに設定しました。" to player
  496. stop
  497. else:
  498. message "{@system} &9prefix&aを書いてください。" to player
  499. stop
  500. else:
  501. message "{@system} &6名前を入れてください。" to player
  502. stop
  503. if arg-1 is "suffix":
  504. if arg-2 is set:
  505. if arg-3 is set:
  506. set {suffix::%uuid of arg-2%} to colored arg-3
  507. message "{@system} &6%arg-2%&aの&9Suffix&aを%colored arg-3%&aに設定しました。" to player
  508. stop
  509. else:
  510. message "{@system} &9Suffix&aを書いてください。" to player
  511. stop
  512. else:
  513. message "{@rank} &6名前をいれてください。" to player
  514. stop
  515. if arg-1 is "clear":
  516. if arg-2 is set:
  517. if arg-3 is "prefix":
  518. clear {prefix::%uuid of arg-2%}
  519. message "{@system} &6%arg-2%&aの&9Prefix&aを消しました" to player
  520. stop
  521. if arg-3 is "suffix":
  522. clear {suffix::%uuid of arg-2%}
  523. message "{@system} &6%arg-2%&aの&9Suffix&aを消しました。" to player
  524. stop
  525. if arg-3 is "all":
  526. clear {prefix::%uuid of arg-2%}
  527. clear {suffix::%uuid of arg-2%}
  528. message "{@system} &6%arg-2%&aの&9Prefix&aと&9Suffix&aを消しました。" to player
  529. stop
  530. else:
  531. message "{@system} &6なにを&a消すか決めてください。" to player
  532. stop
  533. else:
  534. message "{@system} &&名前をいれてください。" to player
  535. stop
  536. else:
  537. message "{@system} &6/rank help" to player
  538. stop
  539.  
  540. Command /mute [<player>] [<text>]:
  541. permission: {@perm}
  542. trigger:
  543. if arg-1 is set:
  544. if arg-2 isn't set:
  545. set {mute::%uuid of arg-1%} to true
  546. set {mute::%arg-1%.reason} to "&8NONE"
  547. set {mute::%arg-1%.sender} to player
  548. wait 1 tick
  549. broadcast "{@system} &c%player%によって、&6%arg-1%&cがミュートされました。"
  550. stop
  551. else:
  552. set {mute::%uuid of arg-1%} to true
  553. set {mute::%arg-1%.reason} to arg-2
  554. set {mute::%arg-1%.sender} to player
  555. wait 1 tick
  556. broadcast "{@system} &c%player%によって、&6%arg-1%&cがミュートされました。"
  557. broadcast "{@system} &9理由&0: &a%arg-2%"
  558. stop
  559. else:
  560. send "&2&l―――――――――――――――――――――――――――――――――――――――"
  561. send " {@mute} "
  562. send "&a"
  563. send "{@system} &3/mute &6%player% &5Reason"
  564. send "{@system} &3/unmute &6%player% &5Reason"
  565. send "&2&l―――――――――――――――――――――――――――――――――――――――"
  566.  
  567. Command /unmute [<player>] [<text>]:
  568. permission: {@perm}
  569. trigger:
  570. if arg-1 is set:
  571. if arg-2 is set:
  572. delete {mute::%uuid of arg-1%}
  573. delete {mute::%arg-1%.reason}
  574. delete {mute::%arg-1%.sender}
  575. wait 1 tick
  576. broadcast "{@system} &a%player%によって、&6%arg-1%&aがミュート解除されました。"
  577. broadcast "{@system} &9理由&0: &a%arg-2%"
  578. else:
  579. delete {mute::%uuid of arg-1%}
  580. delete {mute::%arg-1%.reason}
  581. delete {mute::%arg-1%.sender}
  582. wait 1 tick
  583. broadcast "{@system} &a%player%によって、&6%arg-1%&aがミュート解除されました。"
  584. else:
  585. message "{@mute} &6名前をいれてください。" to player
  586. stop
  587.  
  588. on command "say" or "msg" or "tell":
  589. if {mute::%uuid of player%} is true:
  590. cancel event
  591. send "{@system}&cあなたは&a%{mute::%player%.sender}%&cに&a%{mute::%player%.reason}%&cという理由でミュートされています。"
  592. stop
  593.  
  594. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  595.  
  596. on any movement:
  597. if {str::%player%} is greater or equal to 1:
  598. apply strength 1 to the player for 10 seconds
  599.  
  600. on any movement:
  601. if {str::%player%} is greater or equal to 20:
  602. apply strength 2 to the player for 10 seconds
  603.  
  604. on any movement:
  605. if {str::%player%} is greater or equal to 50:
  606. apply strength 3 to the player for 10 seconds
  607.  
  608. on any movement:
  609. if {str::%player%} is greater or equal to 100:
  610. apply strength 4 to the player for 10 seconds
  611.  
  612. #Defense
  613.  
  614. on any movement:
  615. if {def::%player%} is greater or equal to 1:
  616. apply resistance 1 to the player for 10 seconds
  617.  
  618. on any movement:
  619. if {def::%player%} is greater or equal to 20:
  620. apply resistance 2 to the player for 10 seconds
  621.  
  622. on any movement:
  623. if {def::%player%} is greater or equal to 50:
  624. apply resistance 3 to the player for 10 seconds
  625.  
  626. on any movement:
  627. if {def::%player%} is greater or equal to 100:
  628. apply resistance 4 to the player for 10 seconds
  629.  
  630. #speed
  631. on any movement:
  632. if {spd::%player%} is greater or equal to 1:
  633. apply speed 1 to the player for 10 seconds
  634.  
  635. on any movement:
  636. if {spd::%player%} is greater or equal to 100:
  637. apply speed 2 to the player for 10 seconds
  638. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=|=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  639. On death of a slime:
  640. if attacker is a player:
  641. send "{@system} &6{@slime}&aEXP" to attacker
  642. add {@slime} to {xp::%attacker%}
  643. stop
  644.  
  645. On death of player:
  646. attacker is a player:
  647. if name of attacker's tool is set:
  648. set the death message to "{@pvpdeathmessage}"
  649. else:
  650. set the death message to "{@notooldeathmessage}"
  651. stop
  652. attacker is an entity:
  653. if attacker's name is set:
  654. set the death message to "{@pvedeathmessage}"
  655. else:
  656. set the death message to "{@nonamepvedeathmessage}"
  657. stop
  658. set the death message to "{@otherdeathmessage}"
  659.  
  660. On death:
  661. if attacker is a player:
  662. if victim is a zombie:
  663. send "{@system} &6{@zombie}&aEXP" to attacker
  664. add {@zombie} to {xp::%attacker%}
  665. stop
  666. if victim is a creeper:
  667. send "{@system} &6{@creeper}&aEXP" to attacker
  668. add {@creeper} to {xp::%attacker%}
  669. stop
  670. if victim is a blaze:
  671. send "{@system} &6{@blaze}&aEXP" to attacker
  672. add {@blaze} to {xp::%attacker%}
  673. stop
  674. if victim is a cavespider:
  675. send "{@system} &6{@cavespider}&aEXP" to attacker
  676. add {@cavespider} to {xp::%attacker%}
  677. stop
  678. if victim is a enderman:
  679. send "{@system} &6{@enderman}&aEXP" to attacker
  680. add {@enderman} to {xp::%attacker%}
  681. stop
  682. if victim is a silverfish:
  683. send "{@system} &6{@silverfish}&aEXP" to attacker
  684. add {@silverfish} to {xp::%attacker%}
  685. stop
  686. if victim is a skeleton:
  687. send "{@system} &6{@skeleton}&aEXP" to attacker
  688. add {@skeleton} to {xp::%attacker%}
  689. stop
  690. if victim is a spider:
  691. send "{@system} &6{@spider}&aEXP" to attacker
  692. add {@spider} to {xp::%attacker%}
  693. stop
  694. if victim is a witch:
  695. send "{@system} &6{@witch}&aEXP" to attacker
  696. add {@witch} to {xp::%attacker%}
  697. stop
  698. if victim is a wither:
  699. send "{@system} &6{@wither}&aEXP" to attacker
  700. add {@wither} to {xp::%attacker%}
  701. stop
  702. if victim is a zombie pigman:
  703. send "{@system} &6{@zombiepigman}&aEXP" to attacker
  704. add {@zombiepigman} to {xp::%attacker%}
  705. stop
  706. if victim is a chicken:
  707. send "{@system} &6{@chicken}&aEXP" to attacker
  708. add {@chicken} to {xp::%attacker%}
  709. stop
  710. if victim is a cow:
  711. send "{@system} &6{@cow}&aEXP" to attacker
  712. add {@cow} to {xp::%attacker%}
  713. stop
  714. if victim is a horse:
  715. send "{@system} &6{@horse}&aEXP" to attacker
  716. add {@horse} to {xp::%attacker%}
  717. stop
  718. if victim is a mooshroom:
  719. send "{@system} &6{@mooshroom}&aEXP" to attacker
  720. add {@mooshroom} to {xp::%attacker%}
  721. stop
  722. if victim is a ocelot:
  723. send "{@system} &6{@ocelot}&aEXP" to attacker
  724. add {@ocelot} to {xp::%attacker%}
  725. stop
  726. if victim is a pig:
  727. send "{@system} &6{@pig}&aEXP" to attacker
  728. add {@pig} to {xp::%attacker%}
  729. stop
  730. if victim is a sheep:
  731. send "{@system} &6{@sheep}&aEXP" to attacker
  732. add {@sheep} to {xp::%attacker%}
  733. stop
  734. if victim is a snowgolem:
  735. send "{@system} &6{@snowgolem}&aEXP" to attacker
  736. add {@snowgolem} to {xp::%attacker%}
  737. stop
  738. if victim is a squid:
  739. send "{@system} &6{@squid}&aEXP" to attacker
  740. add {@squid} to {xp::%attacker%}
  741. stop
  742. if victim is a villager:
  743. send "{@system} &6{@villager}&aEXP" to attacker
  744. add {@villager} to {xp::%attacker%}
  745. stop
  746. if victim is a wolf:
  747. send "{@system} &6{@wolf}&aEXP" to attacker
  748. add {@wolf} to {xp::%attacker%}
  749. stop
Add Comment
Please, Sign In to add comment