Give a kit when entering a region? - Minecraft
I would like to give players a kit when they enter an area if they are a certain rank.
For Example:
rank1 gets kit1
rank2 gets kit2
etc.
Is this possible? If so, what plugin would I need?
Best Answer
I think there aren't any plugins to do so, I'd recommend you to play with WorldGuard-based permissions on the /kit commands.
Cf. Regions flag: allowed-cmds
Pictures about "Give a kit when entering a region? - Minecraft"



How do you use region commands in Minecraft?
To create a region and set flags with WorldGuard you will need to get a WorldEdit wand. You can do this by running the //wand command in your game. This will give you a wooden axe, which WorldEdit uses to make selections. After you have the wand, use it to select the opposite corners of the region you want to create.How do I deny entry on WorldGuard?
Kits is a simple yet deceptively powerful plugin allowing you to create, edit and spawn custom kits in-game. When creating and editing a kit, you are provided an inventory in which you will be able to place any item into; changes are made when this inventory is closed.Minecraft: WorldGuard Tutorial - Protect Regions, Disable PvP, and More!
More answers regarding give a kit when entering a region? - Minecraft
Answer 2
You can use the WorldGuardExtraFlags plugin to expand the flags you are able to set in WorldGuard regions.
Aside of the normal command-on-entry flag you can then also set console-command-on-entry to execute commands as console when a player enters that region, instead of only commands the player has access to.
I use that to do a few things when people enter the PvP arena, such as disabling all their cosmetics, giving them some temporary effects and setting a PvP rank. It can also set keep inventory and keep exp within a region, prevent elytra flight and prevent items losing durability.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Marko Klaric, Anna Shvets, Monstera, Nikolaos Dimou
