Releases: brianmiller/phvalheim-server
2.23
Screenshots of new features:
Resolves:
Commits related to this release:
8cf64cdd
added manual thunderstore sync button62cb8d99
fixed internal homedir error01518738
non-fatal error correction6d16e42b
resolved issue #32, added hide seed capability, added new world settings pageca71183c
added public mod viewer and updated TS seed database
2.22
2.21
2.20
Public world support added:
A new database flag public
for each world has been added. This flag can be toggled directly from the Citizens Editor page. When this flag is set, the permittedlist.txt file is reset on each start.
Related issues:
Commits related to this release:
6e9f473e
My mistakeb936cb12
oops99ed9a82
added public world feature99ed9a82
added public world feature
2.19
Public world support added:
A new database flag public
for each world has been added. This flag can be toggled directly from the Citizens Editor page. When this flag is set, the permittedlist.txt file is reset on each start.
Related issues:
Commits related to this release:
99ed9a82
added public world feature
2.18
Commits related to this release:
288622a2
fixed the public UI table size due to adding Fader's icon
2.17
2.16
This release brings support for Valheim's public-test
branch. PhValheim Server can now deploy new and convert existing worlds to this branch.
Caveats and important risk factors:
- Be sure you have a current backup of the world you're going to convert, unless it's a new world.
- Disable all optional mods before converting a world. The initial start-up with the public-test branch runs through many world conversion steps. Given many mods are broken post a major update, there's a high probability a mod is broken and will disrupt the world conversion process, ultimately causing corruption. Enable mods once you've verified the world has been updated and you can join the world without issues.
- All clients will need to be running the
public-test
branch, otherwise players will be met with an "Incompatible version" when joining. - WARNING: Any character you select when running the
public-test
branch will convert your local character data to support the new version of the game. I.e., when swapping back to theproduction
branch, the character will be missing but reappear when going back topublic-test
. You may also want to backup your local character data. - Once all of the above is complete, launch the game as you normally would with PhValheim Server/Client.
That's enough CYA, how do you do it?
Steps:
- Optional: Backup your world and all phvalheim-server stateful data. E.g., on Unraid
/mnt/user/appdata/<phvalheim-server>/*
- Upgrade phvalheim-server to >=v2.16, startup a world to ensure all is working as before.
-- Note: v2.16 is currently in the release candidate stage. Update your branch fromlatest
torc
before upgrading. This version will be pushed to thelatest
tag over the next few days.
-- Shutdown the world, copy the files located at<container stateful directory>/games/valheim/worlds/<World Name>/game/.config/unity3d/IronGate/Valheim/worlds_local/*
to a safe location. - Optional: Backup your local character data
- Enable the
public-test
branch on all clients. - Set the "beta" bit for the world you're converting within phvalheim-server's
worlds
database table.
-- Launch the "Database Browser" from phvalheim-server's admin UI.
-- Load theworlds
table and set thebeta
column to1
for the world you want to convert, save the table.
-- The admin UI should now have a "BETA" flag set:
-- Click "Update" and watch the engine logs
-- Click "Start" and watch the world logs. You're looking for the engine version. E.g., the Ashlands update will look like this:
Note: I will help as much as I can. But please, make sure you have recent backups of your stateful data in case something happens. My buddies and I converted a Moder level world last weekend and played for 3+hrs. The world upgraded successfully after the steps above. We ambitiously sailed to Ashlands and can confirm the new content is there. :)
Commits related to this release:
2.15
Commits
10d2168
b5d2fb6
332bfa6
faf981c
7ef7acf
042413f
f145468
e75145c
Fixed missing scrollbar on world editor pages
Thunderstore multithreading!
This release brings multithreading to the Thunderstore local sync process. The current TS database is around 50MB of JSON. It's takes a really long time to parse through more than 2.4million lines of text each time for every mod. This change introduces two new configuration options within the 'settings' table.
In the 'settings' table: the below are default values
- thunderstore_local_sync = 1
-- valid options: 1 = enable, 0 = disable - thunderstore_chunk_size = 1000
-- this value tells your computer to breakup the big 50MB json file into smaller pieces. A value of 1000 will create individual workable chunk files containing no more than 1000 mods per file. As of this date, Thunderstore currently has 5702 mods in the Valheim database. A value of 1000 would create 6 files which will result in 6 parallel threads. I.e., lower value = more threads
-- if your computer cannot keep up, a WARNING will appear in the thunderstore sync log. - this change dramatically speeds up the mod editor admin page load times as well
Here's multithreading in action on the production server hosting https://phvalheim.com with a "thunderstore_chunk_size" set to 50. This server has 36 cores w/hyperthreading--72 threads (dual xeon e5-2699 v3) CPUs.
- Before multithreading total execution time took 4hrs~
- With a chunk size set to 50 (115 threads), total execution time took 3mins~