Give modded teleports a 120 s first-chunk deadline and report their real failure

A cold dimension loads the pack and binds the engine on its first chunk, so the 10 s deadline failed teleports that would have worked. /iris tp, primary world routing and Iris Vision now share one 120 s deadline, and /iris tp reports a failed teleport, an unloaded dimension, an offline player or a refused teleport separately instead of always claiming the dimension is not loaded.

Upstream: 82fa69611 2d5af3b61 f55fde17d
This commit is contained in:
piexel committed 2026-11-10 01:18:33 +01:00
1 parent 92ab8b6d01
commit 149a257a4c
26 files changed
+220 -40

No files matched your search

+4 -1
View File
@@ -284,7 +284,10 @@
"iris.modded.irismoddedcommands.console_must_name_player_iris_tp_dimension_player": "Console must name a player: /iris tp <dimension> <player>",
"iris.modded.irismoddedcommands.is_not_generated_by_iris": "{value} is not generated by Iris.",
"iris.modded.irismoddedcommands.teleport_failed_dimension_is_not_loaded": "Teleport failed: dimension {dimensionId} is not loaded.",
"iris.modded.irismoddedcommands.teleporting": "Teleporting {value} to {dimensionId}...",
"iris.modded.irismoddedcommands.teleport_failed_reason": "Teleport into {dimensionId} failed: {reason}",
"iris.modded.irismoddedcommands.teleport_cancelled_player_offline": "Teleport into {dimensionId} cancelled: {value} is no longer online.",
"iris.modded.irismoddedcommands.teleport_refused": "Teleport into {dimensionId} was refused by the server.",
"iris.modded.irismoddedcommands.teleporting":"Teleporting {value} to {dimensionId}...",
"iris.modded.irismoddedcommands.is_not_generated_by_iris_2": "{value} is not generated by Iris.",
"iris.modded.irismoddedcommands.cannot_evacuate_primary_world_there_is_nowhere_send_players": "Cannot evacuate the primary world; there is nowhere to send players.",
"iris.modded.irismoddedcommands.evacuated_player_s_from": "Evacuated {count} player(s) from {value} to {value2}.",