How to Create a How to Fish Server Guide

From Survival Servers
Jump to navigation Jump to search

How to Fish is a co-op fishing survival game by Dazed Games, released on August 20, 2026 on Steam (App ID 4001890) for up to 8 players. The game has no dedicated servers: one player hosts the world on their own PC, and when they log off the island goes offline with them. A How to Fish dedicated server runs the world 24/7 on its own machine through Driftwood, a free launcher plus an open-source (MIT) server built for this game.

Why a dedicated server

How to Fish normally hosts the world on one player's PC over Steam peer-to-peer. That means the island only exists while that player is online, everyone's ping depends on their home connection, and the world closes the moment they quit. A dedicated server keeps the island, the money, the boat upgrades and the boss progress on a machine that never logs off, so one of you can fish at noon and another at midnight in the same world.

Driftwood is the first dedicated server this game has had. Its server is open source, so you can read exactly what runs on the host.

Option #1: Renting a How to Fish server

The provider handles the hardware, networking, DDoS protection and game updates, and the world stays online around the clock.

Rent a How to Fish server from Survival Servers

After checkout the Command Center shows your server address and your Driftwood pass. Send the address to your friends. Everyone installs the Driftwood app, adds the address and connects. World name, friendly fire and automatic backups are all in the Command Center.

Option #2: Hosting a How to Fish server yourself

The server is free and open source. You need:

  • A 64-bit Windows 10, 11 or Server machine that stays on. The server runs while that PC does.
  • Your own Steam copy of How to Fish, installed. The server runs the game's files, and the server package includes none of them.
  • Git and the .NET 8 SDK, both free, used once to build the supervisor.
  • One UDP port plus the TCP port directly above it, forwarded to that PC.

Step 1: Set up the folders

C:\Driftwood\my-server\
  How to Fish\        your copy of the game's files
  Saves\              the world lives here
  host-state\         status, logs, the stop file
  Backups\
  bin\                the supervisor
  appsettings.json

The world, logs and state live outside the game folder on purpose, so nothing that replaces game files, such as an update or a reinstall, can touch your world. (appsettings.json is created in Step 5.)

Step 2: Copy your game

Copy your installed game folder, by default C:\Program Files (x86)\Steam\steamapps\common\How to Fish, to C:\Driftwood\my-server\How to Fish.

Copy it, never point the server at the Steam install directly. Steam updates the original whenever it likes, and a server should take a game update when you decide to, not by accident.

Optional: also copy steamapps\appmanifest_4001890.acf from your Steam library into C:\Driftwood\my-server\steamapps\. The build check in Step 6 then reads Steam's own install record too.

Step 3: Install the server overlay

