Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- #CONFIG
- #---------------------------------------------------------------------------
- #-----------------------------------Logo------------------------------------
- logo: &e&l[mine]
- #---------------------------------------------------------------------------
- #---------------------------------------------------------------------------
- #-----------------------------------Types-----------------------------------
- playerleveling: true
- #---------------------------------------------------------------------------
- #---------------------------------------------------------------------------
- #---------------------------------PLeveling---------------------------------
- #PlayerLeveling (Reward uses vault!)
- xpforlvlup: 500
- #---------------------------------------------------------------------------
- #---------------------------------------------------------------------------
- #----------------------------------MaxLvL-----------------------------------
- maxlvl: 999999 #MaxXp is used to mark max level of player (eg. 100 Bob[Lv100])
- #---------------------------------------------------------------------------
- #---------------------------------------------------------------------------
- #----------------------------------Suffix-----------------------------------
- suffix: true
- setsuffix: &8[&7Lv%{lvl.%player%}%&8] #Do NOT touch %{lvl.%player%}%
- vipprefix: &a[VIP] &b
- #---------------------------------------------------------------------------
- #------------------------------------------------------------------------------------------------------
- every 5 second:
- loop all players:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&e&l-=Miner-Life=-"
- set score " " in sidebar of loop-player to 15
- set score "&b&lLevel:" in sidebar of loop-player to 14
- set score "&e&l%{lvl.%loop-player%}%" in sidebar of loop-player to 13
- set score "&6&lNeedXP: &a%{nextlv.%loop-player%}-{xp.%loop-player%}%" in sidebar of loop-player to 12
- set score "&b&lPP(Point) &a%{pp.%loop-player%}%" in sidebar of loop-player to 11
- set score "&a" in sidebar of loop-player to 8
- set score "&e&lPlayers: &a%{Count.WorldExample}%" in sidebar of loop-player to 7
- set score "&lLoggins:" in sidebar of loop-player to 6
- set score "&a%{lgc.%loop-player%}%" in sidebar of loop-player to 4
- set score "&a" in sidebar of loop-player to 2
- set score "&eplayerrealms.com" in sidebar of loop-player to 1
- #------------------------------------------------------------------------------------------------------
- #
- #&e&lランク≫ %{prefix::%uuid of loop-player%}%
- #
- #
- #
- #
- #&6&lNextLV&f: &e%{nextlv.%loop-player%}%
- variables:
- {mining.%player%} = 0
- {min.%player%} = 0
- {xp.%player%} = 0
- {lvl.%player%} = 0
- {nextlv.%player%} = 500
- on any movement:
- if name of player is "syu_cat":
- add 1 to {xp.%player%}
- if {xp.%player%} is greater or equal to {nextlv.%player%}:
- if {lvl.%player%} is greater or equal to {@maxlvl}:
- stop
- else:
- remove {nextlv.%player%} from {xp.%player%}
- add 1 to {lvl.%player%}
- send "{@logo} &7レベルアップ!現在のLV: &a%{lvl.%player%}%" to player
- add 1 to {pp.%player%}
- add round({lvl.%player%}*15*({lvl.%player%}*0.02+1.03)) to {nextlv.%player%}
- loop all players:
- message "{@logo} &b&l%player%さんがレベルアップ!現在のレべル:&7%{lvl.%player%}%" to loop-player
- stop
- if {xp.%player%} is greater or equal to {@xpforlvlup}:
- if {lvl.%player%} is greater or equal to {@maxlvl}:
- stop
- else:
- remove {nextlv.%player%} from {xp.%player%}
- add 1 to {lvl.%player%}
- send "{@logo} &7レベルアップ!現在のLV: &a%{lvl.%player%}%" to player
- add 1 to {pp.%player%}
- set {nextlv} to round({nextlv} * 1.1)
- stop
- on mine of stone:
- cancel event
- give player stone named "&7石" with lore "&8普通の石。特に何もない。"
- wait a tick
- add 2 to {xp.%player%}
- set {_a} to {fortune.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- give player stone named "&7石" with lore "&8普通の石。特に何もない。"
- add -100 to {_a}
- else:
- exit the loop
- set {_a} to {boostxp.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- add 10 to {xp.%player%}
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- on mine of coal_ore:
- cancel event
- give player coal ore named "&8石炭" with lore "&8よくある石炭。"
- wait a tick
- add 4 to {xp.%player%}
- set {_a} to {fortune.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- give player coal ore named "&8石炭" with lore "&8よくある石炭。"
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- set {_a} to {boostxp.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- add 10 to {xp.%player%}
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- on mine of lapis_ore:
- cancel event
- give player lapis ore named "&1ラピスラズリ" with lore "&8すごく青い。"
- wait a tick
- add 12 to {xp.%player%}
- set {_a} to {fortune.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- give player lapis ore named "&1ラピスラズリ" with lore "&8すごく青い。"
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- set {_a} to {boostxp.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- add 10 to {xp.%player%}
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- on mine of iron_ore:
- cancel event
- give player iron ore named "&7鉄" with lore "&8普通の鉄。特に何もない。"
- wait a tick
- add 6 to {xp.%player%}
- set {_a} to {fortune.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- give player iron ore named "&7鉄" with lore "&8普通の鉄。特に何もない。"
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- set {_a} to {boostxp.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- add 10 to {xp.%player%}
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- on mine of gold_ore:
- cancel event
- give player gold ore named "&6金" with lore "&8インゴットだよ。"
- wait a tick
- add 8 to {xp.%player%}
- set {_a} to {fortune.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- give player gold ore named "&6金" with lore "&8インゴットだよ。"
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- set {_a} to {boostxp.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- add 10 to {xp.%player%}
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- on mine of redstone_block:
- cancel event
- give player redstone block named "&cレッドストーン" with lore "&8少し光っている。"
- wait a tick
- add 10 to {xp.%player%}
- set {_a} to {fortune.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- give player redstone block named "&cレッドストーン" with lore "&8少し光っている。"
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- set {_a} to {boostxp.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- add 10 to {xp.%player%}
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- on mine of diamond_ore:
- cancel event
- give player diamond ore named "&bダイヤモンド!" with lore "&bすごく輝いている。"
- wait a tick
- add 15 to {xp.%player%}
- set {_a} to {fortune.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- give player diamond ore named "&bダイヤモンド!" with lore "&bすごく輝いている。"
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- set {_a} to {boostxp.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- add 10 to {xp.%player%}
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- on mine of obsidian:
- cancel event
- give player obsidian named "&0黒曜石" with lore "&7黒い。"
- wait a tick
- add 20 to {xp.%player%}
- set {_a} to {fortune.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- give player obsidian named "&0黒曜石" with lore "&7黒い。"
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- set {_a} to {boostxp.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- add 10 to {xp.%player%}
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- on mine of concrete:
- cancel event
- give player glowstone named "&6光石" with lore "&7ピカピカ光っている。"
- wait a tick
- add 30 to {xp.%player%}
- set {_a} to {fortune.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- give player glowstone named "&6光石" with lore "&7ピカピカ光っている。"
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- set {_a} to {boostxp.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- add 10 to {xp.%player%}
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- on mine of emerald ore:
- cancel event
- give player emerald named "&aエメラルド" with lore "&a&lキラキラー"
- wait a tick
- add 40 to {xp.%player%}
- set {_a} to {fortune.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- give player emerald named "&aエメラルド" with lore "&a&lキラキラー"
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- set {_a} to {boostxp.%player%}
- if name of player is "syu_cat":
- set {_a} to {xp.%player%}
- loop {lvl.%player%}/100 times:
- chance of 20+{_a}%:
- add 10 to {xp.%player%}
- add -100 to {_a}
- wait 1 tick
- else:
- exit the loop
- #-------------------------------------------------
- #tab
- #-------------------------------------------------
- on join:
- add 1 to {lgc.%player%}
- send "&dWelcome!"
- send "&dJoin Count: &a%{lgc.%player%}%"
- set join message to "&7[Join] &b%player%"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.item.pickup ambient @a ~ ~ ~ 2 1"
- set display name of player to "&7[&b%{lvl::%player%}%&7]&f%player%"
- on quit:
- send "&aYou Left the Server"
- set quit message to "&7[Quit] &b%player%"
- on command "/help skripts":
- if player is op:
- send "Opened skript help"
- else:
- cancel event
- send "&cyou don't have permission"
- on command "/? skripts":
- if player is op:
- send "Opened skript help"
- else:
- cancel event
- send "&cyou don't have permission"
- command /resetstatus [<offline player>]:
- permission: skript.k2r
- permission message: あなたは権限を持っていません。
- trigger:
- if arg-1 is not set:
- set {xp.%player%} to 0
- set {lvl.%player%} to 1
- set {fortune.%player%} to 0
- set {pp.%player%} to 0
- set {boostxp.%player%} to 0
- set {nextlv.%player%} to 500
- send "%player%のステータスをリセットしました"
- if arg-1 is set:
- set {xp.%arg-1%} to 0
- set {lvl.%arg-1%} to 1
- set {fortune.%arg-1%} to 0
- set {pp.%arg-1%} to 0
- set {nextlv.%arg-1%} to 500
- send "%arg-1%のステータスをリセットしました"
- command /status [<offline player>]:
- trigger:
- if arg-1 is not set:
- open chest with 3 row named "&e&l%player%'s &6&lStatus" to player
- wait 2 tick
- format slot 10 of player with beacon named "&b&lLevel" with lore "&8[&b&l%{lvl.%player%}%&8]" to close
- format slot 11 of player with emerald named "&eXP" with lore "&8[&a&l%{xp.%player%}%&8]" to close
- format slot 12 of player with gold nugget named "&bPP" with lore "&8[&e&l%{pp.%player%}%&8]" to close
- format slot 13 of player with diamond named "&dfortune" with lore "&8[&d&l%{fortune::%player%}%&8]" to close
- format slot 14 of player with iron block named "&bXPBoost" with lore "&8[&b&l%{boostxp::%player%}%&8]" to close
- format slot 15 of player with feather named "&6&lLoggins" with lore "&8[&6&l%{lgc::%player%}%&8]" to close
- if arg-1 is set:
- open chest with 3 row named "&e&l%arg-1%'s &6&lStatus" to player
- wait 2 tick
- format slot 10 of player with beacon named "&b&lLevel" with lore "&8[&b&l%{lvl.%arg-1%}%&8]" to close
- format slot 11 of player with emerald named "&eXP" with lore "&8[&a&l%{xp.%arg-1%}%&8]" to close
- format slot 12 of player with gold nugget named "&bPP" with lore "&8[&e&l%{pp.%arg-1%}%&8]" to close
- format slot 13 of player with diamond named "&dfortune" with lore "&8[&d&l%{fortune::%arg-1%}%&8]" to close
- format slot 14 of player with iron block named "&bXPBoost" with lore "&8[&b&l%{boostxp::%arg-1%}%&8]" to close
- format slot 15 of player with feather named "&6&lLoggins" with lore "&8[&6&l%{lgc::%arg-1%}%&8]" to close
- on rightclick holding a diamond:
- name of held item contains "&eポイント割り振り&a(right click)"
- open chest with 3 rows named "&aポイント割り振り" to player
- wait a tick
- format slot 10 of player with diamond pickaxe named "&eAddCompression (押さないでください)" to run [player command "/xcm"]
- format slot 12 of player with diamond named "&dFortune &alv %{fortune.%player%}%" to run [player command "/fortune"]
- format slot 14 of player with gold ingot named "&bXP増加 &alv %{boostxp.%player%}%" to run [player command "/boostxp"]
- command /lvup:
- trigger:
- open chest with 3 rows named "&aポイント割り振り" to player
- wait a tick
- format slot 10 of player with diamond pickaxe named "&eAddCompression (押さないでください)" to run [player command "/xcm"]
- format slot 12 of player with diamond named "&dFortune &alv %{fortune.%player%}%" to run [player command "/fortune"]
- format slot 14 of player with gold ingot named "&bXP増加 &alv %{boostxp.%player%}%" to run [player command "/boostxp"]
- #---------------------------------------------------------------------------
- #-----------------------------------addons-----------------------------------
- command /boostxp:
- trigger:
- if {pp.%player%} is greater than 0.1:
- remove 1 from {pp.%player%}
- add 1 to {boostxp.%player%}
- send "&bBoostXP&aに1ポイント割り振りました!"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup ambient %player% ~ ~ ~ 2 1.5"
- else:
- send "&cポイントが足りません。"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.villager.no ambient %player% ~ ~ ~ 2 1.2"
- command /fortune:
- trigger:
- if {pp.%player%} is greater than 0.1:
- remove 1 from {pp.%player%}
- add 1 to {fortune.%player%}
- send "&dfortune&aに1ポイント割り振りました!"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup ambient %player% ~ ~ ~ 2 1.5"
- else:
- send "&cポイントが足りません。"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.villager.no ambient %player% ~ ~ ~ 2 1.2"
- command /xcm:
- trigger:
- if {pp.%player%} is greater than 0.1:
- remove 1 from {pp.%player%}
- add 1 to {xc.%player%}
- send "&bBoostXP&aに1ポイント割り振りました!"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.experience_orb.pickup ambient %player% ~ ~ ~ 2 1.5"
- else:
- send "&cポイントが足りません。"
- execute console command "/execute %player% ~ ~ ~ /playsound minecraft:entity.villager.no ambient %player% ~ ~ ~ 2 1.2"
- every 10 seconds:
- set {Count.WorldExample} to 0
- loop all players:
- add 1 to {Count.WorldExample}
- command /addstatus <player> [<number>]:
- permission:sk.admin
- trigger:
- if arg 2 is set:
- wait a tick
- add arg 2 to {xp.%arg 1%}
- command /getupgrademenu:
- trigger:
- give player diamond named "&eポイント割り振り&a(right click)"
- command /cmdlist:
- trigger:
- send "&7&l-----===&6&lCommandList&7&l===-----"
- send " &6/buy &7&l》&brealmShopを開く"
- send " &6/ec &7&l》&bエンダーチェストを開く"
- send " &6/fast &7&l》&b足が速くなるアイテムをGET &a(VIP以上)"
- send " &6/gomi &7&l》&bゴミ箱を開く"
- send " &6/mining &7&l》&b採掘速度上昇アイテムをGET &b(MVP&4+&b以上)"
- send " &6/ping <player> &7&l》&bプレイヤーのpingを測る。"
- send " &6/players <hide/show> &7&l》&bプレイヤーの非表示(当たり判定も)/表示"
- send " &6/status <player>(オフラインも可) &7&l》&bプレイヤーのステータスを見る"
- #-------------------------------------------------------------------------------------------------------------------
- on mine:
- clear {_i}
- {xc.%player%} is set
- set {_i} to {xc.%player%}
- set {_i} to {_i}+{fortune.%player%}
- set {_i} to {_i}/100
- {_i} is set
- event-block is stone:
- chance of {_i}%:
- give 1 stone named "&7&l圧縮石" with lore "&7ただの石を圧縮しただけ。" to player
- stop
- event-block is coal ore:
- chance of {_i}%:
- give 1 coal block named "&8圧縮石炭" with lore "&8石炭を圧縮した塊。黒い。" to player
- stop
- event-block is iron ore:
- chance of {_i}%:
- give 1 iron block named "&7圧縮鉄" with lore "&7普通の鉄を圧縮した。" to player
- stop
- event-block is gold ore:
- chance of {_i}%:
- give 1 gold block named "&6圧縮金" with lore "&7金を圧縮しただけ。" to player
- stop
- event-block is redstone ore or glowing redstone ore:
- chance of {_i}%:
- give 1 red concrete named "&4圧縮レッドストーン" with lore "&cうっすら光っている。" to player
- stop
- event-block is lapis ore:
- chance of {_i}%:
- give 1 lapis block named "&1圧縮ラピス" with lore "&1普通なラピスラズリを圧縮した。" to player
- stop
- event-block is diamond ore:
- chance of {_i}%:
- give 1 diamond block named "&b圧縮ダイヤモンド" with lore "&b&lすごくキラキラしている。" to player
- stop
- event-block is obsidian:
- chance of {_i}%:
- give 1 obsidian named "&0圧縮黒曜石" with lore "&7黒すぎて何も見えない。" to player
- stop
- event-block is glowstone:
- chance of {_i}%:
- give 1 glowstone named "&6圧縮光石" with lore "&7光っている" to player
- stop
- event-block is emerald ore:
- chance of {_i}%:
- give 1 emerald block named "&a&l圧縮エメラルド" with lore "&7輝いている..." to player
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement