Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
last month
Downloads
89
Size
15KB
ADDatHost Valheim hosting
30% off

DayNight4010 1.0.0

Valheim 1.0.12. Domyślnie 40 minut dnia i 10 minut nocy. Każdy czas ustawiasz osobno.

Import do r2modman

Settings → Profile → Import local mod → wybierz ten ZIP. Nie używaj Import profile. Jeżeli pojawi się formularz: autor LocalMods, nazwa DayNight4010, wersja 1.0.0. Wymagany BepInExPack_Valheim 5.4.2350 jest zadeklarowany w paczce; zaakceptuj instalację zależności, jeżeli manager o nią poprosi. Jötunn nie jest wymagany i może pozostać zainstalowany.

Serwer PingPlayers

Import w r2modman na Twoim komputerze nie instaluje moda na hostingu. Na kliencie dołączającym do zewnętrznego serwera mod nie zmienia czasu. Działa u hosta świata albo na dedykowanym serwerze.

Zatrzymaj serwer i zrób kopię świata. Z tego ZIP wgraj plugins/DayNight4010.dll do BepInEx/plugins/DayNight4010/ na serwerze, a config/local.daynight4010.cfg do serwerowego BepInEx/config/. Uruchom serwer. Musi mieć działający BepInEx zgodny z 1.0.12. Nie wgrywaj Windowsowego loadera BepInEx na hosting Linux. Gracze nie muszą instalować tego moda.

Konfiguracja

Plik: BepInEx/config/local.daynight4010.cfg. Na hostingu edytuj plik serwerowy. W r2modman znajdziesz konfigurację lokalną w Config editor.

[General]
Enabled = true

[Cycle]
DayMinutes = 40
NightMinutes = 10

Zakres: 1–1440 minut osobno dla dnia i nocy. Zatrzymaj serwer przed zmianą i uruchom ponownie po zapisaniu. Sen nadal pomija noc. Po dołączeniu gracza sprawdź serwerowy BepInEx/LogOutput.log: SERVER CLOCK ACTIVE.

Nie łącz z LongerDays, MrDayNight, ExtendedDaytime, ControlTime, DagrNott, Seasons, ZenWorldSettings ani Valheim Plus — detektor wyłączy DayNight4010. Usuń wcześniejszą ręcznie wgraną kopię DayNight4010.dll przed importem, jeżeli ją masz, aby nie instalować dwóch kopii.

Ograniczenia

Zmienia tempo zegara świata: część produkcji i wzrostu roślin może zwolnić. Zachowuje numer dnia, standardową synchronizację i pauzę pustego serwera. Wizualny wschód/zachód może być lekko przesunięty przez wygładzanie i synchronizację klienta. Pierwszy niepełny dzień po instalacji trwa tylko do najbliższego zachodu.

DLL skompilowana z bibliotekami 1.0.12; testy algorytmu przeszły. Nie przetestowano jeszcze na działającym PingPlayers. Paczka nie zawiera źródeł ani testów. Po zatrzymaniu serwera usunięcie DLL przywraca zwykłe tempo czasu.


English

Valheim 1.0.12. Defaults to 40 minutes of daytime and 10 minutes of nighttime. Configure each duration independently.

Import into r2modman

Settings → Profile → Import local mod → select this ZIP. Do not use Import profile. If a form appears, enter author LocalMods, name DayNight4010, version 1.0.0. The required BepInExPack_Valheim 5.4.2350 dependency is declared in the package; accept dependency installation if prompted. Jötunn is not required and can remain installed.

PingPlayers server

Importing the package into r2modman on your computer does not install it on your hosted server. The mod does not change time on a client connected to a remote server. It runs on the world host or dedicated server.

Stop the server and back up the world. From this ZIP, upload plugins/DayNight4010.dll to the server's BepInEx/plugins/DayNight4010/ directory, and config/local.daynight4010.cfg to its BepInEx/config/ directory. Start the server. It must have a working BepInEx installation compatible with Valheim 1.0.12. Do not upload the Windows BepInEx loader to a Linux server. Players do not need to install this mod.

Configuration

File: BepInEx/config/local.daynight4010.cfg. For a hosted server, edit the server's file. The r2modman Config editor edits your local configuration.

[General]
Enabled = true

[Cycle]
DayMinutes = 40
NightMinutes = 10

Allowed range: 1–1440 minutes for each phase independently. Stop the server before editing and restart it after saving. Sleeping still skips the night. After a player joins, check the server's BepInEx/LogOutput.log for SERVER CLOCK ACTIVE.

Do not combine with LongerDays, MrDayNight, ExtendedDaytime, ControlTime, DagrNott, Seasons, ZenWorldSettings, or Valheim Plus: the conflict detector will disable DayNight4010. If you previously installed DayNight4010.dll manually, remove that old copy before importing to avoid duplicate installations.

Limitations

This mod changes the speed of the world clock: some production and plant growth may slow down. It preserves the day number, standard time synchronization, and the empty-server pause. Visual sunrise and sunset may shift slightly because of smoothing and client synchronization. The first partial day after installation lasts only until the next sunset.

The DLL was compiled against Valheim 1.0.12 assemblies, and the clock algorithm passed its tests. It has not yet been tested on a running PingPlayers server. This package contains no source code or tests. To restore normal time progression, stop the server, remove the DLL, and start the server again.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.