Description:
This anti-combat-log style of plugin is using another player's distance to the one logging out rather than how long they've been tagged as most do. If a player waits for another player to come on let's say regular combat plugins, then they're able to just leave before getting hit. Such a tease. This plugin allows you to slay the Villager dropping every ounce of loot of the one who logged out if they are in a certain X, Y, Z of the other person.
Works with Factions:
It currently works alongside Factions, checking if you are in the same Faction, OR if you are in the SafeZone to log out. But this plugin can be used without Factions as well.
Currently developing a dependency with worldguard as well in a future update!
Permissions:
acl.bypass - This bypasses spawning of an NPC around a player.
Installation
Just drag and drop into your plugin folders!
Config Example:
player-faction-check: N
wg-pvp-check: N
xRange: 15
yRange: 20
zRange: 15
villager-life-time: 15