-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Enhancement Type
Improve an existing feature
Describe the enhancement
Context
Servers in the Spigot family arrange their world files somewhat differently than other servers; for a world directory foo/, instead of locating the nether and end dimensions in foo/DIM-1/ and foo/DIM1/, Spigot locates them in foo_nether/DIM-1/ and foo_the_end/DIM1/. The start-setupWorld script is aware of this possibility, and knows to copy these directories for Spigot-family servers.
Current behaviour
start-setupWorld determines whether to create Spigot-style dimensions based on the family of the server about to be launched. When loading a Spigot-style world zip for a standard-style server jar, the script picks only one of the dimensions (at random) and fails to copy the other two.
Desired behaviour
start-setupWorld detects the existence of Spigot-style or standard-style dimensions based on what appears in the world zip, and renames them if needed. In particular, a world zip created using either style of dimensions should be correctly loaded by either style of server.