GenerallyLitServerMod

v1.0.2·Updated 2026-09-14

Day length, night length, stack size and item weight. Independent day/night, server-authoritative, no restart to change. Nothing else.

About this mod Author’s original text

Generally Lit Server Mod

Four numbers. Nothing else. No content, no new items, no UI, no external calls.

| Setting | Default | What it does |

|---|---|---|

| Day length in seconds | 840 | How long daylight lasts |

| Night length in seconds | 360 | How long night lasts |

| Stack size multiplier | 1 | Multiplies max stack of things that already stack |

| Item weight multiplier | 1 | Multiplies the weight of every item |

At the defaults it changes nothing: 840/360 reproduces vanilla exactly.

Generally Lit server runs: 7200s day, 300s night, 5x stacks, 0.8x weight.

Independent day and night

Vanilla keeps one cycle length and splits it 70/30 in EnvMan.RescaleDayFraction

(raw 0.15-0.85 of the cycle is daylight). That split is hard-coded, which is why

mods exposing only "day length" can never give a long day and a short night.

This rebuilds the same curve from your two values, so a two hour day with a five

minute night works.

Server-authoritative

The server sends its values to every client on join. Clients use them while

connected, are told in the log when they differ, and get their own back on

leaving. Editing your config while on a server does nothing and says so, rather

than looking like a broken mod.

Clients do not strictly need it: stack size and weight come from the server's

item database and the cycle runs off server time. Installing it everywhere keeps

tooltips and lighting consistent.

Config changes need no restart

The config file is watched. Edit it and the values apply within a second and are

pushed to everyone connected. Nobody gets disconnected for a number change.

One warning worth reading

Lowering the stack multiplier destroys items. Anything stacked above the new

maximum is cut down the next time the world loads - not when you change the

setting. On a dedicated server that is the next restart, often minutes after the

last player leaves, so it looks fine for hours and then is not.

The mod remembers the highest multiplier it has run with and prints a loud

warning when you lower it. Back up the world first, or spread over-sized stacks

out before changing it. Raising is always safe.

Install

r2modman: Settings -> Import local mod -> pick the zip.

Manual: drop GenerallyLitServerMod.dll into BepInEx/plugins.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.

Dependencies

Install these first, or the mod will not work:

denikson-BepInExPack_Valheim

File & checksum

Filename
GenerallyLitServerMod-1.0.2.zip
File size
16.9 KiB