Skip to content

Releases: brianmiller/phvalheim-server

2.23

07 Jun 22:24
Compare
Choose a tag to compare

Screenshots of new features:

  • New settings page for each world:
    image

  • New public UI indicating hidden seed: offline
    image

  • New public UI indicating hidden seed: online
    image

  • New manual Thunderstore Sync button
    image

Resolves:

  • #13 manual ts sync
  • #44 manual ts sync
  • #57 internal homedir missing
  • #32 hide seed from public UI

Commits related to this release:

  • 8cf64cdd added manual thunderstore sync button
  • 62cb8d99 fixed internal homedir error
  • 01518738 non-fatal error correction
  • 6d16e42b resolved issue #32, added hide seed capability, added new world settings page
  • ca71183c added public mod viewer and updated TS seed database

2.22

02 Jun 20:38
Compare
Choose a tag to compare

Mod viewer added to public UI

image

Resolves:

2.21

02 Jun 19:26
Compare
Choose a tag to compare

Autostart feature added. If autostart is enabled, the world will automatically start during engine first start.

image

Resolves:

  • #30 Add autostart feature

Commits related to this release:

  • abca6010 added auto start feature

2.20

24 May 23:46
Compare
Choose a tag to compare

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.

image

Related issues:

Commits related to this release:

  • 6e9f473e My mistake
  • b936cb12 oops
  • 99ed9a82 added public world feature
  • 99ed9a82 added public world feature

2.19

24 May 22:49
Compare
Choose a tag to compare

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.

image

Related issues:

Commits related to this release:

  • 99ed9a82 added public world feature

2.18

15 May 20:30
Compare
Choose a tag to compare

Commits related to this release:

  • 288622a2 fixed the public UI table size due to adding Fader's icon

2.17

15 May 01:13
Compare
Choose a tag to compare

This release brings Fader trophy status to the public UI tile:

image
image

Commits related to this release:

  • 5223c22c added missing for Fader
  • cafe126b updated Dockerfile version of phvalheim-server
  • 6bdb5fe3 added Fader trophy support

2.16

06 May 18:29
Compare
Choose a tag to compare

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 the production branch, the character will be missing but reappear when going back to public-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 from latest to rc before upgrading. This version will be pushed to the latest 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 the worlds table and set the beta column to 1 for the world you want to convert, save the table.
    image
    -- The admin UI should now have a "BETA" flag set:
    image
    -- 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:
    image

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

13 Apr 03:42
Compare
Choose a tag to compare

Commits

10d2168
b5d2fb6
332bfa6
faf981c
7ef7acf
042413f
f145468
e75145c

Fixed missing scrollbar on world editor pages

image

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~

image

Note: the above is a super powerful server, adjust with caution. Learning the limits of your system is a humbling process 🙂.

2.14

10 Apr 00:45
Compare
Choose a tag to compare

commit fa6f202 resolves #51
commit 913920c brings ts urls to phvalheim-static.conf