SafeSpawn v1.1 nLogin support + auto config migration
+ Added
nLogin integration. Teleport now fires after the player authenticates (AuthenticateEvent), so nLogin's freeze + pre-auth location restore can't override SafeSpawn Auto-enables when nLogin is installed.
wait-for-login config option (default true). Set to false to force PlayerJoinEvent behavior even with nLogin present.
Config auto-migration. New keys shipped in future updates are added to your config.yml automatically on enable and on /safespawn reload. Your existing values are preserved.
× Fixed
Players getting stuck in duels and other restricted worlds on servers using nLogin. Root cause: PlayerJoinEvent fired while the player was still unauthenticated and frozen by nLogin.
Teleport now re-checks the player's world inside the scheduled task, so a player who already left the restricted world is not yanked back.
Typo on the name field in plugin.yml.
~ Changed
Teleport logic extracted into a shared TeleportService, used by both the join and auth paths. No behavior change for non-nLogin servers.
softdepend now includes nLogin alongside Essentials.
i Compatibility
Drop-in replacement for v1.0. No config changes required.
Spigot 1.18+ (1.20, 1.21 confirmed).
Works with or without nLogin / EssentialsX installed.
Install: drop SafeSpawn-1.1.jar in plugins/, restart server. Author: zArrowTan — https://arrowtan.cc