Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {uuid::%player%.money} = 10000
- {uuid::%player%.mp} = 0
- {uuid::%player%.mc} = 0
- {uuid::%player%.boost} = 1
- {uuid::%player%.xp} = 0
- {uuid::%player%.level} = 1
- {uuid::%player%.itemadd} = 0
- {uuid::%player%.automaker} = 0
- {uuid::%player%.ascendbuy} = 1000
- {uuid::%player%.needxp} = 50
- on mine of cobblestone:
- cancel event
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1"
- add 10*{uuid::%player%.boost} to {uuid::%player%.money}
- add 2*{uuid::%player%.boost} to {uuid::%player%.xp}
- add 3*{uuid::%player%.boost} to {uuid::%player%.mp}
- loop 1+{uuid::%player%.itemadd} times:
- command "/give %player% cobblestone 1"
- on mine of iron ore:
- cancel event
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1.1"
- add 50*{uuid::%player%.boost} to {uuid::%player%.money}
- add 5*{uuid::%player%.boost} to {uuid::%player%.xp}
- add 10*{uuid::%player%.boost} to {uuid::%player%.mp}
- loop 1+{uuid::%player%.itemadd} times:
- command "/give %player% iron_ore 1"
- on mine of diamond ore:
- cancel event
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1.2"
- add 250*{uuid::%player%.boost} to {uuid::%player%.money}
- add 8*{uuid::%player%.boost} to {uuid::%player%.xp}
- add 20*{uuid::%player%.boost} to {uuid::%player%.mp}
- loop 1+{uuid::%player%.itemadd} times:
- command "/give %player% diamond_ore 1"
- on mine of emerald ore:
- cancel event
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1.3"
- add 1500*{uuid::%player%.boost} to {uuid::%player%.money}
- add 20*{uuid::%player%.boost} to {uuid::%player%.xp}
- add 50*{uuid::%player%.boost} to {uuid::%player%.mp}
- loop 1+{uuid::%player%.itemadd} times:
- command "/give %player% emerald_ore 1"
- on mine of gold ore:
- cancel event
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.stone.break ambient %player% ~ ~ ~ 100 1.4"
- add 5000*{uuid::%player%.boost} to {uuid::%player%.money}
- add 40*{uuid::%player%.boost} to {uuid::%player%.xp}
- add 100*{uuid::%player%.boost} to {uuid::%player%.mp}
- loop 1+{uuid::%player%.itemadd} times:
- command "/give %player% gold_ore 1"
- every 3 tick:
- loop all players:
- send action bar with text "&e現在の所持金 &f: &a%{uuid::%loop-player%.money}% &b採掘ポイント &f: &a%{uuid::%loop-player%.mp}% &a経験値 &b%{uuid::%loop-player%.xp}% &f/ &b%{uuid::%loop-player%.needxp}% &bレベル &a%{uuid::%loop-player%.level}% &eブースト &f: &6x%{uuid::%loop-player%.boost}%" to loop-player
- if {uuid::%loop-player%.mp} >= {uuid::%loop-player%.ascendbuy}:
- add 1 to {uuid::%loop-player%.guessascendcoin}
- set {uuid::%loop-player%.ascendbuy} to {uuid::%loop-player%.ascendbuy}*1.2
- if {uuid::%loop-player%.xp} >= {uuid::%loop-player%.needxp}:
- message "&6採掘レベルが上がりました!" to loop-player
- message "&cレベル &d%{uuid::%loop-player%.level}% &f→ &bレベル &a%{uuid::%loop-player%.level}+1%" to loop-player
- message "&e ブースト x%{uuid::%loop-player%.boost}% &f→ &e&lx%{uuid::%loop-player%.boost}*1.1%" to loop-player
- message "&b 一回の採掘で手に入るアイテム &6+ &c%{uuid::%loop-player%.itemadd}+1% &f→ &6+ &a%{uuid::%loop-player%.itemadd}+2%" to loop-player
- command "/scoreboard players add %loop-player% level 1"
- remove {uuid::%loop-player%.needxp} from {uuid::%loop-player%.xp}
- set {uuid::%loop-player%.needxp} to {uuid::%loop-player%.needxp}*1.7
- add 1 to {uuid::%loop-player%.level}
- set {uuid::%loop-player%.boost} to {uuid::%loop-player%.boost}*1.1
- add 1 to {uuid::%loop-player%.itemadd}
- command "/execute %loop-player% ~ ~ ~ /playsound minecraft:entity.player.levelup ambient %loop-player% ~ ~ ~ 2 0.6"
- command /mreset <player>:
- permission: skript.admin
- trigger:
- set {uuid::%arg%.money} to 10000
- set {uuid::%arg%.mp} to 0
- set {uuid::%arg%.mc} to 0
- set {uuid::%arg%.boost} to 1
- set {uuid::%arg%.xp} to 0
- set {uuid::%arg%.level} to 1
- set {uuid::%arg%.itemadd} to 0
- set {uuid::%arg%.guessascendcoin} to 0
- set {uuid::%arg%.ascendcoin} to 0
- set {uuid::%arg%.ascendbuy} to 1000
- set {uuid::%arg%.needxp} to 50
- command "/scoreboard players set %arg% level 1"
- message "&b君の負け(reset)! &cなんでリセットされたら 考えておいてください、 &6そしたら何かが見えてくるはずです"
- every tick:
- loop all players:
- if {uuid::%loop-player%.automaker} >= 1:
- if loop-player have 64 cobblestone:
- command "/clear %loop-player% cobblestone 0 64"
- command "/menu grab %loop-player% cb-1"
- if loop-player have 64 iron ore:
- command "/clear %loop-player% iron_ore 0 64"
- command "/menu grab %loop-player% i-1"
- if loop-player have 64 diamond ore:
- command "/clear %loop-player% diamond_ore 0 64"
- command "/menu grab %loop-player% d-1"
- if loop-player have 64 emerald ore:
- command "/clear %loop-player% emerald_ore 0 64"
- command "/menu grab %loop-player% e-1"
- if loop-player have 64 gold ore:
- command "/clear %loop-player% gold_ore 0 64"
- command "/menu grab %loop-player% gore-1"
- every 5 ticks:
- loop all players:
- if {uuid::%loop-player%.automaker} >= 2:
- if loop-player have 64 stone:
- command "/clear %loop-player% stone 6 64"
- command "/menu grab %loop-player% cb-2"
- if loop-player have 64 iron ingot:
- command "/clear %loop-player% iron_ingot 0 64"
- command "/menu grab %loop-player% i-2"
- if loop-player have 64 diamond:
- command "/clear %loop-player% diamond 0 64"
- command "/menu grab %loop-player% d-2"
- if loop-player have 64 emerald:
- command "/clear %loop-player% emerald 64"
- command "/menu grab %loop-player% e-2"
- if loop-player have 64 gold ingot:
- command "/clear %loop-player% gold_ingot 0 64"
- command "/menu grab %loop-player% gore-2"
- on mine:
- add 1 to {uuid::%player%.mc}
- command /automaker <number>:
- trigger:
- set {uuid::%player%.automaker} to arg
- on block damage:
- if event-block is cobblestone:
- command "/effect %player% clear"
- if event-block is iron ore:
- command "/effect %player% clear"
- command "/effect %player% minecraft:mining_fatigue 99999 1 true"
- if event-block is diamond ore:
- command "/effect %player% clear"
- command "/effect %player% minecraft:mining_fatigue 99999 2 true"
- if event-block is emerald ore:
- command "/effect %player% clear"
- command "/effect %player% minecraft:mining_fatigue 99999 3 true"
- if event-block is gold ore:
- command "/effect %player% clear"
- command "/effect %player% minecraft:mining_fatigue 99999 4 true"
- command /discord:
- trigger:
- message "&6SimpleMining &7&lⅡ &bの 公式 &9Discord &bです!"
- message "&bhttps://discord.gg/q86bpVU"
- command /stats:
- trigger:
- message "&7------------------------------"
- message "&6%player%"
- message "&e所持金 &f: &a%{uuid::%player%.money}%"
- message "&b採掘ポイント &f: &a%{uuid::%player%.mp}%"
- message "&eブースト &f: &ax%{uuid::%player%.boost}%"
- message "&6採掘回数 &f: &c%{uuid::%player%.mc}%"
- message "&7------------------------------"
- command /ascend:
- trigger:
- message "&6昇天します...."
- wait 3 seconds
- if {uuid::%player%.guessascendcoin} >= 100:
- add {uuid::%player%.guessascendcoin} to {uuid::%player%.ascendcoin}
- message "&eAscend &6(昇天) &fしました。"
- message "&6AscendCoin &f: &a%{uuid::%player%.ascendcoin}% &c+ %{uuid::%player%.guessascendcoin}%"
- message "&eBoost x %{uuid::%player%.ascendcoin}/100%"
- set {uuid::%player%.guessascendcoin} to 0
- else:
- message "&cごめんね...いまのあなたにはそれほどの力はないわ..."
- command /ifascend:
- trigger:
- message "&6もしあなたが今アセンドしたら..."
- message "&6AscendCoin &f: &c+ %{uuid::%player%.guessascendcoin}%"
- command /boosting <player> <number>:
- permission: skript.admin
- trigger:
- set {uuid::%arg-1%.boost} to {uuid::%arg-1%.boost} * arg-2
Advertisement
Add Comment
Please, Sign In to add comment