Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- prefix: &6&lKitPvP &r
- #-#
- no-permission: &fUnknown command. Type "/help" for help.
- #-#
- title: &e&l✪&6&lKitPvP&e&l✪
- #-#
- subtitle: &f&lようこそ!&6&lKitPvP&f&lサーバーへ!
- #-#
- #EVENT
- on join:
- clear player's inventory
- make console execute command "/effect %player% clear"
- set gamemode of player to adventure
- apply night vision to player for 9999 days
- send player title "{@title}" with subtitle "{@subtitle}" for 5 seconds
- stop
- on join:
- set slot 0 of player to book named "&c&lステータス"
- set slot 4 of player to nether star named "&6&lキットを選ぶ"
- set slot 8 of player to emerald named "&a&lショップ"
- stop
- on join:
- set the join message to "&f[&a+&f]&7%player%"
- on first join:
- send player title "{@title}" with subtitle "{@subtitle}" for 5 seconds
- on quit:
- set the quit message to "&f[&c-&f] &7%player%"
- on death:
- victim is a player
- attacker is a player
- clear player's inventory
- make console execute command "/effect %player% clear"
- broadcast "&7%victim%&eさんが&7%attacker%&eさんに倒されました"
- set gamemode of player to adventure
- stop
- on respawn:
- make console execute command "/effect %player% clear"
- clear player's inventory
- set gamemode of player to adventure
- apply night vision to player for 9999 days
- stop
- on respawn:
- set slot 0 of player to book named "&c&lステータス"
- set slot 4 of player to nether star named "&6&lキットを選ぶ"
- set slot 8 of player to emerald named "&a&lショップ"
- stop
- #KITPVP COMMAND
- 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 adventure
- stop
- #KITS COMMAND
- 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 9 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 10 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 11 of player with bow named "&7[&6&lArcher&7]" with lore "&7[&a&lこのキットは使用可能です&7]" to close then run [execute player command "/kitselect archer"]
- format slot 12 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.assassin":
- format slot 15 of player with red stained glass pane of unbreaking 1 named "&7[&e&lAssasin&e]" with lore "&7[&c&lこのキットは購入することで使用可能になります&7]" to be unstealable
- if player has permission "kitselect.*" or "ks.assassin":
- format slot 15 of player with feather named "&7[&e&lAssassin&7]" with lore "&7[&a&lこのキットは購入済みです&7]" to close then run [execute player command "/kitselect assassin"]
- 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 1 and unbreaking 10 with lore "&6SoulBound"
- set slot 1 of player to 2 golden apple
- set slot 2 of player to 64 steak with lore "&6SoulBound"
- set slot 9 of player to 64 arrows with lore "&6SoulBound"
- equip player with iron helmet of protection 2 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
- equip player with iron chestplate of protection 2 and unbreaking 10 with lore "&6SoulBound"
- equip player with iron leggings of protection 2 and unbreaking 10 with lore "&6SoulBound"
- equip player with iron boots of protection 2 and unbreaking 10 with lore "&6SoulBound"
- message "[&6KitPvP&r] あなたはナイトを選択しました!"
- teleport player to {spawn}
- stop
- 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 stone sword of sharpness 1 and unbreaking 10 with lore "&6SoulBound"
- set slot 1 of player to 2 golden apple
- set slot 2 of player to 64 steak with lore "&6SoulBound"
- set slot 9 of player to 64 arrows with lore "&6SoulBound"
- equip player with iron helmet of protection 1 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
- equip player with diamond chestplate of protection 1 and unbreaking 10 with lore "&6SoulBound" with lore "&6SoulBound"
- equip player with diamond leggings of protection 1 and unbreaking 10 with lore "&6SoulBound"
- equip player with iron boots of protection 1 and unbreaking 10 with lore "&6SoulBound"
- message "[&6KitPvP&r] あなたはタンクを選択しました!"
- teleport player to {spawn}
- stop
- 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 iron sword of sharpness 1 and unbreaking 10 with lore "&6SoulBound"
- set slot 1 of player to bow of power 1 and unbreaking 10 with lore "&6SoulBound"
- set slot 2 of player to 2 golden apple
- set slot 3 of player to 64 steak with lore "&6SoulBound"
- set slot 9 of player to 64 arrows with lore "&6SoulBound"
- equip player with chainmail helmet of protection 1 and unbreaking 10 with lore "&6SoulBound"
- equip player with chainmail chestplate of protection 1 and unbreaking 10 with lore "&6SoulBound"
- equip player with chainmail leggings of protection 1 and unbreaking 10 with lore "&6SoulBound"
- equip player with chainmail boots of protection 1 and unbreaking 10 with lore "&6SoulBound"
- message "[&6KitPvP&r]あなたはアーチャーを選択しました!"
- teleport player to {spawn}
- stop
- 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 iron sword of sharpness 2 and unbreaking 10 with lore "&6SoulBound"
- set slot 1 of player to blaze rod of fire aspect 1 with lore "&6SoulBound"
- set slot 2 of player to 2 golden apple
- set slot 3 of player to 64 steak with lore "&6SoulBound"
- set slot 9 of player to 64 arrows with lore "&6SoulBound"
- equip player with iron helmet of protection 1 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
- equip player with gold chestplate of protection 2 and unbreaking 10 with lore "&6SoulBound"
- equip player with gold leggings of protection 2 and unbreaking 10 with lore "&6SoulBound"
- equip player with iron boots of protection 1 and unbreaking 10 with lore "&6SoulBound"
- message "[&6KitPvP&r] あなたはパイロを選択しました!"
- teleport player to {spawn}
- stop
- if arg-1 is "assassin":
- loop all players:
- make console execute command "/effect %player% clear"
- clear player's inventory
- set slot 0 of player to gold sword of sharpness 2 and unbreaking 10 with lore "&6SoulBound"
- set slot 1 of player to 2 feather named "&b&lリープ" with lore "&6SoulBound"
- set slot 2 of player to 2 golden apple
- set slot 3 of player to 64 steak with lore "&6SoulBound"
- set slot 9 of player to 64 arrows with lore "&6SoulBound"
- equip player with gold helmet of protection 1 and projectile protection 2 and unbreaking 10 with lore "&6SoulBound"
- equip player with iron chestplate of protection 2 and unbreaking 10 with lore "&6SoulBound"
- equip player with iron leggings of protection 2 and unbreaking 10 with lore "&6SoulBound"
- equip player with gold boots of protection 1 and feather falling 5 and unbreaking 10 with lore "&6SoulBound"
- message "[&6KitPvP&r] あなたはアサシンを選択しました!"
- teleport player to {spawn}
- stop
- on rightclick holding feather:
- name of held item contains "&b&lリープ"
- remove speed from the player
- remove strength from the player
- push the player forwards at speed 2
- apply speed 2 to player for 5 seconds
- apply strength 2 to player for 2 seconds
- remove 1 feather from player's inventory
- stop
- on rightclick holding book:
- name of held item contains "&c&lステータス"
- make player execute command "/stats"
- on rightclick holding nether star:
- name of held item contains "&6&lキットを選ぶ"
- make player execute command "/kitselect"
- on rightclick holding emerald:
- name of held item contains "&a&lショップ"
- make player execute command "/store"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement