GankGuard

Protection from spawn killing and harassment for the players of your Paper and Spigot server.

On this page

FAQ

What counts as a spawn kill? #

A player killed by another player within 30 seconds of spawning and 24 blocks of where they spawned, before they hurt anybody. Both numbers are spawn-kill.seconds and spawn-kill.radius in config.yml.

Does it stop mobs, falls or lava? #

No. Only damage and deaths caused by players count, and everything else is left to the game.

Does it stop traps and lava poured by a player? #

No. GankGuard stops what it can tie to a player: hits, arrows and other projectiles, potions, TNT a player lit, end crystals a player set off, tamed wolves, fishing rods and fire from a player's weapon. A trap or lava poured by a player doesn't name anyone, so it isn't stopped and doesn't count.

A player hit the killer first and then died. Is that a strike? #

No, with ignore-provoked: true: when the victim started the fight, the kill counts neither as a spawn kill nor as harassment. A fight ends after 30 seconds with no hits between the two.

Can a protected player attack others? #

Yes, but the protection ends at once, unless you set protection.ends-when-attacking to false.

What about a PvP arena or a minigame world? #

Add it to the list with /gankguard world add <world>, and GankGuard does nothing there. For a server where only some worlds have PvP, use mode: only and list those.

Who gets the staff alerts? #

The console and the players with gankguard.notify, which operators have. Out of the box they start at the killer's second strike.

Does it work with Citizens NPCs? #

NPCs are left out: an NPC is never protected or counted, and a hit from an NPC is never stopped.

Can players escape a fight by logging out or teleporting? #

Pro's protection on joining, teleporting and going through a portal is never given to a player who fought another player in the last 30 seconds (protection.not-after-combat-seconds), so it is no way out of a fight. Respawning after a death is always protected.

Where are the strikes kept? #

In plugins/GankGuard/data.yml, with the PvP blocks and the shields that are running, so a restart or a quick log out doesn't wipe them. They are forgotten after strikes.forget-after-minutes.

What does Pro add? #

The protection on joining, teleporting and going through a portal, strike steps that block the killer from hurting any player and run your console commands, and the log of every death caused by a player. See Free and Pro.