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:
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
- Wilderlands Adjustments
- Wilderlands Behaviors
- Wilderlands Block Adjustments
- Wilderlands Caves
- Wilderlands Custom Sea Level
- Wilderlands Echoes
- Wilderlands Environmental Stability
- Wilderlands Forests
- Wilderlands Ground Layers
- Wilderlands Rustbound
- Wilderlands Spawnbound
- Wilderlands Stonebound (WIP)
-
Wilderlands Tweaks (Set of adjustments for Wilderlands servers)
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 1.0.2 | wlunarbound | 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 | 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 | 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 | |

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?
Probably, yes.
i'd love some kind of astrolabe that tells you the current moonphase or something. for nights when it's overcast or foggy
I'll give it some thought.
Thalius Works perfectly with 1.0.2. Thanks for the very fast fix!
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.
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.
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.
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?
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.
New to modding servers, which JSONs do i need to add the entity behaviors for the wilderlands rustbound mod?
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).
@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.
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:
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.
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.
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
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!
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!
Too bad this was not released on the full moon a few days ago!
Woah that's quite a cool concept right there, I like it