This build adds faction warps, fixes scoreboard prefixes not resetting on faction disbands, and checks if players are vanished (and therefore should be ignored) when checking for nearby enemies when doing /f home.
Added Faction warps in build
#115
Faction warp commands (and permissions):
- /f setwarp|sw <warpname> (factions.setwarp)
- /f warp - lists warps (factions.warp)
- /f warp <warpname> - warp there (factions.warp)
- /f delwarp|delw|deletewarp <warpname> - delete that warp (factions.setwarp)
Only faction mods+ can set warps and only in their claimed territory. Anyone in the faction can use the warps. Currently warping is instant and doesn't care about combat tagging because factions isn't a combat plugin, I suggest adding a warmup and adding the faction warp commands to your combatlog plugin.
You can also do {warps} in the info scoreboard to show how many warps a faction has set when you walk into their territory.
The max amount of warps a faction can have is configurable in the config.yml. It defaults to 5. If you are upgrading, you'll want to add the value "max-warps: 5" anywhere in your config.yml if you wish to change it from the default.