A server-side mod that allows setting player's default spawn points individually, which is then used when their home bed/respawn anchor is not available.
/defaultspawnpoint set [target] [pos] [angle]
/defaultspawnpoint unset
command.defaultspawnpoints