[SPIGOT-5824] world-container does not work Created: 25/Jun/20 Updated: 13/Jun/23 |
|
Status: | Open |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | YourCoal | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 3 |
Labels: | 1.16 |
Issue Links: |
|
||||||||||||||||
Version: | git-Spigot-758abbe-3f0c333 (MC: 1.16.1) | ||||||||||||||||
Guidelines Read: | Yes |
Description |
In bukkit.yml, I have specified a world-container folder for all worlds to be saved in. However, it no longer works for 1.16.1. Steps to reproduce:
What should occur:
|
Comments |
Comment by leasoncre [ 03/Aug/20 ] |
@AymericMartin the --world-container worlds flag MUST be AFTER the jar file is specified in the startup arguments. -jar spigot.jar nogui --world-container worlds I use alot of flags, so it looks like a mess, but just be sure that the above^ is in the right order. -The plugins not recognizing the loaded world sounds like a potential configuration issue elsewhere. Depending on your serverhost, you may need to use a custom server type and specify all the args yourself. ie: I use AMP (by Cubecoders) and their current build puts the normal jar drop-down-menu-selection argument after the normal startup args, so it'll never load the right worlds. -Xms6G -Xmx6G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:-OmitStackTraceInFastThrow -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=8 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar paperclip.jar nogui --world-container worlds
|
Comment by Aymeric Martin [ 02/Aug/20 ] |
I used your solution, problem if the player is connected to the correct map, the plugins do not recognize the map in the folder as being the main map. |
Comment by md_5 [ 26/Jun/20 ] |
--world-container, -W, --universe, --world-dir |
Comment by Nerijus Gabalis [ 26/Jun/20 ] |
What command line flag should be used for this? |
Comment by md_5 [ 25/Jun/20 ] |
Unlikely to be fixed, Vanilla loads the main world too early. Use the command line flag instead. |