tModLoader

tModLoader

6,706 个评价
Subworld Library
6
3
5
2
6
2
2
2
2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
229.774 KB
2022 年 3 月 26 日 下午 1:55
8 月 20 日 下午 12:10
20 项改动说明 ( 查看 )

订阅以下载
Subworld Library

描述
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.
引用自 tModLoader SubworldLibrary
Developed By John Snail
412 条留言
Joey 11 月 15 日 上午 8:47 
wait i havent checked with this but it works with multiplayer now?
John Snail  [作者] 11 月 15 日 上午 4:47 
The backgrounds and NPC spawns are hardcoded but you can override them.
VictorGD 11 月 15 日 上午 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 11 月 13 日 下午 6: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 月 11 日 上午 7:17 
this mod doesnt want to download, it just tells me that it cant download and thats it
John Snail  [作者] 11 月 4 日 上午 5:55 
Sounds like a mod conflict, send a log and I'll try to forward it to the right people!
ImitationGold 11 月 3 日 上午 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  [作者] 10 月 30 日 上午 3:05 
oops
JamesTripleQ 10 月 29 日 上午 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
rdking2013 10 月 25 日 上午 6:44 
I dont know nor care what this mod dose but it lets my play stars above so im happy