When the player is in a specified region, they can use a specified command to start capturing the region. The player has 300 seconds to capture the region. If the player gets hit while capturing, it will cancel the capturing. While capturing, the player cannot move. If a region gets captured, it will say to everyone in chat, that the region is captured. After the region is captured, the same one cannot be captured again until the next server restart.
This plugin runs on my survival server, and I use it for events.
Commands:
/setregion < A | B | C > - Sets the specified region. You need to use the sticks and an emerald to set the region borders. There will be a particle showing the selected region.