kuragonn

Untitled

Nov 16th, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.35 KB | None | 0 0
  1. #全体オプション
  2.  
  3. options:
  4. Title: 未定(後々設定)
  5.  
  6. #SK reload
  7.  
  8. on load:
  9. broadcast "&a[&cSkript&a] リロードが完了しました。"
  10.  
  11.  
  12. every 3 ticks:
  13. loop all players:
  14. set the text of id "%loop-player%10" to "&7&l< &e&l%loop-player% &7&l>"
  15. set the text of id "%loop-player%9" to "&e"
  16. set the text of id "%loop-player%8" to "&6&lLevel &7&l> &c&l%{Level.%loop-player%}%"
  17. set the text of id "%loop-player%7" to "&6&lExp &7&l> &c&l%{Exp.%loop-player%}%&7/&6%2*(5*{Level.%loop-player%}+{Level.%loop-player%}^2)+100%"
  18. set the text of id "%loop-player%6" to "&f"
  19. set the text of id "%loop-player%5" to "&6&lMoney &7&l> &c&l%{Money.%loop-player%}%&6G"
  20. set the text of id "%loop-player%4" to "&6&lふはは"
  21.  
  22. #sidebar on join
  23.  
  24. on join:
  25. wait 0.2 seconds
  26. create a new stylish scoreboard named "%player%"
  27. set title of stylish scoreboard "%player%" to "&6&l-&c&lLostWorld&6&l-"
  28. create a new id based score "%player%10" with text "&7&l< &e&l%player% &7&l>" slot 10 for stylish scoreboard "%player%"
  29. create a new id based score "%player%9" with text "&e" slot 9 for stylish scoreboard "%player%"
  30. create a new id based score "%player%8" with text "&6&lLevel &7&l> &c&l%{Level.%player%}%" slot 8 for stylish scoreboard "%player%"
  31. create a new id based score "%player%7" with text "&6&lExp &7&l> &c&l%{Exp.%player%}%&7/&6%2*(5*{Level.%player%}+{Level.%player%}^2)+100%" slot 7 for stylish scoreboard "%player%"
  32. create a new id based score "%player%6" with text "&f" slot 6 for stylish scoreboard "%player%"
  33. create a new id based score "%player%5" with text "&6&lMoney &7&l> &c&l%{Money.%player%}%&6G" slot 5 for stylish scoreboard "%player%"
  34. create a new id based score "%player%4" with text "&6&lふはは" slot 4 for stylish scoreboard "%player%"
  35. set stylish scoreboard of player to "%player%"
  36.  
  37. #reset
  38.  
  39. command /reset:
  40. trigger:
  41. set {Level.%player%} to 1
  42. set {Exp.%player%} to 0
  43. set {Money.%player%} to 100
  44. set {Fire.point.%player%} to 0
  45. set {Water.point.%player%} to 0
  46. set {Leaf.point.%player%} to 0
  47. set {Electricity.point.%player%} to 0
  48. set {Shadow.point.%player%} to 0
  49. set {Status.point.%player%} to 5
  50. send "&bステータスをリセットしました。"
  51.  
  52. #status set
  53.  
  54. command /setstatus [<text>] [<text>] [<number>] :
  55. trigger:
  56. if arg 2 is "level":
  57. set {Level.%arg 1%} to arg 3
  58. send "&b%arg 1% の %arg 2% を %arg 3% に設定しました。"
  59. stop
  60. if arg 2 is "exp":
  61. set {Exp.%arg 1%} to arg 3
  62. send "&b%arg 1% の %arg 2% を %arg 3% に設定しました。"
  63. stop
  64. if arg 2 is "money":
  65. set {Money.%arg 1%} to arg 3
  66. send "&b%arg 1% の %arg 2% を %arg 3% に設定しました。"
  67. stop
  68. if arg 2 is "fire":
  69. set {Fire.point.%arg 1%} to arg 3
  70. send "&b%arg 1% の %arg 2% を %arg 3% に設定しました。"
  71. stop
  72. if arg 2 is "water":
  73. set {Water.point.%arg 1%} to arg 3
  74. send "&b%arg 1% の %arg 2% を %arg 3% に設定しました。"
  75. stop
  76. if arg 2 is "leaf":
  77. set {Leaf.point.%arg 1%} to arg 3
  78. send "&b%arg 1% の %arg 2% を %arg 3% に設定しました。"
  79. stop
  80. if arg 2 is "Electricity":
  81. set {Electricity.point.%arg 1%} to arg 3
  82. send "&b%arg 1% の %arg 2% を %arg 3% に設定しました。"
  83. stop
  84. if arg 2 is "shadow":
  85. set {Shadow.point.%arg 1%} to arg 3
  86. send "&b%arg 1% の %arg 2% を %arg 3% に設定しました。"
  87. stop
  88. if arg 2 is "status":
  89. set {Status.point.%arg 1%} to arg 3
  90. send "&b%arg 1% の %arg 2% を %arg 3% に設定しました。"
  91. stop
  92. else:
  93. send "&4Skript error"
  94. stop
  95.  
  96.  
  97.  
  98. #score 設定
  99.  
  100. command /applyboard:
  101. trigger:
  102. create a new stylish scoreboard named "%player%"
  103. set title of stylish scoreboard "%player%" to "&6&l-&c&lLostWorld&6&l-"
  104. create a new id based score "%player%10" with text "&7&l< &e&l%player% &7&l>" slot 10 for stylish scoreboard "%player%"
  105. create a new id based score "%player%9" with text "&e" slot 9 for stylish scoreboard "%player%"
  106. create a new id based score "%player%8" with text "&6&lLevel &7&l> &c&l%{Level.%player%}%" slot 8 for stylish scoreboard "%player%"
  107. create a new id based score "%player%7" with text "&6&lExp &7&l> &c&l%{Exp.%player%}%&7/&6%2*(5*{Level.%player%}+{Level.%player%}^2)+100%" slot 7 for stylish scoreboard "%player%"
  108. create a new id based score "%player%6" with text "&f" slot 6 for stylish scoreboard "%player%"
  109. create a new id based score "%player%5" with text "&6&lMoney &7&l> &c&l%{Money.%player%}%&6G" slot 5 for stylish scoreboard "%player%"
  110. create a new id based score "%player%4" with text "&6&lふはは" slot 4 for stylish scoreboard "%player%"
  111. set stylish scoreboard of player to "%player%"
  112.  
  113.  
  114.  
  115. command /updatescores:
  116. trigger:
  117. set the text of id "%player%10" to "&7&l< &e&l%player% &7&l>"
  118. set the text of id "%player%9" to "&e"
  119. set the text of id "%player%8" to "&6&lLevel &7&l> &c&l%{Level.%player%}%"
  120. set the text of id "%player%7" to "&6&lExp &7&l> &c&l%{Exp.%player%}%&7/&6%2*(5*{Level.%player%}+{Level.%player%}^2)+100%"
  121. set the text of id "%player%6" to "&f"
  122. set the text of id "%player%5" to "&6&lMoney &7&l> &c&l%{Money.%player%}%&6G"
  123. set the text of id "%player%4" to "&6&lふはは"
  124.  
  125. command /removeboard:
  126. trigger:
  127. reset stylish scoreboard of player
  128. delete stylish scoreboard named "%player%"
  129.  
  130. #TAB
  131.  
  132. on join:
  133. loop all players:
  134. set tab header to "&6&lThe Fantasy RPG Server" and footer to "&eOnline players &7: &e%amount of all players%&7/&e15" for loop-player
  135.  
  136.  
  137. on quit:
  138. loop all players:
  139. wait 0.5 ticks
  140. set tab header to "&6&lThe Fantasy RPG Server" and footer to "&eOnline players &7: &e%amount of all players%&7/&e15" for loop-player
  141.  
  142.  
  143.  
  144. #Join&Quitメッセージ表示
  145. on join:
  146. set join message to "&7[&a+&7] &7%player%"
  147.  
  148.  
  149. on quit:
  150. set quit message to "&7[&c-&7] &7%player%"
  151.  
  152.  
  153. on first join:
  154. set join message to "&7[&a+&7] &7%player% &e-&6New&e-"
  155. set {Level.%player%} to 1
  156. set {Exp.%player%} to 0
  157. set {Money.%player%} to 100
  158. set {Soul.%player%} to 5
  159. set {Fire.point.%player%} to 0
  160. set {Water.point.%player%} to 0
  161. set {Leaf.point.%player%} to 0
  162. set {Electricity.point.%player%} to 0
  163. set {Shadow.point.%player%} to 0
  164. set {Status.point.%player%} to 5
  165.  
  166. #level up
  167.  
  168. on death:
  169. wait 2 ticks
  170. if {Exp.%attacker%} is more than 2*(5*{Level.%attacker%}+{Level.%attacker%}^2)+99:
  171. add 1 to {status.point.%attacker%}
  172. send "&bレベルが上がりました。" to attacker
  173.  
  174. #respawn
  175.  
  176. on respawn:
  177. wait 2 ticks
  178. create a new stylish scoreboard named "%player%"
  179. set title of stylish scoreboard "%player%" to "&6&l-&c&lLostWorld&6&l-"
  180. create a new id based score "%player%10" with text "&7&l< &e&l%player% &7&l>" slot 10 for stylish scoreboard "%player%"
  181. create a new id based score "%player%9" with text "&e" slot 9 for stylish scoreboard "%player%"
  182. create a new id based score "%player%8" with text "&6&lLevel &7&l> &c&l%{Level.%player%}%" slot 8 for stylish scoreboard "%player%"
  183. create a new id based score "%player%7" with text "&6&lExp &7&l> &c&l%{Exp.%player%}%&7/&6%2*(5*{Level.%player%}+{Level.%player%}^2)+100%" slot 7 for stylish scoreboard "%player%"
  184. create a new id based score "%player%6" with text "&f" slot 6 for stylish scoreboard "%player%"
  185. create a new id based score "%player%5" with text "&6&lMoney &7&l> &c&l%{Money.%player%}%&6G" slot 5 for stylish scoreboard "%player%"
  186. create a new id based score "%player%4" with text "&6&lふはは" slot 4 for stylish scoreboard "%player%"
  187. set stylish scoreboard of player to "%player%"
  188.  
  189.  
  190. #&6&lSoul &7&l> &c&l%{Soul.%player%}%&7/&65
  191.  
  192.  
  193. #attribution
  194. command /attribution [<number>] [<player>]:
  195. trigger:
  196. if arg 1 is 1:
  197. wait 2 ticks
  198. open chest with 0 rows named "&9&l≫&6&lFireを付与する武器を選択してください" to arg 2
  199. play sound "BLOCK_LEVER_CLICK" to player with volume 5 and pitch 6
  200. if arg 1 is 2:
  201. wait 2 ticks
  202. open chest with 0 rows named "&9&l≫&6&lWaterを付与する武器を選択してください" to arg 2
  203. play sound "BLOCK_LEVER_CLICK" to player with volume 5 and pitch 6
  204. if arg 1 is 3:
  205. wait 2 ticks
  206. open chest with 0 rows named "&9&l≫&6&lLeafを付与する武器を選択してください" to arg 2
  207. play sound "BLOCK_LEVER_CLICK" to player with volume 5 and pitch 6
  208. if arg 1 is 4:
  209. wait 2 ticks
  210. open chest with 0 rows named "&9&l≫&6&lElectricityを付与する武器を選択してください" to arg 2
  211. play sound "BLOCK_LEVER_CLICK" to player with volume 5 and pitch 6
  212. if arg 1 is 5:
  213. wait 2 ticks
  214. open chest with 0 rows named "&9&l≫&6&lShadowを付与する武器を選択してください" to arg 2
  215. play sound "BLOCK_LEVER_CLICK" to player with volume 5 and pitch 6
  216.  
  217.  
  218. on inventory click:
  219. if inventory name of player's current inventory is "&9&l≫&6&lFireを付与する武器を選択してください":
  220. cancel event
  221. if lore of clicked item contain "&8&l??? &7&lWeapon":
  222. if clicked item is iron sword:
  223. set line 1 of lore of clicked item to "&4&lFire &7&lWeapon"
  224. send "&6武器に属性を付与しました"
  225. close inventory of player
  226. stop
  227. if clicked item is wood sword:
  228. set line 1 of lore of clicked item to "&4&lFire &7&lWeapon"
  229. send "&6武器に属性を付与しました"
  230. close inventory of player
  231. stop
  232. if clicked item is golden sword:
  233. set line 1 of lore of clicked item to "&4&lFire &7&lWeapon"
  234. send "&6武器に属性を付与しました"
  235. close inventory of player
  236. stop
  237. if clicked item is diamond sword:
  238. set line 1 of lore of clicked item to "&4&lFire &7&lWeapon"
  239. send "&6武器に属性を付与しました"
  240. close inventory of player
  241. stop
  242. if clicked item is stone sword:
  243. set line 1 of lore of clicked item to "&4&lFire &7&lWeapon"
  244. send "&6武器に属性を付与しました"
  245. close inventory of player
  246. stop
  247. else:
  248. send "&6その武器に属性は付与できません"
  249. stop
  250. if inventory name of player's current inventory is "&9&l≫&6&lWaterを付与する武器を選択してください":
  251. cancel event
  252. if lore of clicked item contain "&8&l??? &7&lWeapon":
  253. if clicked item is iron sword:
  254. set line 1 of lore of clicked item to "&b&lWater &7&lWeapon"
  255. send "&6武器に属性を付与しました"
  256. close inventory of player
  257. stop
  258. if clicked item is wood sword:
  259. set line 1 of lore of clicked item to "&b&lWater &7&lWeapon"
  260. send "&6武器に属性を付与しました"
  261. close inventory of player
  262. stop
  263. if clicked item is golden sword:
  264. set line 1 of lore of clicked item to "&b&lWater &7&lWeapon"
  265. send "&6武器に属性を付与しました"
  266. close inventory of player
  267. stop
  268. if clicked item is diamond sword:
  269. set line 1 of lore of clicked item to "&b&lWater &7&lWeapon"
  270. send "&6武器に属性を付与しました"
  271. close inventory of player
  272. stop
  273. if clicked item is stone sword:
  274. set line 1 of lore of clicked item to "&b&lWater &7&lWeapon"
  275. send "&6武器に属性を付与しました"
  276. close inventory of player
  277. stop
  278. if clicked item is iron sword:
  279. set line 1 of lore of clicked item to "&b&lWater &7&lWeapon"
  280. send "&6武器に属性を付与しました"
  281. close inventory of player
  282. stop
  283. else:
  284. send "&6その武器に属性は付与できません"
  285. stop
  286. if inventory name of player's current inventory is "&9&l≫&6&lLeafを付与する武器を選択してください":
  287. cancel event
  288. if lore of clicked item contain "&8&l??? &7&lWeapon":
  289. if clicked item is iron sword:
  290. set line 1 of lore of clicked item to "&2&lLeaf &7&lWeapon"
  291. send "&6武器に属性を付与しました"
  292. close inventory of player
  293. stop
  294. if clicked item is wood sword:
  295. set line 1 of lore of clicked item to "&2&lLeaf &7&lWeapon"
  296. send "&6武器に属性を付与しました"
  297. close inventory of player
  298. stop
  299. if clicked item is golden sword:
  300. set line 1 of lore of clicked item to "&2&lLeaf &7&lWeapon"
  301. send "&6武器に属性を付与しました"
  302. close inventory of player
  303. stop
  304. if clicked item is diamond sword:
  305. set line 1 of lore of clicked item to "&2&lLeaf &7&lWeapon"
  306. send "&6武器に属性を付与しました"
  307. close inventory of player
  308. stop
  309. if clicked item is stone sword:
  310. set line 1 of lore of clicked item to "&2&lLeaf &7&lWeapon"
  311. send "&6武器に属性を付与しました"
  312. close inventory of player
  313. stop
  314. else:
  315. send "&6その武器に属性は付与できません"
  316. stop
  317. if inventory name of player's current inventory is "&9&l≫&6&lElectricityを付与する武器を選択してください":
  318. cancel event
  319. if lore of clicked item contain "&8&l??? &7&lWeapon":
  320. if clicked item is iron sword:
  321. set line 1 of lore of clicked item to "&e&lElectricity &7&lWeapon"
  322. send "&6武器に属性を付与しました"
  323. close inventory of player
  324. stop
  325. if clicked item is wood sword:
  326. set line 1 of lore of clicked item to "&e&lElectricity &7&lWeapon"
  327. send "&6武器に属性を付与しました"
  328. close inventory of player
  329. stop
  330. if clicked item is golden sword:
  331. set line 1 of lore of clicked item to "&e&lElectricity &7&lWeapon"
  332. send "&6武器に属性を付与しました"
  333. close inventory of player
  334. stop
  335. if clicked item is diamond sword:
  336. set line 1 of lore of clicked item to "&e&lElectricity &7&lWeapon"
  337. send "&6武器に属性を付与しました"
  338. close inventory of player
  339. stop
  340. if clicked item is stone sword:
  341. set line 1 of lore of clicked item to "&e&lElectricity &7&lWeapon"
  342. send "&6武器に属性を付与しました"
  343. close inventory of player
  344. stop
  345. else:
  346. send "&6その武器に属性は付与できません"
  347. stop
  348. if inventory name of player's current inventory is "&9&l≫&6&lShadowを付与する武器を選択してください":
  349. cancel event
  350. if lore of clicked item contain "&8&l??? &7&lWeapon":
  351. if clicked item is iron sword:
  352. set line 1 of lore of clicked item to "&5&lShadow &7&lWeapon"
  353. send "&6武器に属性を付与しました"
  354. close inventory of player
  355. stop
  356. if clicked item is wood sword:
  357. set line 1 of lore of clicked item to "&5&lShadow &7&lWeapon"
  358. send "&6武器に属性を付与しました"
  359. close inventory of player
  360. stop
  361. if clicked item is golden sword:
  362. set line 1 of lore of clicked item to "&5&lShadow &7&lWeapon"
  363. send "&6武器に属性を付与しました"
  364. close inventory of player
  365. stop
  366. if clicked item is diamond sword:
  367. set line 1 of lore of clicked item to "&5&lShadow &7&lWeapon"
  368. send "&6武器に属性を付与しました"
  369. close inventory of player
  370. stop
  371. if clicked item is stone sword:
  372. set line 1 of lore of clicked item to "&5&lShadow &7&lWeapon"
  373. send "&6武器に属性を付与しました"
  374. close inventory of player
  375. stop
  376. else:
  377. send "&6その武器に属性は付与できません"
  378. stop
  379.  
  380.  
  381. on right click on enchantment table:
  382. block under block is lapis block
  383. cancel event
  384. player's tool exist
  385. play sound "BLOCK_LEVER_CLICK" to player with volume 5 and pitch 6
  386. wait 2 ticks
  387. open chest with 5 rows named "&9&l≫&6&l付与する属性を選択してください" to player
  388. wait 1 tick
  389. format slot 11 of player with iron sword named "&4&lFire&6を付与する" with lore "&4選択する武器にFireを付与します" to run "attribution 1 %player%"
  390. format slot 13 of player with iron sword named "&b&lWater&6を付与する" with lore "&b選択する武器にWaterを付与します" to run "attribution 2 %player%"
  391. format slot 15 of player with iron sword named "&2&lLeaf&6を付与する" with lore "&3選択する武器にLeafを付与します" to run "attribution 3 %player%"
  392. format slot 30 of player with iron sword named "&e&lElectricity&6を付与する" with lore "&e選択する武器にElectricityを付与します" to run "attribution 4 %player%"
  393. format slot 32 of player with iron sword named "&5&lShadow&6を付与する" with lore "&5選択する武器にShadowを付与します" to run "attribution 5 %player%"
  394.  
  395.  
  396. #attribution of Mobs
  397.  
  398.  
  399. #sound
  400.  
  401. on inventory click:
  402. play sound "BLOCK_LEVER_CLICK" to player with volume 5 and pitch 6
  403.  
  404. on command:
  405. play sound "BLOCK_LEVER_CLICK" to player with volume 5 and pitch 3
  406.  
  407. #attribution status
  408.  
  409. command /atts [<number>] [<player>]:
  410. trigger:
  411. if arg 1 is 1:
  412. open chest with 5 rows named "&9&l≫&6&lステータス" to player
  413. format slot 11 of player with book named "&4&lFire&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 2 %player%"
  414. format slot 13 of player with book named "&b&lWater&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 3 %player%"
  415. format slot 15 of player with book named "&2&lLeaf&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 4 %player%"
  416. format slot 30 of player with book named "&e&lElectricity&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 5 %player%"
  417. format slot 32 of player with book named "&5&lShadow&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 6 %player%"
  418. stop
  419. if arg 1 is 2:
  420. add 1 to {Fire.point.%player%}
  421. open chest with 5 rows named "&9&l≫&6&lステータス" to player
  422. format slot 11 of player with book named "&4&lFire&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 2 %player%"
  423. format slot 13 of player with book named "&b&lWater&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 3 %player%"
  424. format slot 15 of player with book named "&2&lLeaf&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 4 %player%"
  425. format slot 30 of player with book named "&e&lElectricity&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 5 %player%"
  426. format slot 32 of player with book named "&5&lShadow&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 6 %player%"
  427. stop
  428. if arg 1 is 3:
  429. add 1 to {Water.point.%player%}
  430. open chest with 5 rows named "&9&l≫&6&lステータス" to player
  431. format slot 11 of player with book named "&4&lFire&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 2 %player%"
  432. format slot 13 of player with book named "&b&lWater&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 3 %player%"
  433. format slot 15 of player with book named "&2&lLeaf&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 4 %player%"
  434. format slot 30 of player with book named "&e&lElectricity&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 5 %player%"
  435. format slot 32 of player with book named "&5&lShadow&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 6 %player%"
  436. stop
  437. if arg 1 is 4:
  438. add 1 to {Leaf.point.%player%}
  439. open chest with 5 rows named "&9&l≫&6&lステータス" to player
  440. format slot 11 of player with book named "&4&lFire&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 2 %player%"
  441. format slot 13 of player with book named "&b&lWater&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 3 %player%"
  442. format slot 15 of player with book named "&2&lLeaf&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 4 %player%"
  443. format slot 30 of player with book named "&e&lElectricity&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 5 %player%"
  444. format slot 32 of player with book named "&5&lShadow&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 6 %player%"
  445. stop
  446. if arg 1 is 5:
  447. add 1 to {Electricity.point.%player%}
  448. open chest with 5 rows named "&9&l≫&6&lステータス" to player
  449. format slot 11 of player with book named "&4&lFire&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 2 %player%"
  450. format slot 13 of player with book named "&b&lWater&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 3 %player%"
  451. format slot 15 of player with book named "&2&lLeaf&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 4 %player%"
  452. format slot 30 of player with book named "&e&lElectricity&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 5 %player%"
  453. format slot 32 of player with book named "&5&lShadow&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 6 %player%"
  454. stop
  455. if arg 1 is 6:
  456. add 1 to {Shadow.point.%player%}
  457. open chest with 5 rows named "&9&l≫&6&lステータス" to player
  458. format slot 11 of player with book named "&4&lFire&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 2 %player%"
  459. format slot 13 of player with book named "&b&lWater&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 3 %player%"
  460. format slot 15 of player with book named "&2&lLeaf&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 4 %player%"
  461. format slot 30 of player with book named "&e&lElectricity&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 5 %player%"
  462. format slot 32 of player with book named "&5&lShadow&6に割り振る" with lore "&5ポイント残量:%{status.point.%player%}%" to run "atts 6 %player%"
  463. stop
  464.  
  465.  
  466.  
  467. #command log
  468.  
  469.  
  470. on command:
  471. sender is player
  472. loop all players:
  473. loop-player have permission "admin"
  474. message "&7[&bCommandLog&7] &b%player%&7 /%full command%" to loop-player
  475.  
  476.  
  477. #monster spawn
  478.  
  479.  
  480. command /spawnmonster [<text>] [<text>] [<number>] [<number>]:
  481. trigger:
  482. if arg 1 is "zombie"
  483. spawn a zombie at {zombie.spawn}
  484. set name of spawned entity to "&a[Lv. 1] Zombie"
  485. set {entity} to last spawned entity
  486.  
  487. on death:
  488. wait 3 seconds
  489. if victim is {entity}:
  490. spawn a zombie at {zombie.spawn}
  491. set name of spawned entity to "&a[Lv. 1] Zombie"
  492. set {entity} to last spawned entity
  493.  
  494. command /setmonster [<text>] [<text>] [<number>] [<number>]:
  495. trigger:
  496. if player is op:
  497. set {zombie.spawn} to location of player
  498. send "&8[&bMobspawn&8] &7設定を追加しました。"
  499.  
  500. command /removemonster [<text>] [<text>] [<number>] [<number>]:
  501. trigger:
  502. if player is op:
  503. delete {zombie.spawn}
  504. send "&8[&bMobspawn&8] &7設定を追加しました。"
  505.  
  506. #protection
  507.  
  508. on place:
  509. player do not have permission "admin"
  510. cancel event
  511.  
  512. on break:
  513. player do not have permission "admin"
  514. cancel event
  515.  
  516. on drop:
  517. player do not have permission "admin"
  518. cancel event
  519.  
  520. on explode:
  521. cancel event
  522.  
  523. on craft:
  524. player do not have permission "admin"
  525. cancel event
  526.  
  527.  
  528. #item name and lore
  529.  
  530. command /itemname [<text>]:
  531. trigger:
  532. set the name of held item to colored arg
  533.  
  534. command /itemlore [<number>] [<text>]:
  535. trigger:
  536. set line arg 1 of lore of held item to colored "%arg 2%"
Advertisement
Add Comment
Please, Sign In to add comment