Guild Battle
I. Season Guild War
Set the participation time and rewards in activity.yml. By default, it starts at 19:00 on Saturday. A reminder before the start can be set in remindTime. Guilds register by clicking in the activity GUI. Registration is not limited to specific days, and clicking again cancels it. When the time arrives, registered guilds join the Season Guild War, where all guilds fight together. Rewards are granted by ranking. A season arena must be configured in advance. If fewer than 2 guilds actually take part, this round of Season Guild War is cancelled.
Season Guild War Arena Setup Tutorial
As an OP, find an arena area (build the arena yourself), then choose multiple positions. (Since 1.7.2+, the arena name no longer has to be fixed. Multiple arenas can be created and one is picked at random for each war. See the changelog for details.)
- /plg setLocation season &aSeason Guild War Arena 1 -> Set spawn point 1
- /plg setLocation season &aSeason Guild War Arena 2 -> Set spawn point 2
- /plg setLocation season &aSeason Guild War Arena 3 -> Set spawn point 3
- Continue setting points as needed, such as 1, 2, 3, 4, 5+
- /plg setLocation season &aSeason Guild War Arena spectator -> Set the death spectator point (the point name must match
season.lookLocationinactivity.yml,观看点by default)
II. Matching Guild War
Set the open time, rewards and daily attempts in activity.yml. By default, it is open from 12:00 to 13:00 on Monday to Friday and Sunday, with 10 attempts per day. With unlimited enabled, guilds can keep matching after using up the attempts but receive no rewards. With failNotCount enabled, lost matches do not count as attempts. Guilds can click Match during the open time. When 2 or more guilds participate, they can be matched and start a two-side battle. Note: matching fails when no arena is available (all arenas are occupied by other guilds, including those in the preparation phase, or the arena has no spawn point set).
Matching Guild War Arena Setup Tutorial
As an OP, find an arena area (build the arena yourself), then choose two or three positions.
Enter them in order. The first two coordinates will be used as the PvP spawn points for both sides.
The last coordinate will be used as the spectator point. It can also be left unset, meaning there will be no spectator point.
- /plg setLocation mate &aExample Arena 1 -> Set blue team spawn point
- /plg setLocation mate &aExample Arena 2 -> Set red team spawn point
- /plg setLocation mate &aExample Arena 3 -> Set the death spectator point
III. Points Guild War (2.13.0+)
Fight continuously during the specified time. In addition to battle rewards, extra guild points rewards are also available! Points Guild War reuses the Matching Guild War arenas, so no separate setup is needed (registration is not allowed when no match arena is set).
IV. Stronghold Guild War (2.14.0+)
Capture strongholds to gain stronghold points. The side with higher points wins. Players can respawn unlimited times after being defeated in the same match!
Stronghold Guild War Arena Setup Tutorial
As an OP, find an arena area (build the arena yourself), then set several positions. The total number of spawn points and strongholds must be greater than the number of guilds per match (strongholdPvp.matchGuildSize in activity.yml, 2 by default).
- /plg setLocation stronghold &aExample Arena 1 -> Set spawn point 1 (for a participating guild)
- /plg setLocation stronghold &aExample Arena 2 -> Set spawn point 2 (for a participating guild)
- /plg setLocation stronghold &aExample Stronghold A -> Set stronghold A
- The first
matchGuildSizepoints are the spawn points of the participating guilds in order. All points after them are strongholds.
Stronghold Guild War has no spectator point. After dying, players respawn at their guild's spawn point after a countdown (starting from respawnBaseSecond, doubling after each death, up to respawnMaxSecond seconds).
Guild War Notes
- Players will be teleported to the match arena when the match starts
- If a player is eliminated and a spectator point exists, the player will respawn at the spectator point (in Stronghold Guild War, at the guild's own spawn point)
- After the full match ends, players are teleported according to
pvpEndModelinconfig.yml:defaultreturns them to where they were before the match (default; if that teleport fails, the player runs thespawncommand),lookLocationto the spectator point, andspawnmakes the player run thespawncommand. Only these three values are supported: any other value neither teleports nor runs a command. Dead players are not teleported, and Stronghold Guild War always returns players to where they were before the match, regardless ofpvpEndModel - Items cannot be dropped during Guild War preparation and participation
Fair Guild War
The following content can be configured in kitpvp.yml
- playerTitle buff handling (guild buffs are removed as well)
- playerRace race handling
- Potion buff handling
- Unified equipment — fixed to colored leather armor, 1 stone sword, 1 bow, 1 shield, 1 axe, 64 arrows, 64 apples (customizable via commands).
- Disable all commands — does not affect OPs; commands in
whiteCommandare allowed - Disable teleporting
- Full health is restored when Guild War starts. With
maxHealthenabled, max health is unified at the start; it is disabled by default and the original max health is restored after the war. Do not enable it on non-vanilla servers - Disable flying
- Disable Adapt skills — disabled by default
- Automatically put away MyPet pets
- Execute custom commands after the match starts — disabled by default
- Provides the API
PlayerGuildApi.isPvpto check whether a player is in Guild War, so other plugins can handle their own bonuses accordingly
Guild War Rewards
- Matching Guild War: can be configured to grant large amounts of player contribution and execute custom commands
- Season Guild War: can be configured to grant large amounts of guild funds, guild activity, player contribution, and execute custom commands
- Points Guild War: each match grants guild points and player contribution to both the winning and losing sides; at settlement, guild funds, guild activity, leader contribution and custom commands are granted by rank and by top percentage
- Stronghold Guild War: can be configured to grant winning and participating players contribution/guild funds and execute custom commands
Notes
- If unified equipment is enabled, make sure the world rule keeps inventory on death