iPortalTeam / ImmersivePortalsMod

Non-Euclidean in Minecraft. See through portals and teleport seamlessly.
https://qouteall.fun/immptl/
Apache License 2.0
423 stars 100 forks source link

Refactor for multi-server-in-one-JVM case #1447

Open qouteall opened 9 months ago

qouteall commented 9 months ago

Is it a mod compatibility issue?

No

If it's a mod compatibility issue, please provide the link(s) to the incompatible mod(s)

No response

Minecraft version

1.20.1

Describe the issue

Normally a dedicated server JVM has only one server. But in Minecraft Realm one JVM can host multiple MC servers, possibly for saving memory. It's probably necessary to refactor the code to handle multiple-server-in-one-JVM case.

qouteall commented 9 months ago

Most modded server usage will be one-server-per-JVM. So this is not in high priority. And Cloth config seems doesn't support per-server config.