tModLoader

tModLoader

5,884 ratings
Subworld Library
6
3
5
2
5
2
2
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
224.745 KB
26 Mar, 2022 @ 1:55pm
4 Jan @ 1:00pm
19 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 SubworldLibrary:
Developed By John Snail
396 Comments
Arvenstar 8 hours ago 
Hello, big fan of the work youre doing here! I came to report another instance of the same problem some people were having not too long ago, my boss checklist progress seems to have been partially reverted after leaving the Lost Colosseum and I seem to not have received the relic drop from defeating the bereft vassal. Seems like sometime around Jan somebody also using infernum and/or wrath of the gods and reported the same issue
JustAGamerPerson 3 Jun @ 10:16pm 
I have no idea how you even made this work in Terraria, but god damn it, you did.
Thank you John Snail. I shall refrain from combining you with Anti-John Snail.
TwelveYO 1 Jun @ 11:58pm 
Is it possible to maintain the progress of the mainworld Boss Checklist in the Subworld?
John Snail  [author] 8 May @ 2:37am 
Working on a patch that may fix the occasional Multiplayer connection issues, need to make sure things are working the way they should though.
John Snail  [author] 26 Apr @ 3:58pm 
This mod doesn't cache anything, but Steam Workshop is notoriously weird when it comes to managing subscribed mod updates and such.
Yhaaroth 26 Apr @ 6:15am 
my friend got stuck at "Receiving Tile Data: Complete" loading screen even when he restarted the game multiple times hes still stuck there every time he joins the world
(seems like we were having the same problem)
Silvestris 21 Apr @ 8:58pm 
specifically the stars above
John Snail  [author] 20 Apr @ 7:47am 
Aside from the deadlock issue I'm looking into, that depends on the mods you're running.
Silvestris 19 Apr @ 8:51pm 
why does multiplayer not work </3
gadgetdragon00 11 Apr @ 11:22am 
what mods use this mod because just searching dimension doesn't have anything interesting show up