Download DriftwoodServer-<version>.zip (0.1.9 or newer, since older releases don't start on How to Fish 1.1) from the latest release and extract it somewhere temporary, not into the game folder. Everything in the zip nests under DriftwoodServer\bepinex\. If you extract it straight into the game folder, nothing loads: the game starts vanilla, with no error anywhere. This is the most common self-hosting mistake.

Copy the pieces in from where you extracted them:

$overlay = "C:\Driftwood\overlay\DriftwoodServer\bepinex"   # wherever you extracted it
$game    = "C:\Driftwood\my-server\How to Fish"

Copy-Item "$overlay\winhttp.dll"         $game
Copy-Item "$overlay\doorstop_config.ini" $game
Copy-Item "$overlay\BepInEx"             $game -Recurse -Force

Done when winhttp.dll and doorstop_config.ini sit next to How to Fish.exe, and BepInEx\plugins\DriftwoodHost.dll exists.

Step 4: Build the supervisor

The supervisor is the program that starts the server, watches it, and takes the backups. The release zip doesn't include it, so build it from the repository with two commands:

git clone https://github.com/HumanGenome/DriftwoodServer.git
dotnet publish DriftwoodServer/src/DriftwoodServer/DriftwoodServer.csproj -c Release -o C:\Driftwood\my-server\bin

Step 5: Configure your server

Copy appsettings.example.json from the folder you cloned in Step 4 to C:\Driftwood\my-server\appsettings.json, open it in any text editor, and set:

  • every path to your layout from Step 1 (instanceId is any short name, for example my-server)
  • steamAppsDirectory: your steamapps copy from Step 2, or "" if you skipped it
  • serverName: what players see in the Driftwood app
  • authToken: the admin password for this server's console and backups in the Driftwood app. Set one. Without it, every admin action is refused.
  • gamePort: the UDP port players connect to. httpPort stays 0: the status and admin API then takes the port directly above gamePort on its own.

Leave worldName alone once the server has run. Renaming it later starts a fresh world under the new name. The old world stays in Saves\ under the old one.

Step 6: Pin the game build

The server refuses to start until you pin the game build you copied. That's what stops a Steam update from silently breaking your server. Set pinnedBuild.assemblySha256 to 64 zeros, then ask the install for its real values:

C:\Driftwood\my-server\bin\DriftwoodServer.exe --verify-build C:\Driftwood\my-server\appsettings.json

It prints BUILD_PIN_FAILED plus the real values:

assemblySha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
steamBuildId=19842631

Paste both into pinnedBuild (buildId stays "" if you skipped the steamapps copy), run it again, and expect BUILD_PIN_OK.

When Steam updates the game: update your Steam copy, re-copy the game folder, re-run --verify-build, and paste in the new values. If the update moved something the server depends on, it names what moved and won't host a broken game. Install the next release of the server package.

Step 7: Open the ports and start

Allow both ports through Windows Firewall, using your gamePort and the port directly above it:

New-NetFirewallRule -DisplayName "Driftwood game" -Direction Inbound -Protocol UDP -LocalPort 22003 -Action Allow
New-NetFirewallRule -DisplayName "Driftwood api"  -Direction Inbound -Protocol TCP -LocalPort 22004 -Action Allow

If you host from home, also forward both ports on your router: the UDP port and the TCP port.

Then start the server:

C:\Driftwood\my-server\bin\DriftwoodServer.exe --config C:\Driftwood\my-server\appsettings.json

Two lines mean it worked. First BUILD_PIN_OK, then, after the world loads (give a fresh world a few minutes):

DRIFTWOOD_HOSTING port=22003 slots=8 world=Driftwood pid=4242

Step 8: Stop, back up and keep it running

  • Stop: Ctrl+C in the console, or create a file named stop.requested in host-state\. Either way, the world is saved before the server closes.
  • Back up, while it runs: DriftwoodServer.exe --snapshot appsettings.json saves the world and zips it into Backups\.
  • It won't start? Read host-state\host-ready.json. reason is one plain sentence, and the common ones are decoded in the repository's operations guide. The game's own output is in host-state\unity.log.
  • Survive reboots: create a Task Scheduler task that runs the Step 7 start command at startup.
  • More servers on the same PC: repeat from Step 1 in a second folder with its own ports, ten apart (22013, 22023 and so on).

The full self-hosting walkthrough lives in the repository README: github.com/HumanGenome/DriftwoodServer.

Joining your server

Joining works the same whether the server is rented or self-hosted, and it's the part that's different from most games:

  1. Every player installs the free Driftwood app on their PC.
  2. Every player owns and installs How to Fish on Steam as normal.
  3. In Driftwood, add the server address (for example 203.0.113.10:22003) and click Connect.
  4. Driftwood launches that player's own copy of the game straight into the server.

If Windows says Smart App Control blocked the installer, wait a day or two for Windows to recognize the new version and run it again, or turn Smart App Control off in Windows Security under App & browser control.

If the app closes to update and then won't open, download the installer from our website and run it again.

The game itself has no server browser and no address field, so the Driftwood app is how anyone gets in, the host included. Your copy of How to Fish is bought, launched and updated through Steam exactly as normal. Driftwood replaces nothing and includes no part of the game.

Frequently asked questions

Does every player need to buy the game? Yes. Every player needs their own Steam copy of How to Fish, the host included. Driftwood is free, but it includes no part of the game.

Does every player need Driftwood, or just the host? Every player. The game has no server browser, so the Driftwood app is the only way into a dedicated server.

Can consoles join? How to Fish is a PC game on Steam. There are no console versions to join from.

Does the world keep running when everyone logs off? Yes. That's the point of a dedicated server: the world and its progress live on the server and keep being saved, whether or not anyone is connected.

Why does my self-hosted server boot the game vanilla with no error? The overlay zip nests everything under DriftwoodServer\bepinex\. If you extracted the zip straight into the game folder, the files landed one level too deep and nothing loads. Copy them in again as in Step 3.

Why does the server refuse to start after a game update? The build pin is doing its job. Re-copy the updated game folder, re-run --verify-build, and re-pin as in Step 6.

See also