Mods / Wilderlands Lunarbound

Tags:
Author:
Thalius
Side:
Server
Created:
Oct 9th 2025 at 1:13 AM
Last modified:
Apr 22nd at 1:42 AM
Downloads:
17472
Latest release (for Vintage Story 1.21.0-pre.1 - 1.21.6 and 1.22.0-pre.1 - 1.22.0, potentially outdated):
Wilderlands Lunarbound 1.0.2.zip  1-click install

Wilderlands Lunarbound

A utility module within the Wilderlands ecosystem.

 

Wilderlands Lunarbound is a lightweight mod for Vintage Story that adds a simple server-side behavior allowing entities to exist only during specific phases of the lunar cycle.

If an entity is not allowed during the current phase, it will despawn.

That’s it. Clean. Focused. Useful.


How It Works

This mod introduces a behavior that can be added to an entity’s server-side JSON behaviors.

Example:

 
"server": { "behaviors": [ { "code": "lunarspawn", "lunarSpawnPhases": [ 1, 2, 3, 4, 5, 6, 7, 8 ] } ] }
 

There are 8 lunar phases in the game:

  • Phase 1 = New Moon (no illumination)

  • Phase 4 = Full Moon

  • Phases progress sequentially through the cycle

With 30-day months, each phase lasts a little over 3 days (approximately).

Mod should be run on worlds with 30 day months, for best stability. Unsure how shorter months affect lunar calendar and this mod's ability to gate mob spawning.

I did not implement the lunar cycle itself — it already exists in the base game.
This mod simply provides a clean way to hook into it and use lunar phases as a spawn moderation mechanic.

If you want to understand the exact internal mechanics of the lunar system, you’ll need to dig into the game code. I’m still learning it myself.


Future Plans

None at this time.


 

Community & Support

If you have issues, suggestions, or feedback:

Please post in the Wilderlands Rustbound thread in Vintage Story's official Discord.

Interested in following development more closely?
Join The Wilderlands Community Discord server.


Other Wilderlands Modules

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.0.2 wlunarbound
1.21.0-pre.1 - 1.21.6 1.22.0-pre.1 - 1.22.0
10819 Feb 16th at 5:23 AM Wilderlands Lunarbound 1.0.2.zip 1-click install

- Corrected mod info to require client side, for servers using it as a dependency for Rustbound.

1.0.1 wlunarbound
1.21.0-pre.1 - 1.21.6
85 Feb 16th at 1:42 AM Wilderlands Lunarbound 1.0.1.zip 1-click install

- Removed all logging related to entity despwaning/removal and debugging.

1.0.0 wlunarbound
1.21.4 - 1.21.6
6436 Oct 19th 2025 at 8:42 PM Wilderlands Lunarbound_1.0.0.zip 1-click install

Out of dev release. Also added client side requirement due to some issues using on servers as a dependancy for other mods.

1.0.0-pre.1 wlunarbound 132 Oct 9th 2025 at 1:17 AM Empty Wilderlands Lunarbound_1.0.0-pre1.zip 1-click install

Disclaimer

By downloading a mod you consent to our Terms of Use.

We tell you this specifically because we want to make sure you are aware that we cannot validate every mod, and you are responsible for any damages you might incur by installing or loading mods.

This prompt will not be shown to you again (for the current browser session) if you proceed.


20 Comments (oldest first | newest first) (threaded | flat)

ThePerfectLink, Aug 11th at 6:51 AM

So.... I've set my months to 12 days, and I've not noticed any enemies spawning outside of Baneflies and Skulkers (due to the nests) after about 10 days. Now that I see the 30 day requirement, I imagine that's probably the issue, would that make any sense?

Natimancer, Jun 27th at 10:37 AM

i'd love some kind of astrolabe that tells you the current moonphase or something. for nights when it's overcast or foggy

SomeToast, Feb 16th at 9:53 AM

Thalius Works perfectly with 1.0.2. Thanks for the very fast fix!

Thalius , Feb 16th at 5:25 AM

SomeToast Try 1.0.2 release, just uploaded. Lunarbound is technically only needed on the server side, but if it is used as a dependency then it is needed on the client side as well, I suppose. Version 1.0.0 had requirement on both side in the mod info. Apparently I changed that for 1.0.1 but don't recall doing so. 1.0.2 should fix it so that clients auto download it when joining a server where it is in use.

Thalius , Feb 16th at 4:54 AM

SomeToast I need more info. I'm not sure what would be causing an issue. I simply removed the debugging/logging info and updated the mod to 1.0.1. Make sure older version of the mod is completely removed, and restart the server with the new version loaded. If that does not work, see if there is anything in the logs. If issue persists, you can reload the older version until I figure out what is going on.

SomeToast, Feb 16th at 3:56 AM

Not sure if it's just me but 1.0.1 is failing to download for clients when connecting to a server and not allowing them to join.

End_Rage, Jan 18th at 4:14 PM

The log spam created from this mod is just insane, bloats the crap out of the log files. Could you add a config option to allow us to just turn that off?

Thalius , Nov 20th 2025 at 1:27 PM

Kadook Instructions and example on how to do that are posted in the mod description already. Please read the description page to understand how the mod works, and how to use it. You'll have to learn how the entity JSON is laid out, and then follow the instructions posted.

Kadook, Nov 20th 2025 at 5:30 AM

