Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #EVENT
- on join:
- set gamemode of player to adventure
- teleport player to world's spawn point
- stop
- on join:
- set the join message to "&f[&a&lログイン&f] %player%"
- on quit:
- set the quit message to "&f[&c&lログアウト&f] %player%"
- on death:
- victim is a player
- attacker is a player
- broadcast "&7%victim%&eさんが&7%attacker%&eさんに倒されました"
- stop
- #KITS
- command /kit [<text>]:
- trigger:
- if arg-1 is not set:
- open chest with 3 row named "&7[&6キット&7]" to player
- format slot 3 of player with diamond sword named "&7[&f&lKnight&7]" to close then run [execute player command "/kitselect knight"]
- format slot 4 of player with diamond chestplate named "&7[&b&lタンク&7]" to close then run [execute player command "/kitselect tank"]
- format slot 5 of player with bow named "&7[&6&lアーチャー&7]" to close then run [execute player command "/kitselect archer"]
- if arg-1 is "knight":
- loop all players:
- clear player's inventory
- set slot 0 of player to diamond sword of unbreaking 3
- set slot 1 of player to 2 golden apple
- set slot 2 of player to 64 steak
- equip player with iron helmet of unbreaking 3
- equip player with iron chestplate of unbreaking 3
- equip player with iron leggings of unbreaking 3
- equip player with diamond boots of unbreaking 3
- stop
- if arg-1 is "tank":
- loop all players:
- clear player's inventory
- set slot 0 of player to iron sword of unbreaking 3
- set slot 1 of player to 2 golden apple
- set slot 2 of player to 64 steak
- equip player with diamond helmet of unbreaking 3
- equip player with iron chestplate of unbreaking 3
- equip player with iron leggings of unbreaking 3
- equip player with diamond boots of unbreaking 3
- stop
- if arg-1 is "archer":
- loop all players:
- clear player's inventory
- set slot 0 of player to stone sword of unbreaking 3
- set slot 1 of player to bow of power 1 and unbreaking 3
- set slot 2 of player to 64 arrows
- set slot 3 of player to 2 golden apple
- set slot 4 of player to 64 steak
- equip player with leather helmet of unbreaking 3
- equip player with chainmail chestplate of unbreaking 3
- equip player with chainmail leggings of unbreaking 3
- equip player with leather boots of unbreaking 3
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement