Advertisement
sora200507

Untitled

Dec 21st, 2018
487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.49 KB | None | 0 0
  1. options:
  2. #CONFIG
  3. #---------------------------------------------------------------------------
  4. #-----------------------------------Logo------------------------------------
  5. logo: &e&l[mine]
  6. #---------------------------------------------------------------------------
  7.  
  8. #---------------------------------------------------------------------------
  9. #-----------------------------------Types-----------------------------------
  10. playerleveling: true
  11. #---------------------------------------------------------------------------
  12.  
  13. #---------------------------------------------------------------------------
  14. #---------------------------------PLeveling---------------------------------
  15. #PlayerLeveling (Reward uses vault!)
  16. xpforlvlup: 500
  17. #---------------------------------------------------------------------------
  18.  
  19. #---------------------------------------------------------------------------
  20. #----------------------------------MaxLvL-----------------------------------
  21. maxlvl: 999999 #MaxXp is used to mark max level of player (eg. 100 Bob[Lv100])
  22. #---------------------------------------------------------------------------
  23.  
  24. #---------------------------------------------------------------------------
  25. #----------------------------------Suffix-----------------------------------
  26. suffix: true
  27. setsuffix: &8[&7Lv%{lvl.%player%}%&8] #Do NOT touch %{lvl.%player%}%
  28. vipprefix: &a[VIP] &b
  29. #---------------------------------------------------------------------------
  30.  
  31. #------------------------------------------------------------------------------------------------------
  32. every 5 second:
  33. loop all players:
  34. wipe loop-player's sidebar
  35. set name of sidebar of loop-player to "&e&l-=Miner-Life=-"
  36. set score " " in sidebar of loop-player to 15
  37. set score "&b&lLevel:" in sidebar of loop-player to 14
  38. set score "&e&l%{lvl.%loop-player%}%" in sidebar of loop-player to 13
  39. set score "&6&lNeedXP: &a%{nextlv.%loop-player%}-{xp.%loop-player%}%" in sidebar of loop-player to 12
  40. set score "&b&lPP(Point) &a%{pp.%loop-player%}%" in sidebar of loop-player to 11
  41. set score "&a" in sidebar of loop-player to 8
  42. set score "&e&lPlayers: &a%{Count.WorldExample}%" in sidebar of loop-player to 7
  43. set score "&lLoggins:" in sidebar of loop-player to 6
  44. set score "&a%{lgc.%loop-player%}%" in sidebar of loop-player to 4
  45. set score "&a" in sidebar of loop-player to 2
  46. set score "&eplayerrealms.com" in sidebar of loop-player to 1
  47.  
  48. #------------------------------------------------------------------------------------------------------
  49. #
  50. #&e&lランク≫ %{prefix::%uuid of loop-player%}%
  51. #
  52. #
  53. #
  54. #
  55. #&6&lNextLV&f: &e%{nextlv.%loop-player%}%
  56.  
  57. variables:
  58. {mining.%player%} = 0
  59. {min.%player%} = 0
  60. {xp.%player%} = 0
  61. {lvl.%player%} = 0
  62. {nextlv.%player%} = 500
  63.  
  64.  
  65. on any movement:
  66. if name of player is "syu_cat":
  67. add 1 to {xp.%player%}
  68. if {xp.%player%} is greater or equal to {nextlv.%player%}:
  69. if {lvl.%player%} is greater or equal to {@maxlvl}:
  70. stop
  71. else:
  72. remove {nextlv.%player%} from {xp.%player%}
  73. add 1 to {lvl.%player%}
  74. send "{@logo} &7レベルアップ!現在のLV: &a%{lvl.%player%}%" to player
  75. add 1 to {pp.%player%}
  76. add round({lvl.%player%}*15*({lvl.%player%}*0.02+1.03)) to {nextlv.%player%}
  77. loop all players:
  78. message "{@logo} &b&l%player%さんがレベルアップ!現在のレべル:&7%{lvl.%player%}%" to loop-player
  79. stop
  80. if {xp.%player%} is greater or equal to {@xpforlvlup}:
  81. if {lvl.%player%} is greater or equal to {@maxlvl}:
  82. stop
  83. else:
  84. remove {nextlv.%player%} from {xp.%player%}
  85. add 1 to {lvl.%player%}
  86. send "{@logo} &7レベルアップ!現在のLV: &a%{lvl.%player%}%" to player
  87. add 1 to {pp.%player%}
  88. set {nextlv} to round({nextlv} * 1.1)
  89. stop
  90.  
  91. on mine of stone:
  92. cancel event
  93. give player stone named "&7石" with lore "&8普通の石。特に何もない。"
  94. wait a tick
  95. add 2 to {xp.%player%}
  96. set {_a} to {fortune.%player%}
  97. if name of player is "syu_cat":
  98. set {_a} to {xp.%player%}
  99. loop {lvl.%player%}/100 times:
  100. chance of 20+{_a}%:
  101. give player stone named "&7石" with lore "&8普通の石。特に何もない。"
  102. add -100 to {_a}
  103. else:
  104. exit the loop
  105. set {_a} to {boostxp.%player%}
  106. if name of player is "syu_cat":
  107. set {_a} to {xp.%player%}
  108. loop {lvl.%player%}/100 times:
  109. chance of 20+{_a}%:
  110. add 10 to {xp.%player%}
  111. add -100 to {_a}
  112. wait 1 tick
  113. else:
  114. exit the loop
  115. on mine of coal_ore:
  116. cancel event
  117. give player coal ore named "&8石炭" with lore "&8よくある石炭。"
  118. wait a tick
  119. add 4 to {xp.%player%}
  120. set {_a} to {fortune.%player%}
  121. if name of player is "syu_cat":
  122. set {_a} to {xp.%player%}
  123. loop {lvl.%player%}/100 times:
  124. chance of 20+{_a}%:
  125. give player coal ore named "&8石炭" with lore "&8よくある石炭。"
  126. add -100 to {_a}
  127. wait 1 tick
  128. else:
  129. exit the loop
  130. set {_a} to {boostxp.%player%}
  131. if name of player is "syu_cat":
  132. set {_a} to {xp.%player%}
  133. loop {lvl.%player%}/100 times:
  134. chance of 20+{_a}%:
  135. add 10 to {xp.%player%}
  136. add -100 to {_a}
  137. wait 1 tick
  138. else:
  139. exit the loop
  140. on mine of lapis_ore:
  141. cancel event
  142. give player lapis ore named "&1ラピスラズリ" with lore "&8すごく青い。"
  143. wait a tick
  144. add 12 to {xp.%player%}
  145. set {_a} to {fortune.%player%}
  146. if name of player is "syu_cat":
  147. set {_a} to {xp.%player%}
  148. loop {lvl.%player%}/100 times:
  149. chance of 20+{_a}%:
  150. give player lapis ore named "&1ラピスラズリ" with lore "&8すごく青い。"
  151. add -100 to {_a}
  152. wait 1 tick
  153. else:
  154. exit the loop
  155. set {_a} to {boostxp.%player%}
  156. if name of player is "syu_cat":
  157. set {_a} to {xp.%player%}
  158. loop {lvl.%player%}/100 times:
  159. chance of 20+{_a}%:
  160. add 10 to {xp.%player%}
  161. add -100 to {_a}
  162. wait 1 tick
  163. else:
  164. exit the loop
  165. on mine of iron_ore:
  166. cancel event
  167. give player iron ore named "&7鉄" with lore "&8普通の鉄。特に何もない。"
  168. wait a tick
  169. add 6 to {xp.%player%}
  170. set {_a} to {fortune.%player%}
  171. if name of player is "syu_cat":
  172. set {_a} to {xp.%player%}
  173. loop {lvl.%player%}/100 times:
  174. chance of 20+{_a}%:
  175. give player iron ore named "&7鉄" with lore "&8普通の鉄。特に何もない。"
  176. add -100 to {_a}
  177. wait 1 tick
  178. else:
  179. exit the loop
  180. set {_a} to {boostxp.%player%}
  181. if name of player is "syu_cat":
  182. set {_a} to {xp.%player%}
  183. loop {lvl.%player%}/100 times:
  184. chance of 20+{_a}%:
  185. add 10 to {xp.%player%}
  186. add -100 to {_a}
  187. wait 1 tick
  188. else:
  189. exit the loop
  190. on mine of gold_ore:
  191. cancel event
  192. give player gold ore named "&6金" with lore "&8インゴットだよ。"
  193. wait a tick
  194. add 8 to {xp.%player%}
  195. set {_a} to {fortune.%player%}
  196. if name of player is "syu_cat":
  197. set {_a} to {xp.%player%}
  198. loop {lvl.%player%}/100 times:
  199. chance of 20+{_a}%:
  200. give player gold ore named "&6金" with lore "&8インゴットだよ。"
  201. add -100 to {_a}
  202. wait 1 tick
  203. else:
  204. exit the loop
  205. set {_a} to {boostxp.%player%}
  206. if name of player is "syu_cat":
  207. set {_a} to {xp.%player%}
  208. loop {lvl.%player%}/100 times:
  209. chance of 20+{_a}%:
  210. add 10 to {xp.%player%}
  211. add -100 to {_a}
  212. wait 1 tick
  213. else:
  214. exit the loop
  215. on mine of redstone_block:
  216. cancel event
  217. give player redstone block named "&cレッドストーン" with lore "&8少し光っている。"
  218. wait a tick
  219. add 10 to {xp.%player%}
  220. set {_a} to {fortune.%player%}
  221. if name of player is "syu_cat":
  222. set {_a} to {xp.%player%}
  223. loop {lvl.%player%}/100 times:
  224. chance of 20+{_a}%:
  225. give player redstone block named "&cレッドストーン" with lore "&8少し光っている。"
  226. add -100 to {_a}
  227. wait 1 tick
  228. else:
  229. exit the loop
  230. set {_a} to {boostxp.%player%}
  231. if name of player is "syu_cat":
  232. set {_a} to {xp.%player%}
  233. loop {lvl.%player%}/100 times:
  234. chance of 20+{_a}%:
  235. add 10 to {xp.%player%}
  236. add -100 to {_a}
  237. wait 1 tick
  238. else:
  239. exit the loop
  240. on mine of diamond_ore:
  241. cancel event
  242. give player diamond ore named "&bダイヤモンド!" with lore "&bすごく輝いている。"
  243. wait a tick
  244. add 15 to {xp.%player%}
  245. set {_a} to {fortune.%player%}
  246. if name of player is "syu_cat":
  247. set {_a} to {xp.%player%}
  248. loop {lvl.%player%}/100 times:
  249. chance of 20+{_a}%:
  250. give player diamond ore named "&bダイヤモンド!" with lore "&bすごく輝いている。"
  251. add -100 to {_a}
  252. wait 1 tick
  253. else:
  254. exit the loop
  255. set {_a} to {boostxp.%player%}
  256. if name of player is "syu_cat":
  257. set {_a} to {xp.%player%}
  258. loop {lvl.%player%}/100 times:
  259. chance of 20+{_a}%:
  260. add 10 to {xp.%player%}
  261. add -100 to {_a}
  262. wait 1 tick
  263. else:
  264. exit the loop
  265. on mine of obsidian:
  266. cancel event
  267. give player obsidian named "&0黒曜石" with lore "&7黒い。"
  268. wait a tick
  269. add 20 to {xp.%player%}
  270. set {_a} to {fortune.%player%}
  271. if name of player is "syu_cat":
  272. set {_a} to {xp.%player%}
  273. loop {lvl.%player%}/100 times:
  274. chance of 20+{_a}%:
  275. give player obsidian named "&0黒曜石" with lore "&7黒い。"
  276. add -100 to {_a}
  277. wait 1 tick
  278. else:
  279. exit the loop
  280. set {_a} to {boostxp.%player%}
  281. if name of player is "syu_cat":
  282. set {_a} to {xp.%player%}
  283. loop {lvl.%player%}/100 times:
  284. chance of 20+{_a}%:
  285. add 10 to {xp.%player%}
  286. add -100 to {_a}
  287. wait 1 tick
  288. else:
  289. exit the loop
  290. on mine of concrete:
  291. cancel event
  292. give player glowstone named "&6光石" with lore "&7ピカピカ光っている。"
  293. wait a tick
  294. add 30 to {xp.%player%}
  295. set {_a} to {fortune.%player%}
  296. if name of player is "syu_cat":
  297. set {_a} to {xp.%player%}
  298. loop {lvl.%player%}/100 times:
  299. chance of 20+{_a}%:
  300. give player glowstone named "&6光石" with lore "&7ピカピカ光っている。"
  301. add -100 to {_a}
  302. wait 1 tick
  303. else:
  304. exit the loop
  305. set {_a} to {boostxp.%player%}
  306. if name of player is "syu_cat":
  307. set {_a} to {xp.%player%}
  308. loop {lvl.%player%}/100 times:
  309. chance of 20+{_a}%:
  310. add 10 to {xp.%player%}
  311. add -100 to {_a}
  312. wait 1 tick
  313. else:
  314. exit the loop
  315. on mine of emerald ore:
  316. cancel event
  317. give player emerald named "&aエメラルド" with lore "&a&lキラキラー"
  318. wait a tick
  319. add 40 to {xp.%player%}
  320. set {_a} to {fortune.%player%}
  321. if name of player is "syu_cat":
  322. set {_a} to {xp.%player%}
  323. loop {lvl.%player%}/100 times:
  324. chance of 20+{_a}%:
  325. give player emerald named "&aエメラルド" with lore "&a&lキラキラー"
  326. add -100 to {_a}
  327. wait 1 tick
  328. else:
  329. exit the loop
  330. set {_a} to {boostxp.%player%}
  331. if name of player is "syu_cat":
  332. set {_a} to {xp.%player%}
  333. loop {lvl.%player%}/100 times:
  334. chance of 20+{_a}%:
  335. add 10 to {xp.%player%}
  336. add -100 to {_a}
  337. wait 1 tick
  338. else:
  339. exit the loop
  340. #-------------------------------------------------
  341. #tab
  342. #-------------------------------------------------
  343. on join:
  344. add 1 to {lgc.%player%}
  345. send "&dWelcome!"
  346. send "&dJoin Count: &a%{lgc.%player%}%"
  347. set join message to "&7[Join] &b%player%"
  348. execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.item.pickup ambient @a ~ ~ ~ 2 1"
  349. set display name of player to "&7[&b%{lvl::%player%}%&7]&f%player%"
  350. on quit:
  351. send "&aYou Left the Server"
  352. set quit message to "&7[Quit] &b%player%"
  353. on command "/help skripts":
  354. if player is op:
  355. send "Opened skript help"
  356. else:
  357. cancel event
  358. send "&cyou don't have permission"
  359. on command "/? skripts":
  360. if player is op:
  361. send "Opened skript help"
  362. else:
  363. cancel event
  364. send "&cyou don't have permission"
  365. command /resetstatus [<offline player>]:
  366. permission: skript.k2r
  367. permission message: あなたは権限を持っていません。
  368. trigger:
  369. if arg-1 is not set:
  370. set {xp.%player%} to 0
  371. set {lvl.%player%} to 1
  372. set {fortune.%player%} to 0
  373. set {pp.%player%} to 0
  374. set {boostxp.%player%} to 0
  375. set {nextlv.%player%} to 500
  376. send "%player%のステータスをリセットしました"
  377. if arg-1 is set:
  378. set {xp.%arg-1%} to 0
  379. set {lvl.%arg-1%} to 1
  380. set {fortune.%arg-1%} to 0
  381. set {pp.%arg-1%} to 0
  382. set {nextlv.%arg-1%} to 500
  383. send "%arg-1%のステータスをリセットしました"
  384.  
  385. command /status [<offline player>]:
  386. trigger:
  387. if arg-1 is not set:
  388. open chest with 3 row named "&e&l%player%'s &6&lStatus" to player
  389. wait 2 tick
  390. format slot 10 of player with beacon named "&b&lLevel" with lore "&8[&b&l%{lvl.%player%}%&8]" to close
  391. format slot 11 of player with emerald named "&eXP" with lore "&8[&a&l%{xp.%player%}%&8]" to close
  392. format slot 12 of player with gold nugget named "&bPP" with lore "&8[&e&l%{pp.%player%}%&8]" to close
  393. format slot 13 of player with diamond named "&dfortune" with lore "&8[&d&l%{fortune::%player%}%&8]" to close
  394. format slot 14 of player with iron block named "&bXPBoost" with lore "&8[&b&l%{boostxp::%player%}%&8]" to close
  395. format slot 15 of player with feather named "&6&lLoggins" with lore "&8[&6&l%{lgc::%player%}%&8]" to close
  396. if arg-1 is set:
  397. open chest with 3 row named "&e&l%arg-1%'s &6&lStatus" to player
  398. wait 2 tick
  399. format slot 10 of player with beacon named "&b&lLevel" with lore "&8[&b&l%{lvl.%arg-1%}%&8]" to close
  400. format slot 11 of player with emerald named "&eXP" with lore "&8[&a&l%{xp.%arg-1%}%&8]" to close
  401. format slot 12 of player with gold nugget named "&bPP" with lore "&8[&e&l%{pp.%arg-1%}%&8]" to close
  402. format slot 13 of player with diamond named "&dfortune" with lore "&8[&d&l%{fortune::%arg-1%}%&8]" to close
  403. format slot 14 of player with iron block named "&bXPBoost" with lore "&8[&b&l%{boostxp::%arg-1%}%&8]" to close
  404. format slot 15 of player with feather named "&6&lLoggins" with lore "&8[&6&l%{lgc::%arg-1%}%&8]" to close
  405.  
  406. on rightclick holding a diamond:
  407. name of held item contains "&eポイント割り振り&a(right click)"
  408. open chest with 3 rows named "&aポイント割り振り" to player
  409. wait a tick
  410. format slot 10 of player with diamond pickaxe named "&eAddCompression (押さないでください)" to run [player command "/xcm"]
  411. format slot 12 of player with diamond named "&dFortune &alv %{fortune.%player%}%" to run [player command "/fortune"]
  412. format slot 14 of player with gold ingot named "&bXP増加 &alv %{boostxp.%player%}%" to run [player command "/boostxp"]
  413. command /lvup:
  414. trigger:
  415. open chest with 3 rows named "&aポイント割り振り" to player
  416. wait a tick
  417. format slot 10 of player with diamond pickaxe named "&eAddCompression (押さないでください)" to run [player command "/xcm"]
  418. format slot 12 of player with diamond named "&dFortune &alv %{fortune.%player%}%" to run [player command "/fortune"]
  419. format slot 14 of player with gold ingot named "&bXP増加 &alv %{boostxp.%player%}%" to run [player command "/boostxp"]
  420. #---------------------------------------------------------------------------
  421. #-----------------------------------addons-----------------------------------
  422. command /boostxp:
  423. trigger:
  424. if {pp.%player%} is greater than 0.1:
  425. remove 1 from {pp.%player%}
  426. add 1 to {boostxp.%player%}
  427. send "&bBoostXP&aに1ポイント割り振りました!"
  428. execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup ambient %player% ~ ~ ~ 2 1.5"
  429. else:
  430. send "&cポイントが足りません。"
  431. execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.villager.no ambient %player% ~ ~ ~ 2 1.2"
  432. command /fortune:
  433. trigger:
  434. if {pp.%player%} is greater than 0.1:
  435. remove 1 from {pp.%player%}
  436. add 1 to {fortune.%player%}
  437. send "&dfortune&aに1ポイント割り振りました!"
  438. execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup ambient %player% ~ ~ ~ 2 1.5"
  439. else:
  440. send "&cポイントが足りません。"
  441. execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.villager.no ambient %player% ~ ~ ~ 2 1.2"
  442. command /xcm:
  443. trigger:
  444. if {pp.%player%} is greater than 0.1:
  445. remove 1 from {pp.%player%}
  446. add 1 to {xc.%player%}
  447. send "&bBoostXP&aに1ポイント割り振りました!"
  448. execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup ambient %player% ~ ~ ~ 2 1.5"
  449. else:
  450. send "&cポイントが足りません。"
  451. execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.villager.no ambient %player% ~ ~ ~ 2 1.2"
  452. every 10 seconds:
  453. set {Count.WorldExample} to 0
  454. loop all players:
  455. add 1 to {Count.WorldExample}
  456. command /addstatus <player> [<number>]:
  457. permission:sk.admin
  458. trigger:
  459. if arg 2 is set:
  460. wait a tick
  461. add arg 2 to {xp.%arg 1%}
  462. command /getupgrademenu:
  463. trigger:
  464. give player diamond named "&eポイント割り振り&a(right click)"
  465. command /cmdlist:
  466. trigger:
  467. send "&7&l-----===&6&lCommandList&7&l===-----"
  468. send " &6/buy &7&l》&brealmShopを開く"
  469. send " &6/ec &7&l》&bエンダーチェストを開く"
  470. send " &6/fast &7&l》&b足が速くなるアイテムをGET &a(VIP以上)"
  471. send " &6/gomi &7&l》&bゴミ箱を開く"
  472. send " &6/mining &7&l》&b採掘速度上昇アイテムをGET &b(MVP&4+&b以上)"
  473. send " &6/ping <player> &7&l》&bプレイヤーのpingを測る。"
  474. send " &6/players <hide/show> &7&l》&bプレイヤーの非表示(当たり判定も)/表示"
  475. send " &6/status <player>(オフラインも可) &7&l》&bプレイヤーのステータスを見る"
  476. #-------------------------------------------------------------------------------------------------------------------
  477. on mine:
  478. clear {_i}
  479. {xc.%player%} is set
  480. set {_i} to {xc.%player%}
  481. set {_i} to {_i}+{fortune.%player%}
  482. set {_i} to {_i}/100
  483. {_i} is set
  484. event-block is stone:
  485. chance of {_i}%:
  486. give 1 stone named "&7&l圧縮石" with lore "&7ただの石を圧縮しただけ。" to player
  487. stop
  488. event-block is coal ore:
  489. chance of {_i}%:
  490. give 1 coal block named "&8圧縮石炭" with lore "&8石炭を圧縮した塊。黒い。" to player
  491. stop
  492. event-block is iron ore:
  493. chance of {_i}%:
  494. give 1 iron block named "&7圧縮鉄" with lore "&7普通の鉄を圧縮した。" to player
  495. stop
  496. event-block is gold ore:
  497. chance of {_i}%:
  498. give 1 gold block named "&6圧縮金" with lore "&7金を圧縮しただけ。" to player
  499. stop
  500. event-block is redstone ore or glowing redstone ore:
  501. chance of {_i}%:
  502. give 1 red concrete named "&4圧縮レッドストーン" with lore "&cうっすら光っている。" to player
  503. stop
  504. event-block is lapis ore:
  505. chance of {_i}%:
  506. give 1 lapis block named "&1圧縮ラピス" with lore "&1普通なラピスラズリを圧縮した。" to player
  507. stop
  508. event-block is diamond ore:
  509. chance of {_i}%:
  510. give 1 diamond block named "&b圧縮ダイヤモンド" with lore "&b&lすごくキラキラしている。" to player
  511. stop
  512. event-block is obsidian:
  513. chance of {_i}%:
  514. give 1 obsidian named "&0圧縮黒曜石" with lore "&7黒すぎて何も見えない。" to player
  515. stop
  516. event-block is glowstone:
  517. chance of {_i}%:
  518. give 1 glowstone named "&6圧縮光石" with lore "&7光っている" to player
  519. stop
  520. event-block is emerald ore:
  521. chance of {_i}%:
  522. give 1 emerald block named "&a&l圧縮エメラルド" with lore "&7輝いている..." to player
  523. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement