tModLoader

tModLoader

6,708 betyg
Subworld Library
6
3
5
2
6
2
2
2
2
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Mod Features: Library
Mod Side: Both
tModLoader Version: 1.4.3, 1.4.4
Filstorlek
Lades upp
Uppdaterades
229.774 KB
26 mar, 2022 @ 13:55
20 aug @ 12:10
20 ändringsnotiser ( visa )

Abonnera för att ladda ner
Subworld Library

Beskrivning
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.
Ursprungligen skrivet av tModLoader SubworldLibrary:
Developed By John Snail
413 kommentarer
世界 6 timmar sedan 
一个供模组开发者使用的 API,可轻松为他们的模组添加维度(称为子世界),完成所有必要的代码注入,处理多人游戏并管理每个子世界。
Joey 15 nov @ 8:47 
wait i havent checked with this but it works with multiplayer now?
John Snail  [skapare] 15 nov @ 4:47 
The backgrounds and NPC spawns are hardcoded but you can override them.
VictorGD 15 nov @ 4:21 
The subworlds I make still have space and the oceans. I analyzed the code of subworlds from existing mods and found no mention of them even though they're often 100% one biome. The "hideUnderworld" option is easy to find but I see nothing that removes space. What am I doing wrong? Is this a problem with the library?
blindstreak 13 nov @ 18:08 
To Skyring and one having a problem downloading this from tmodloaders mod menu a fixes for it
unsubscribe and resubscribe to the mod here
Skyrigs 11 nov @ 7:17 
this mod doesnt want to download, it just tells me that it cant download and thats it
John Snail  [skapare] 4 nov @ 5:55 
Sounds like a mod conflict, send a log and I'll try to forward it to the right people!
ImitationGold 3 nov @ 11:14 
I'm hoping to get some help as i'm unable to use the subworlds in the stars above in multiplayer. me and my buddy have about 40 mods including calamity infernum, stars above, advanced world generation (slightly larger world) BUT the subworlds work just fine in singleplayer.

the error im getting when joining or after attempting to go into a subworld is: "System.NullReferenceException: Object reference not set to an instance of an object." right before the recipes load. Meanwhile, my game is stuck on a loading screen "backing up Player File". after which ill get booted to the main world after about 2 minutes.

I can send the whole log if necessary, i'd appreciate if there's anything i can do to make this work on the server, thanks.
John Snail  [skapare] 30 okt @ 3:05 
oops
JamesTripleQ 29 okt @ 10:32 
heads up that using the "Current" mod call doesn't just return null when in the main world but also causes an error log