GankGuard

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

On this page

Install and first test

Download #

Download GankGuard

Version 0.1.1 · from coolapps.fyi

Free and Pro use the same file, GankGuard-0.1.1.jar; a license key unlocks Pro.

Before you install, check the requirements: Spigot or Paper 1.16.5 or newer, and Java 8 or newer. Folia is not supported. No other plugin is needed.

Install #

  1. Put GankGuard-0.1.1.jar in your server's plugins/ folder.

  2. Restart the server. Do not use /reload.

  3. Watch the console. When it starts, GankGuard prints its banner, with its version and tier (Free, or with a key Pro or Pro Lifetime):

      ___   _   _  _ _  _____ _   _  _   ___ ___
     / __| /_\ | \| | |/ / __| | | |/_\ | _ \   \
    | (_ |/ _ \| .` | ' < (_ | |_| / _ \|   / |) |
     \___/_/ \_\_|\_|_|\_\___|\___/_/ \_\_|_\___/
    v0.1.1 - Free - coolapps.fyi

The first start creates config.yml, messages_en.yml and messages_es.yml in plugins/GankGuard/. There is no database to install.

Commands in this guide are written for the game, with a slash (/gankguard check Steve). In the server console, type them without the slash. The short alias /gguard works in place of /gankguard. Every command needs the gankguard.admin permission, which operators have.

Try it #

Run /gankguard: it shows the version, the tier, the worlds where GankGuard works and the rules in use.

To see the protection, have a friend die and respawn while you stand nearby: for 10 seconds a countdown shows above their hotbar, and your hits do nothing; you see who is protected, and for how long, above yours. /gankguard protect <player> gives the same protection to a player who is online, without anyone dying.

Out of the box GankGuard works in every world. A spawn kill (within 30 seconds and 24 blocks of spawning) or the third kill of the same victim in 10 minutes gives the killer a strike, and from the second strike the staff hears about it.

Choose the worlds #

GankGuard works everywhere except the worlds in its list, or, with mode: only, only in them. To keep it out of a PvP arena:

/gankguard world add arena

The command writes the world into worlds.list in config.yml, keeping the file's comments, and applies it at once. A * stands for any text: arena_* is arena_1, arena_red and so on. /gankguard world remove arena takes it out again. Configuration explains every setting.

Give your staff the alerts #

The alerts about spawn kills and harassment go to the console and to the players with gankguard.notify, which operators have. To give them to moderators who are not operators, give them that permission with your permissions plugin.

Pro #

With a key, activate it from the console: gankguard license activate <key>. Pro adds the protection on joining, teleporting and going through a portal, the PvP blocks and commands of the strike steps, and the log. See Licensing.

Update #

GankGuard checks Modrinth once a day and, unless you turn it off, downloads a new version into the server's update folder; the server puts it in place at the next restart. To update by hand, replace the jar and restart.