Commands and permissions
Every command needs gankguard.admin, which operators have. In the server console, type them without the slash. /gguard works in place of /gankguard.
| Command | What it does |
|---|---|
/gankguard | The version, the tier, the worlds and the rules in use, and how many players are protected, blocked or shielded right now. |
/gankguard log [player] [page] | (Pro) The last deaths caused by players, newest first, eight to a page; with a player, only the ones they were in. |
/gankguard check <player> | A player's strikes, PvP block, spawn protection and shields, both ways. With Pro, also their kills and deaths in the log. |
/gankguard pardon <player> | Clears a player's strikes and PvP block, and the shields that protect other players from them. |
/gankguard protect <player> [seconds] | Protects a player who is online from other players, for protection.seconds or the seconds you give, up to an hour. 0 takes the protection away. |
/gankguard world add <world> | Adds a world to the list in config.yml and applies it. A * stands for any text. |
/gankguard world remove <world> | Takes a world out of the list. |
/gankguard reload | Reads config.yml and the messages again. |
/gankguard license | The tier (Free, Pro or Pro Lifetime) and why. |
/gankguard license activate <key> | Saves your Pro key in config.yml and checks it with Polar. |
/gankguard license deactivate | Frees the key for another server; this one runs Free. |
/gankguard telemetry | What the anonymous usage report sends, and when. |
Permissions #
| Permission | Default | What it gives |
|---|---|---|
gankguard.admin | operators | Every command, and the message about new versions when joining. |
gankguard.notify | operators | The staff alerts: who killed whom right after spawning, or too many times. |
gankguard.bypass | nobody | GankGuard never stops this player's hits and never counts their kills. Give it on purpose, for an event or a staff member: operators don't get it. |
With LuckPerms, give a permission to a group from the console:
lp group mod permission set gankguard.notify true
A group that inherits mod gets it too (lp group admin parent add mod).