kuragonn

Untitled

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