Portal anti-loop safety
ServerRouter includes two protections against portal loops:
portalArrivalCooldownSeconds: protects a player after a successful ServerRouter transfer/arrival.loginPortalSafetySeconds: protects a player after any login/ready event, even if the previous transfer did not complete cleanly.
Both default to20seconds in the generated configuration. SetloginPortalSafetySecondsto0only if you intentionally want to disable the generic login safety window.
Automatic config migration:
ServerRouter 5.0.1 adds automatic config migration for existing config.json files. When the plugin starts, missing new options are added while existing values are kept. The config may be rewritten with pretty JSON formatting and UTF-8 encoding.
New portal safety option:
JSON:"portalArrivalCooldownSeconds": 20, "loginPortalSafetySeconds": 20
Each route can also define the message shown when a portal is blocked by the login/arrival safety window:
JSON:"portalSafetyMessage": "&6Please wait a few seconds before using this portal. You have just joined this server."
The message supports{server}and color codes such as&6,&a, and&7.
