tModLoader

tModLoader

4,360 ratings
Subworld Library
4
3
5
2
5
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod Features: Library
Mod Side: Both
tModLoader Version: 1.4.3, 1.4.4
File Size
Posted
Updated
219.079 KB
26 Mar, 2022 @ 1:55pm
18 Jun @ 12:55pm
17 Change Notes ( view )

Subscribe to download
Subworld Library

Description
An API for modders to easily add dimensions (referred to as subworlds) to their mods, making all the necessary code injections, handling Multiplayer and managing every subworld.

Report issues on the forum page or GitHub:
https://forums.terraria.org/index.php?threads/86283
https://github.com/jjohnsnaill/SubworldLibrary/issues

Wiki:
https://github.com/jjohnsnaill/SubworldLibrary/wiki

HOW IT WORKS
Subworld Library does a LOT of code injection, as Terraria was not made with subworlds in mind.
Subworlds are highly customisable; from how big or small they are, to what ModSystems can update inside of them and even how they are lit.
Subworld Library removes Space, both Oceans and the Underworld from subworlds, allowing them to be extremely small without issues.

LOADING
Loading a subworld is straightforward. Loading screens can be as simple as text on a plain background, or something complex, like an item selection menu.

SAVING
Subworlds save to a directory named after the main world. A subworld and/or changes to players inside it can be temporary. Deleting a world deletes all of its subworlds as well.

MULTIPLAYER
Subworld Library works in Multiplayer with little to no extra work required from modders. A "subserver" is opened for every subworld being occupied.
Originally posted by tModLoader:
Developed By John Snail
310 Comments
John Snail  [author] 2 Aug @ 1:24am 
Yeah I fixed most of the missing parameters but forgot to also pass in -savedirectory. Sorry! Will fix in the next update.
LuxuriousFiji 2 Aug @ 12:29am 
Still having issues with the subworld mod and the linux docker version of terraria, seems like the mod isnt passing info to the subworlds and they just end up not working and attempt to create a normal terraria server on the same port.
Siorbatek 25 Jul @ 11:23am 
@John Snail But previously everything worked when I played in the previous world and I had all the same mods and now it doesn't work
John Snail  [author] 25 Jul @ 7:53am 
Likely a conflict between WotG and another mod.
Siorbatek 25 Jul @ 6:39am 
When I try to summon the nameless deity, the screen "your final test begins" appears infinitely. How can I fix this? I have tried everything, I don't have a world saved in the cloud
Cheemzit 21 Jul @ 7:57pm 
says it isnt installed when i install it, good mod though
TheRealUhosus 19 Jul @ 9:28pm 
I too.
Spazmatism7 18 Jul @ 12:15pm 
The loading screen into the subworld freezes for my mod, same issue as Geraldo, but a different mod.
dang 17 Jul @ 12:47pm 
Hey even tho im subscribed the mod doesnt install, i tried unsubscribing and subscribing again, i tried downloading trough the ingame menu, i tried cleaning cache and a lot of things but none seem to work, when I launch tmodloader it still request me to download subworld library
Geraldo 14 Jul @ 1:59pm 
i got a bug on this mod and on clamity infernum,i was going to the coloseum arena tp for kill sand shark and when i used the tp item at the altar the loading screen freezed on saving map data 100% and i cant access the coloseum,what i do?