Advertisement
CREAMPAN0408

Untitled

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