Closed CreepyCre closed 4 months ago
Will fix -modpath
, -modpack
, -secure
and -forcepriority
not being inherited in 2.2.2.2!
-port
and -ip
don't need inheriting since subservers don't use them, and -difficulty
should be synced separately.
I'll have to take a closer look at -config
in case there's something subservers shouldn't inherit.
The Terraria Wiki has what looks to be an exhaustive list of all configs for vanilla, and tML maintains a list on their GitHub Wiki. One more thing that jumps out as potentially relevant is steamworkshopfolder
.
Will make subservers inherit -steamworkshopfolder
as well, thanks for letting me know!
The world
and seed
config options seem a little dangerous to subworlds, but configs load before SubLib so they should get overridden. Adding -config
to the list.
Subworld processes do not inherit commandline arguments. Relevant arguments may include:
-modpath
(subserver won't even load the required mods if-modpath
is actually used to load mods)-modpack
-port
(if main server is not running on port 7777, the subserver would be exposed on 7777. Not sure about the implications)-ip
(same thought process as-port
)-secure
-forcepriority
-difficulty
(not sure if this is actually relevant)-config
(may contain further server configuration)Passing
-modpath
and-modpack
is critical for the subserver to actually load mods correctly.