Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Stats 1.0 by Tapioca_MilkTea
- on first join:
- broadcast "&6%player%さんがきた"
- execute console command "/tp %player% 8 63 9"
- set {stats.%player%.xp} to 0
- set {stats.%player%.kill} to 0
- #rank
- set {s.%player%l1} to true
- set {s.%player%l2} to true
- set {s.%player%l3} to true
- set {s.%player%l4} to true
- set {s.%player%l5} to true
- set {s.%player%l6} to true
- set {s.%player%l7} to true
- set {s.%player%l8} to true
- set {s.%player%l9} to true
- set {s.%player%l10} to true
- set {s.%player%lbeta} to true
- on join:
- set tab header to "&6おっぱいは" and footer to "&6隠語じゃない" for player
- execute player command "/rs"
- execute console command "/gamemode 2 %player%"
- on death:
- if victim is a player:
- if attacker is a player:
- add 1 to {stats.%attacker%.kill}
- add 1 to {stats.%victim%.death}
- stop
- on death:
- if victim is a player:
- if attacker is a player:
- if player has permission "stats.MVP":
- add 1 to {stats.%attacker%.xp}
- message "&a+1xp" to attacker
- command /setxp <player> <number>:
- permission: skript.setxp
- trigger:
- set {stats.%arg 1%.xp} to arg 2
- broadcast "&e%player%&9さんが&b%arg 1%&9さんの所持xpを&a%arg 2%xp&9にしました。"
- command /setkill <player> <number>:
- permission: skript.setkill
- trigger:
- set {stats.%arg 1%.kill} to arg 2
- broadcast "&e%player%&9さんが&b%arg 1%&9さんのKillを&c%arg 2%&9Killにしました。"
- on rightclick holding book:
- name of held item contains "Main Menu"
- make player execute command "/menu"
- stop
- command /menu:
- trigger:
- wait 1 ticks
- open chest with 1 row named "Recipe" to player
- format slot 2 of player with head:3 named "&6ステータスを更新する" to close then run [execute player command "/rs"]
- format slot 4 of player with quartz named "&b職業を変更する" to close then run [execute player command "/job"]
- format slot 6 of player with apple named "&aルール" to close then run [execute player command "/rule"]
- command /reloadstats:
- aliases: /rs
- trigger:
- wipe player's sidebar
- set name of sidebar of player to "&5攻城戦"
- set score "&6sisoPixel" in sidebar of player to 13
- set score "" in sidebar of player to 12
- set score "Player" in sidebar of player to 11
- set score "&e%player%" in sidebar of player to 10
- set score "" in sidebar of player to 8
- set score "XP: &a%{stats.%player%.xp}%" in sidebar of player to 7
- set score "" in sidebar of player to 6
- set score "kills: &c%{stats.%player%.kill}%" in sidebar of player to 5
- set score "" in sidebar of player to 4
- command /reloadstatsn:
- aliases: /rsn
- trigger:
- if {game} is true:
- wipe player's sidebar
- set name of sidebar of player to "&5攻城戦"
- set score "&6sisoPixel" in sidebar of player to 13
- set score "" in sidebar of player to 12
- set score "Player" in sidebar of player to 11
- set score "&e%player%" in sidebar of player to 10
- set score "" in sidebar of player to 8
- set score "XP: &a%{stats.%player%.xp}%" in sidebar of player to 7
- set score "" in sidebar of player to 6
- set score "kills: &c%{stats.%player%.kill}%" in sidebar of player to 5
- set score "" in sidebar of player to 4
- set score "" in sidebar of player to 3
- set score "NexusHP: &d%{HP}%" in sidebar of player to 2
- set score "" in sidebar of player to 1
- set score "Time &9%{time}% &o&bMinutes" in sidebar of player to 0
- if {stats.%player%.xp} >= 1:
- if {s.%player%.l1} is true:
- broadcast "&e%player%がレベル1になりました!"
- set {s.%player%l1} to false
- else:
- if {stats.%player%.xp} >= 3:
- if {s.%player%.l2} is true:
- broadcast "&e%player%がレベル2になりました!"
- set {s.%player%.l2} to false
- else:
- if {stats.%player%.xp} >= 6:
- if {s.%player%.l3} is true:
- broadcast "&e%player%がレベル3になりました!"
- set {s.%player%.l3} to false
- else:
- if {stats.%player%.xp} >= 10:
- if {s.%player%.l4} is true:
- broadcast "&e%player%がレベル4になりました!"
- set {s.%player%.l4} to false
- else:
- if {stats.%player%.xp} >= 15:
- if {s.%player%.l5} is true:
- broadcast "&e%player%がレベル5になりました!"
- set {s.%player%.l5} to false
- else:
- if {stats.%player%.xp} >= 20:
- if {s.%player%.l6} is true:
- broadcast "&e%player%がレベル6になりました!"
- set {s.%player%.l6} to false
- else:
- if {stats.%player%.xp} >= 35:
- if {s.%player%.l7} is true:
- broadcast "&e%player%がレベル7になりました!"
- set {s.%player%.l7} to false
- else:
- if {stats.%player%.xp} >= 45:
- if {s.%player%.l8} is true:
- broadcast "&e%player%がレベル8になりました!"
- set {s.%player%.l8} to false
- else:
- if {stats.%player%.xp} >= 55:
- if {s.%player%.l9} is true:
- broadcast "&e%player%がレベル9になりました!"
- set {s.%player%.l9} to false
- else:
- if {stats.%player%.xp} >= 65:
- if {s.%player%.l10} is true:
- broadcast "&e%player%がレベル10になりました!"
- set {s.%player%.l10} to false
- else:
- if {stats.%player%.xp} >= 66:
- if {s.%player%.lbeta} is true:
- message "&6Thank you beta playing!!"
- on rightclick holding nether wart:
- name of held item contains "ヒール"
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if {_cooldown} is less than 15 seconds:
- message "&5%difference between 15 seconds and {_cooldown}% &6後に使用可能"
- stop
- add 3 to the player's health
- set {skill.%player%.lastused} to now
- on rightclick holding feather:
- name of held item contains "スピード"
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if {_cooldown} is less than 17 seconds:
- message "&5%difference between 17 seconds and {_cooldown}% &6後に使用可能"
- stop
- apply potion of Speed 2 to the player for 8 seconds
- set {skill.%player%.lastused} to now
- on rightclick holding brick:
- name of held item contains "レジスタンス"
- set {_cooldown} to difference between {skill.%player%.lastused} and now
- if {_cooldown} is less than 15 seconds:
- message "&5%difference between 15 seconds and {_cooldown}% &6後に使用可能"
- stop
- apply potion of Resistance 1 to the player for 6 seconds
- set {skill.%player%.lastused} to now
- command /go:
- permission: skript.setxp
- trigger:
- execute console command "/pvp disable" #PvP禁止
- execute console command "/setnexus" #ネクサス設定
- execute console command "/gamemode 2 @a"
- wait 5 tick
- execute console command "/rc"
- wait 5 tick
- execute console command "/ctp blue blue"
- execute console command "/ctp red red"
- broadcast "&6チームがセットされました"
- set {game} to true
- loop all players:
- execute loop-player command "/rsn"
- execute loop-player command "/rule"
- give wooden sword to loop-player
- give stone pickaxe to loop-player
- if loop-player has permission "sk.red":
- equip loop-player with leather helmet
- dye helmet of loop-player red
- equip loop-player with leather chestplate
- dye chestplate of loop-player red
- equip loop-player with leather leggings
- dye leggings of loop-player red
- equip loop-player with leather boots
- dye boots of loop-player red
- if loop-player has permission "sk.blue":
- equip loop-player with leather helmet
- dye helmet of loop-player blue
- equip loop-player with leather chestplate
- dye chestplate of loop-player blue
- equip loop-player with leather leggings
- dye leggings of loop-player blue
- equip loop-player with leather boots
- dye boots of loop-player blue
- broadcast "&610秒後にゲームを開始します"
- wait 10 seconds
- command /resetp:
- trigger:
- set {game} to false
- loop all players:
- execute console command "/pex user %loop-player% remove sk.red"
- execute console command "/pex user %loop-player% remove sk.blue"
- command /otamesi:
- trigger:
- loop all players:
- if loop-player has permission "sk.red":
- message "あなたはれっど" to loop-player
- if loop-player has permission "sk.blue":
- message "あなたはぶるー" to loop-player
- on break of iron ore:
- drop 1 iron ingot
- cancel event
- on break of gold ore:
- drop 1 gold ingot
- cancel event
- on item spawn of iron ore:
- cancel event
- on item spawn of gold ore:
- cancel event
- on item spawn of wooden sword:
- cancel event
- on item spawn of stone pickaxe:
- cancel event
- command /yehh:
- trigger:
- if player has 3 gold ingot:
- broadcast "aa"
- on break of end stone:
- if player has permission "sk.red":
- remove 1 from {HP}
- broadcast "ネクサスのHPは%{HP}%"
- cancel event
- if {HP} is 0:
- broadcast "&6GAME SET!!"
- set {game} to false
- loop all players:
- execute console command "/pex user %loop-player% remove sk.blue"
- execute console command "/pex user %loop-player% remove sk.red"
- execute console command "/clear @a"
- execute console command "/tp"
- command /setnexus:
- trigger:
- set {HP} to 5
- message "せっと"
- on respawn:
- force respawn player
- give stone pickaxe to player
- give wooden sword to player
- if player has permission "sk.blue":
- equip player with leather helmet
- dye helmet of player blue
- equip player with leather chestplate
- dye chestplate of player blue
- equip player with leather leggings
- dye leggings of player blue
- equip player with leather boots
- dye boots of player blue
- if player has permission "sk.red":
- equip player with leather helmet
- dye helmet of player red
- equip player with leather chestplate
- dye chestplate of player red
- equip player with leather leggings
- dye leggings of player red
- equip player with leather boots
- dye boots of player red
- command /tabchange [<text>] [<text>]:
- aliases: /tc
- permission: skript.admin
- trigger:
- loop all players:
- set tab header to "%colored arg-1%" and footer to "%colored arg-2%" for loop-player
- if arg 1 is not set:
- message "&a/tc (text) (text)"
- command /pvp [<text>]:
- permission: skript.admin
- trigger:
- if arg 1 is "off":
- disable PvP in all worlds
- message "&cPvP is disable"
- else:
- if arg 1 is "on":
- enable PvP in all worlds
- message "&aPvP is enable"
- command /shop:
- trigger:
- wait 1 ticks
- open chest with 1 row named "Shop" to player
- format slot 2 of player with wooden sword named "&bSword" to close then run [execute player command "/sword"]
- format slot 4 of player with wooden pickaxe named "&6pickaxe" to close then run [execute player command "/pickaxe"]
- format slot 6 of player with cake named "&aOther" to close then run [execute player command "/other"]
- command /sword [<text>]:
- trigger:
- if arg 1 is not set:
- wait 15 ticks
- open chest with 1 row named "Sword" to player
- format slot 0 of player with stone sword named "&7stone Sword" with lore "必要:5個の鉄" to close then run [execute player command "/sword stone"]
- format slot 1 of player with iron sword named "iron Sword" with lore "必要:25個の鉄" to close then run [execute player command "/sword iron"]
- format slot 2 of player with diamond sword named "&bdiamond Sword" with lore "必要:35個の金" to close then run [execute player command "/sword diamond"]
- format slot 3 of player with diamond sword of sharpness 1 named "&bdiamond Sword+" with lore "必要:5個のエメラルド" to close then run [execute player command "/sword emerald"]
- if arg 1 is "stone":
- if player has 5 iron ingot:
- give stone sword to player
- remove 5 of iron ingot from player
- stop
- if player do not have 5 iron ingot:
- message "鉄が足りません"
- if arg 1 is "iron":
- if player has 25 iron ingot:
- give iron sword to player
- remove 25 of iron ingot from player
- stop
- if player do not have 25 iron ingot:
- message "鉄が足りません"
- if arg 1 is "diamond":
- if player has 35 gold ingot:
- give diamond sword to player
- remove 35 of gold ingot from player
- stop
- if player do not have 35 gold ingot:
- message "金が足りません"
- if arg 1 is "emerald":
- if player has 5 emerald:
- give diamond sword of sharpness 1 to player
- remove 5 of emerald from player
- stop
- if player do not have 5 emerald:
- message "エメラルドが足りません"
- command /pickaxe [<text>]:
- trigger:
- if arg 1 is not set:
- wait 15 ticks
- open chest with 1 row named "Pickaxe" to player
- format slot 0 of player with stone pickaxe named "&7stone Pickaxe" with lore "必要:5個の鉄" to close then run [execute player command "/pickaxe stone"]
- format slot 1 of player with iron Pickaxe named "iron Pickaxe" with lore "必要:20個の金" to close then run [execute player command "/pickaxe iron"]
- format slot 2 of player with diamond Pickaxe named "&bdiamond Pickaxe" with lore "必要:2個のエメラルド" to close then run [execute player command "/pickaxe diamond"]
- format slot 3 of player with diamond Pickaxe of Efficiency 1 named "&bdiamond Pickaxe+" with lore "必要:5個のエメラルド" to close then run [execute player command "/pickaxe emerald"]
- if arg 1 is "stone":
- if player has 5 iron ingot:
- give stone pickaxe to player
- remove 5 of iron ingot from player
- stop
- if player do not have 5 iron ingot:
- message "鉄が足りません"
- if arg 1 is "iron":
- if player has 20 gold ingot:
- give iron pickaxe to player
- remove 20 of gold ingot from player
- stop
- if player do not have 20 gold ingot:
- message "金が足りません"
- if arg 1 is "diamond":
- if player has 2 emerald:
- give diamond pickaxe to player
- remove 2 of emerald from player
- stop
- if player do not have 2 emerald:
- message "エメラルドが足りません"
- if arg 1 is "emerald":
- if player has 5 emerald:
- give diamond pickaxe of Efficiency 1 to player
- remove 5 of emerald from player
- stop
- if player do not have 5 emerald:
- message "エメラルドが足りません"
- command /other [<text>]:
- trigger:
- if arg 1 is not set:
- wait 15 ticks
- open chest with 4 row named "def" to player
- format slot 0 of player with Chainmail Helmet named "&7Chainmail Helmet" with lore "必要:5個の鉄" to close then run [execute player command "/other ch"]
- format slot 9 of player with Chainmail chestplate named "&7Chainmail chestplate" with lore "必要:15個の鉄" to close then run [execute player command "/other cc"]
- format slot 18 of player with Chainmail leggings named "&7Chainmail leggings" with lore "必要:10個の鉄" to close then run [execute player command "/other cl"]
- format slot 27 of player with Chainmail boots named "&7Chainmeil boots" with lore "必要:5個の鉄" to close then run [execute player command "/other cb"]
- format slot 1 of player with iron Helmet named "&7iron Helmet" with lore "必要:10個の金" to close then run [execute player command "/other ih"]
- format slot 10 of player with iron chestplate named "&7iron chestplate" with lore "必要:25個の金" to close then run [execute player command "/other ic"]
- format slot 19 of player with iron leggings named "&7iron leggings" with lore "必要:15個の金" to close then run [execute player command "/other il"]
- format slot 28 of player with iron boots named "&7iron boots" with lore "必要:10個の金" to close then run [execute player command "/other ib"]
- format slot 2 of player with diamond helmet named "&7diamond helmet" with lore "必要:2個のエメラルド" to close then run [execute player command "/other dh"]
- format slot 11 of player with diamond chestplate named "&7diamond chestplate" with lore "必要:4個のエメラルド" to close then run [execute player command "/other dc"]
- format slot 20 of player with diamond leggings named "&7diamond leggings" with lore "必要:3個のエメラルド" to close then run [execute player command "/other dl"]
- format slot 29 of player with diamond boots named "&7diamond boots" with lore "必要:2個のエメラルド" to close then run [execute player command "/other db"]
- if arg 1 is "ch":
- if player has 5 iron ingot:
- give chainmail helmet to player
- remove 5 of iron ingot from player
- stop
- if player do not have 5 iron ingot:
- message "鉄が足りません"
- if arg 1 is "cc":
- if player has 15 iron ingot:
- give chainmail chestplate to player
- remove 15 of iron ingot from player
- stop
- if player do not have 15 iron ingot:
- message "鉄が足りません"
- if arg 1 is "cl":
- if player has 10 iron ingot:
- give chainmail leggings to player
- remove 10 of iron ingot from player
- if player do not have 10 iron ingot:
- message "鉄が足りません"
- if arg 1 is "cb":
- if player has 5 iron ingot:
- give chainmail boots to player
- remove 5 of iron ingot from player
- if player do not have 5 iron ingot:
- message "鉄が足りません"
- if arg 1 is "ih":
- if player has 10 gold ingot:
- give iron helmet to player
- remove 10 of gold ingot from player
- if player do not have 10 gold ingot:
- message "金が足りません"
- if arg 1 is "ic":
- if player has 25 gold ingot:
- give iron chestplate to player
- remove 25 of gold ingot from player
- if player do not have 25 gold ingot:
- message "金が足りません"
- if arg 1 is "il":
- if player has 15 gold ingot:
- give iron leggings to player
- remove 15 of gold ingot from player
- if player do not have 15 gold ingot:
- message "金が足りません"
- if arg 1 is "ib":
- if player has 10 gold ingot:
- give iron boots to player
- remove 10 of gold ingot from player
- if player do not have 10 gold ingot:
- message "金が足りません"
- if arg 1 is "dh":
- if player has 2 emerald:
- give diamond helmet to player
- remove 2 of emerald from player
- if player do not have 2 emerald:
- message "エメラルドが足りません"
- if arg 1 is "dc":
- if player has 4 emerald:
- give diamond chestplate to player
- remove 4 of emerald from player
- if player do not have 4 emerald:
- message "エメラルドが足りません"
- if arg 1 is "fl":
- if player has 3 emerald:
- give diamond leggings to player
- remove 3 of emerald from player
- if player do not have 3 emerald:
- message "エメラルドが足りません"
- if arg 1 is "db":
- if player has 2 emerald:
- give diamond boots to player
- remove 2 of emerald from player
- if player do not have 2 emerald:
- message "エメラルドが足りません"
- command /job [<text>]:
- trigger:
- if arg 1 is not set:
- message "&cError"
- if arg 1 is "enchanter":
- set {enc.%player%} to true
- if arg 1 is "miner":
- set {miner.%player%} to true
- if arg 1 is "imm":
- set {imm.%player%} to true
- if arg 1 is "Assassin":
- set {assassin.%player%} to true
- command /speed [<player>] [<text>] [<number>]:
- Executable by: players
- Permission: skript.fly.speed
- permission message: &cYou don't have permission.
- trigger:
- if arg 1 is not set:
- execute player command "/playsound minecraft:entity.cat.ambient player %player% ~ ~ ~ 100 0"
- send "&8&m----------------------------"
- send "&a&oPlease use &8(&aplayer) &7fly&8/&7walk &8(&enumber&8)"
- send "&7Available speed for fly and walk&8:"
- send "&e1/2 and 3 4 5"
- send "&8&m----------------------------"
- else:
- if arg 2 is "walk":
- if arg 3 is set:
- execute player command "/playsound minecraft:ui.button.click player %player% ~ ~ ~ 100 1"
- if arg 3 is not set:
- send "&a&oPlease use&8: &7/speed walk (number)"
- if arg 3 is 1:
- set the player's walk speed to 0.2
- message "&7Walking set back to normal."
- if arg 3 is 2:
- set the player's walk speed to 2
- message "&7Walking speed set to 2."
- if arg 3 is 3:
- set the player's walk speed to 3
- message "&7Walking speed set to 3."
- if arg 3 is 4:
- set the player's walk speed to 4
- message "&7Walking speed set to 4."
- if arg 3 is 5:
- set the player's walk speed to 5
- message "&7Walking speed set to 5."
- if arg 2 is "fly":
- if arg 3 is not set:
- send "&a&oPlease use&8: &7/speed fly (number)"
- if arg 3 is 1:
- set the player's fly speed to 0.1
- message "&7Fly speed set back to normal."
- if arg 3 is 2:
- set the player's fly speed to 2
- message "&7Fly speed set to 2"
- if arg 3 is 3:
- set the player's fly speed to 3
- message "&7Fly speed set to 3"
- if arg 3 is 4:
- set the player's fly speed to 4
- message "&7Fly speed set to 4"
- if arg 3 is 5:
- set the player's fly speed to 5
- message "&7Fly speed set to 5"
- command /rule:
- trigger:
- message "&aルール"
- message "&5========================================================="
- message "&6このゲームは守る側と攻める側で戦います"
- message "&6攻める側は守る側のエンドストーンを五回壊せば勝ちです"
- message "&6守る側は10分守れば勝ちです"
- message "&6準備時間が2分与えられます、その間にはPvPはできません、エンドストーンも壊せません"
- command /reset:
- trigger:
- loop all players:
- execute console command "/pex user %loop-player% remove sk.red"
- execute console command "/pex user %loop-player% remove sk.blue"
- execute console command "/clear @a"
- execute console command "/ct removeall"
- broadcast "&6Reset"
- command /yes:
- trigger:
- broadcast "aa"
- #equip player with leather chestplate
- equip player with leather chestplate
- dye chestplate of player red
Add Comment
Please, Sign In to add comment