New to modding servers, which JSONs do i need to add the entity behaviors for the wilderlands rustbound mod?

Thalius , Nov 17th 2025 at 3:11 AM

ProphetOfMercy Just to be clear, those logs are not errors. They are simply a record that an entity spawned that is not allowed to exist during that phase of the lunar cycle, and is being removed (with additional logs saying the entity has spawned and is allowed to exist, if they spawned within their proper cycle). It's not a bug, it's just the mod doing it's thing (with some debugging/logging code left in that I probably should go ahead and remove).

ProphetOfMercy, Nov 17th 2025 at 2:57 AM

@Thalius
Could be wrong, but it seemed that the moment those logs occured mentioned the lunar spawns/despawns, someone on the server would disconnect. Ill try reinstalling it for further testing.

BraniyaKz, Nov 15th 2025 at 9:09 AM (modified Jun 22nd at 1:11 AM)

Thalius - I'm unsure how the moon phases are coded in-game (ore where to find them, but wouldn't a full moon fall on 5 and not 4? Given the following cycle:

1 = New Moon | 2 = Waxing Crescent | 3 = 1st Quarter | 4 = Waxing Gibbous | 5 = Full Moon | 6 = Waning Gibbous | 7 = 3rd Quarter | 8 = Waning crescent
 
Can someone answer this question for me?
Thalius , Nov 15th 2025 at 7:37 AM

ProphetOfMercy  That is not a crash report. Says you lost connection, not crashed. Not sure what the cause could have been. You are the first to report anything like it in connection to this mod.

May have something to do with the logging of entities being removed from the server because they are not allowed, and maybe your server memory is filling up? Though I've not heard of that. Our server has been running with this mod since it was released, and we've not seen any issues at all.

I should probably remove the constant logging though. Not really a need for it. I'll have a release out for that in the next few days. Until then, regular once or twice a day server maintenance restarts are a good habit to be in, depending on your server hosting quality. They help keep things running smooth.

ProphetOfMercy, Nov 15th 2025 at 5:45 AM

This mod in particular has been causing me and my server players an ungodly amount of back to back crashes, typically once or twice a day.

Spoiler
15.11.2025 00:40:08 [Server Notification] [WilderlandsLunarbound] LunarSpawn initialized on wrustbound:caretaker-ramhorned. AllowedInternalPhases=0,1,2,4,5,6,7
15.11.2025 00:40:09 [Server Notification] [WilderlandsLunarbound] LunarSpawn tick for wrustbound:caretaker-ramhorned: currentInternalPhase=7
15.11.2025 00:40:09 [Server Notification] [WilderlandsLunarbound] LunarSpawn: wrustbound:caretaker-ramhorned allowed to remain this phase (phase 8)
15.11.2025 00:41:27 [Server Notification] [WilderlandsLunarbound] LunarSpawn initialized on wrustbound:caretaker-deerhorned. AllowedInternalPhases=0,1,2,4,5,6,7
15.11.2025 00:41:27 [Server Notification] [WilderlandsLunarbound] LunarSpawn initialized on wrustbound:caretaker-deerhorned. AllowedInternalPhases=0,1,2,4,5,6,7
15.11.2025 00:41:27 [Server Notification] [WilderlandsLunarbound] LunarSpawn tick for wrustbound:caretaker-deerhorned: currentInternalPhase=7
15.11.2025 00:41:27 [Server Notification] [WilderlandsLunarbound] LunarSpawn: wrustbound:caretaker-deerhorned allowed to remain this phase (phase 8)
15.11.2025 00:41:27 [Server Notification] [WilderlandsLunarbound] LunarSpawn tick for wrustbound:caretaker-deerhorned: currentInternalPhase=7
15.11.2025 00:41:27 [Server Notification] [WilderlandsLunarbound] LunarSpawn: wrustbound:caretaker-deerhorned allowed to remain this phase (phase 8)
15.11.2025 00:41:37 [Server Notification] Client 8 disconnected:
15.11.2025 00:41:37 [Server Notification] UDP: client disconnected ProphetOfMercy
15.11.2025 00:41:37 [Server Event] Player ProphetOfMercy got removed. Reason: Lost connection/disconnected
15.11.2025 00:41:37 [Server Event] Client 8 disconnected.
15.11.2025 00:41:46 [Server Notification] Server ticking has been suspended
15.11.2025 00:41:46 [Server Notification] Autosaving game world. Notifying mods, then systems of save...
15.11.2025 00:41:46 [Server Event] [rustboundmagic] Gateway network saved!
15.11.2025 00:41:46 [Server Notification] Defragmented listener lists
TheSinisterRat, Oct 20th 2025 at 1:47 AM

Just wanted to throw some more change into the 'this is a spectacular idea' hat!

 

Definitely looking forward to trying it out, but right now I'm struggling with memory leaks and my friends would murder me if I add more mods. Keep up the phenomenal work! 

Ket, Oct 9th 2025 at 4:50 PM

I really dislike that spawning is tied to light levels, makes it feel like every build needs to be las vegas. This is a much more interesting concept! 

Hydromancerx, Oct 9th 2025 at 5:44 AM (modified Oct 9th 2025 at 5:44 AM)

Too bad this was not released on the full moon a few days ago!

Mobius, Oct 9th 2025 at 3:43 AM

Woah that's quite a cool concept right there, I like it