Is there a way to spawn a station derelict like e.g. a Domain-era Cryosleeper with a console command? I would read through all of this thread, but its 67 pages, so sorry if this was already answered.
Edit: Found the answer, at least specific for the Cyrosleeper.
runcode PlanetAPI star = ((StarSystemAPI) $loc).getStar(); if (star != null) { $loc.addCustomEntity(null, null, "derelict_cryosleeper", "player").setCircularOrbitPointingDown(star, VectorUtils.getAngle(star.getLocation(), $playerFleet.getLocation()), MathUtils.getDistance(star.getLocation(), $playerFleet.getLocation()), 180f); }