Advertisement
CREAMPAN0408

Untitled

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