PvPGuard (Skript)
Hold your combat interactions accountable flawlessly via our 100% native Skript engine logic.
This is a heavily optimized, logic-based Skript explicitly handling hostile player-vs-player damage triggers. Escaping mid-battle via logout executes configurable punishment arrays seamlessly, bypassing the need for a bloated Java plugin architecture entirely.
PvPGuard is available as a raw code Skript mapping. Download the latest version on Discord.
Mechanics & Punishments
A player engaging in PvP will trigger the global combat state. Currently, the tag lasts for 9 seconds (modifiable via the CombatTimer option within the `.sk` file).
Any players disconnected while maintaining an active combat tag are processed via the on join penalty block. Out of the box, it executes two server actions:
kill victimpoints take victim 5
While the state is active, native commands explicitly blocking escapes (like /spawn) are permanently cancelled until the timer safely depreciates.
Commands
The system possesses logic handlers for easy client and administrative queries.
| Command | Description |
|---|---|
/ct | Broadcasts the explicit global server Combat Timer setting to the requesting player. |
/combatlog reload | Reloads the embedded .sk file instantly. Requires combatlog.reload permission. |