Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.horse":
- format slot 15 of player with red stained glass pane of unbreaking 1 named "&7[&a&lHorse&e]" with lore "&7[&c&lこのキットは購入することで使用可能になります&7]" to be unstealable
- if player has permission "kitselect.*" or "ks.horse":
- format slot 15 of player with diamond horse armor named "&7[&a&lHorse&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 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
- 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 5 of player to diamond pickaxe of efficiency 3 and unbreaking 3
- 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
- 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 5 of player to diamond pickaxe of efficiency 3 and unbreaking 3
- 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
- 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 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
- message "[&6Kit&r] あなたはパイロを選択しました!"
- if arg-1 is "horse":
- 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 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 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
- message "[&6Kit&r] あなたはホースを選択しました!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement