Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &6&lKitPvP &r»
- #-#
- no-permission: &cこのコマンドを実行する権限がありません
- #-#
- title: &6&lKitPvP
- #-#
- subtitle: &fようこそ! &6KitPvP&fサーバーへ!
- #-#
- kill-hands-attacker: &c%victim%を&a%attacker%がキルしました
- #-#
- kill-attacker: &6%victim%&aをキルしました
- #-#
- deaths-hands-victim: &6%attacker%&cにキルされました
- #-#
- on join:
- send player title "{@title}" with subtitle "{@subtitle}" for 5 seconds
- on first join:
- send player title "{@title}" with subtitle "{@subtitle}" for 5 seconds
- command /kitpvp [<text>] [<text>]:
- aliases: /kp
- trigger:
- if arg 1 is not set:
- if player has permission "kitpvp.admin":
- send "&3&l--------------------------------------------------"
- send "&7"
- send "&7/kitpvp setspawn &f: &fスポーン地点にテレポートします"
- send "&7/kitpvp spawn &f: &fスポーン地点を設定します"
- send "&7"
- send "&3&l--------------------------------------------------"
- else:
- send "{@no-permission}"
- if arg 1 is "setspawn":
- if player has permission "kitpvp.ss":
- set {spawn} to player's location
- send "{@prefix} &fKitPvPのスポーン地点を設定しました."
- stop
- else:
- send "{@no-permission}"
- if arg 1 is "spawn":
- teleport player to {spawn}
- set gamemode of player to survival
- stop
- on join:
- if {kitpvpkills.%player%} is not set:
- set {kitpvpkills.%player%} to 0
- if {kitpvpdeaths.%player%} is not set:
- set {kitpvpdeaths.%player%} to 0
- clear player's inventory
- stop
- on death:
- clear drops
- victim is a player
- attacker is a player
- add 1 to {kitpvpkills.%attacker%}
- add 1 to {kitpvpdeaths.%victim%}
- add 1 to {currentkillstreak.%attacker%}
- send "{@prefix} {@kill-hands-attacker}" to attacker
- send "{@prefix} {@kill-attacker}" to attacker
- send "{@prefix} " to victim
- clear player's inventory
- stop
- on first join:
- set {kitpvpkills.%player%} to 0
- set {kitpvpdeaths.%player%} to 0
- set {currentkillstreak.%player%} to 0
- set {bestkillstreak.%player%} to 0
- on respawn:
- clear player's inventory
- stop
- on place:
- if {admin.romper.%player%} is false:
- else:
- wait 5 seconds
- delete the block
- on weather change:
- cancel event
- every second:
- loop all players:
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&6&lKitPvP"
- set score "&a" in sidebar of loop-player to 6
- set score "&fName: &a%loop-player% " in sidebar of loop-player to 5
- set score "&2" in sidebar of loop-player to 4
- set score "&fKills: &a%{kitpvpkills.%loop-player%}%" in sidebar of loop-player to 3
- set score "&fDeaths: &c%{kitpvpdeaths.%loop-player%}%" in sidebar of loop-player to 2
- set score "&2" in sidebar of loop-player to 1
- set score "&ehttps://discord.gg/3BwySeY" in sidebar of loop-player to 0
- command /kitselect [<text>]:
- aliases: /ks
- trigger:
- if arg-1 is not set:
- wait 2 ticks
- open chest with 3 row named "&7[&aキットを選択&7]" to player
- wait 2 ticks
- format slot 0 of player with white stained glass pane named "&l" to close
- format slot 1 of player with white stained glass pane named "&l" to close
- format slot 2 of player with white stained glass pane named "&l" to close
- format slot 3 of player with white stained glass pane named "&l" to close
- format slot 4 of player with white stained glass pane named "&l" to close
- format slot 5 of player with white stained glass pane named "&l" to close
- format slot 6 of player with white stained glass pane named "&l" to close
- format slot 7 of player with white stained glass pane named "&l" to close
- format slot 8 of player with white stained glass pane named "&l" to close
- format slot 9 of player with white stained glass pane named "&l" to close
- format slot 10 of player with white stained glass pane named "&l" to close
- format slot 16 of player with white stained glass pane named "&l" to close
- format slot 17 of player with white stained glass pane named "&l" to close
- format slot 18 of player with white stained glass pane named "&l" to close
- format slot 19 of player with white stained glass pane named "&l" to close
- format slot 20 of player with white stained glass pane named "&l" to close
- format slot 21 of player with white stained glass pane named "&l" to close
- format slot 22 of player with white stained glass pane named "&l" to close
- format slot 23 of player with white stained glass pane named "&l" to close
- format slot 24 of player with white stained glass pane named "&l" to close
- format slot 25 of player with white stained glass pane named "&l" to close
- format slot 26 of player with white stained glass pane named "&l" to close
- format slot 11 of player with diamond sword named "&7[&f&lKnight&7]" with lore "&7[&a&lこのキットは使用可能です&7]" to close then run [execute player command "/kitselect knight"]
- format slot 12 of player with diamond chestplate named "&7[&b&lTank&7]" with lore "&7[&a&lこのキットは使用可能です&7]" to close then run [execute player command "/kitselect tank"]
- format slot 13 of player with bow named "&7[&6&lArcher&7]" with lore "&7[&a&lこのキットは使用可能です&7]" to close then run [execute player command "/kitselect archer"]
- if player doesn't have permission "kitselect.*" or "ks.pyro":
- format slot 14 of player with red stained glass pane of unbreaking 1 named "&7[&c&lPyro&e]" with lore "&7[&c&lこのキットは購入することで使用可能になります&7]" to be unstealable
- if player has permission "kitselect.*" or "ks.pyro":
- format slot 14 of player with flint and steel named "&7[&c&lPyro&7]" with lore "&7[&a&lこのキットは購入済みです&7]" to close then run [execute player command "/kitselect pyro"]
- if player doesn't have permission "kitselect.*" or "ks.test":
- format slot 15 of player with red stained glass pane of unbreaking 1 named "&7[&7&lTest&7]" with lore "&7[&c&lこのキットは購入することで使用可能になります&7]" to be unstealable
- if player has permission "kitselect.*" or "ks.test":
- format slot 15 of player with barrier named "&7[&7&lTest&7]" with lore "&7[&a&lこのキットは購入済みです&7]" to close then run [execute player command "/kitselect horse"]
- if arg-1 is "knight":
- loop all players:
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to diamond sword of sharpness 3 and unbreaking 3
- set slot 1 of player to bow of power 1 and unbreaking 3
- set slot 2 of player to 4 golden apple
- set slot 3 of player to 64 arrows
- set slot 4 of player to diamond pickaxe of efficiency 3 and unbreaking 3
- set slot 5 of player to 64 steak
- set slot 6 of player to lava bucket
- set slot 7 of player to water bucket
- set slot 8 of player to 64 cobblestone
- set slot 33 of player to lava bucket
- set slot 34 of player to water bucket
- set slot 35 of player to 64 cobblestone
- equip player with all diamond armour of protection 1 and projectile protection 3 and unbreaking 3
- apply night vision 1 to player for 999999 seconds
- teleport player to {spawn}
- message "[&6Kit&r] あなたはナイトを選択しました!"
- if arg-1 is "tank":
- loop all players:
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to diamond sword of sharpness 2 and unbreaking 3
- set slot 1 of player to bow of power 2 and unbreaking 3
- set slot 2 of player to 4 golden apple
- set slot 3 of player to 64 arrows
- set slot 4 of player to diamond pickaxe of efficiency 3 and unbreaking 3
- set slot 5 of player to 64 steak
- set slot 6 of player to lava bucket
- set slot 7 of player to water bucket
- set slot 8 of player to 64 cobblestone
- set slot 33 of player to lava bucket
- set slot 34 of player to water bucket
- set slot 35 of player to 64 cobblestone
- equip player with all diamond armour of protection 2 and projectile protection 2 and unbreaking 3
- apply night vision 1 to player for 999999 seconds
- teleport player to {spawn}
- message "[&6Kit&r] あなたはタンクを選択しました!"
- if arg-1 is "archer":
- loop all players:
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to diamond sword of sharpness 1 and unbreaking 3
- set slot 1 of player to bow of power 3 and unbreaking 3
- set slot 2 of player to 4 golden apple
- set slot 3 of player to 64 arrows
- set slot 4 of player to diamond pickaxe of efficiency 3 and unbreaking 3
- set slot 5 of player to 64 steak
- set slot 6 of player to lava bucket
- set slot 7 of player to water bucket
- set slot 8 of player to 64 cobblestone
- set slot 33 of player to lava bucket
- set slot 34 of player to water bucket
- set slot 35 of player to 64 cobblestone
- equip player with all diamond armour of protection 3 and projectile protection 1 and unbreaking 3
- apply night vision 1 to player for 999999 seconds
- teleport player to {spawn}
- message "[&6Kit&r]あなたはアーチャーを選択しました!"
- if arg-1 is "pyro":
- loop all players:
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to diamond sword of sharpness 2 and fire aspect 2 and unbreaking 3
- set slot 1 of player to bow of power 1 and unbreaking 3
- set slot 2 of player to 4 golden apple
- set slot 3 of player to 64 arrows
- set slot 4 of player to diamond pickaxe of efficiency 3 and unbreaking 3
- set slot 5 of player to 64 steak
- set slot 6 of player to lava bucket
- set slot 7 of player to water bucket
- set slot 8 of player to 64 cobblestone
- set slot 33 of player to lava bucket
- set slot 34 of player to water bucket
- set slot 35 of player to 64 cobblestone
- equip player with all diamond armour of protection 2 and projectile protection 1 and unbreaking 3
- apply night vision 1 to player for 999999 seconds
- teleport player to {spawn}
- message "[&6Kit&r] あなたはパイロを選択しました!"
- if arg-1 is "test":
- loop all players:
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to diamond sword of sharpness 2 and knockback 2 and unbreaking 3
- set slot 1 of player to bow of power 1 and punch 2 and unbreaking 3
- set slot 2 of player to 4 golden apple
- set slot 3 of player to 64 arrows
- set slot 4 of player to diamond pickaxe of efficiency 3 and unbreaking 3
- set slot 5 of player to 64 steak
- set slot 6 of player to lava bucket
- set slot 7 of player to water bucket
- set slot 8 of player to 64 cobblestone
- set slot 33 of player to lava bucket
- set slot 34 of player to water bucket
- set slot 35 of player to 64 cobblestone
- equip player with all diamond armour of protection 1 and projectile protection 2 and unbreaking 3
- apply night vision 1 to player for 999999 seconds
- teleport player to {spawn}
- message "[&6Kit&r] あなたはテストを選択しました!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement