added in next update. it will be enabled by default to block campers from entering the dome
Eject Mounts = Campers (true)
private object OnPlayerRespawn(BasePlayer player, SleepingBag sleepingBag2)
{
if (EventTerritory(sleepingBag2.transform.position) && sleepingBag2.HasParent() && sleepingBag2.GetParentEntity().ShortPrefabName.Contains("module_camper")) return ServerMgr.FindSpawnPoint(player);
return null;
}
another option is the above where I just prevent the exploit by not allowing them to respawn on the bed inside of a camper when the camper is inside of a raidable bases event.
but this requires a hook and I'm against adding hooks unless they're really useful. but nothing is stopping you from adding it yourself by copy pasting this into the RaidableBases.cs if you prefer this solution instead.