Skip to content

User Hosting

Macka edited this page Nov 1, 2025 · 3 revisions

This guide will help you set up and host a game using the Multiplayer mod. We'll walk you through each step, so don't worry if you're not tech-savvy!

Note: Dedicated servers are not supported, we hope to add this in the future.

Network Configuration

As of release 0.2.0.0 Multiplayer Mod uses Steam's networking API, so port forwarding is not required and the mod should work "out of the box". If you experience issues with high ping you may want to try a direct connection, which will require port forwarding.

Setting Up Your Game

  1. Make sure you have the game installed as well as Unity Mod Manager and Multiplayer Mod version 0.2.0.0 or above.
  2. If you require port forwarding, see the port forwarding section to set it up.
  3. Start Derail Valley.
  4. The player hosting should select a session, or create a new game and press Host Game.
  5. Enter a name for your server.
  6. Enter a password (if you want to control who can join).
  7. Select Public Game if you want the game visible to other players.
  8. Enter optional description for your server.
  9. Choose the maximum number of players (2-10).
  10. If you require port forwarding, enter the port you are using, otherwise you can leave the port at the default '7777'.
  11. Press Start and wait for the game to load.

Port Forwarding

Details:

  • Default port: 7777
  • Acceptable port range: 1024 to 49151
  • Protocol: UDP (you can also use Any if your router supports it)
  • IP versions: Compatible with both IPv4 and IPv6

Opening Your Network (Port Forwarding)

To let others connect to your game, you need to set up port forwarding. Here's how:

  1. Find your router's address:

    • On Windows: Press Win+R, type cmd, press Enter, then type ipconfig and press Enter. Look for "Default Gateway."
    • On Mac: Click the Apple menu, go to System Preferences > Network. Select your connection and look for "Router."
  2. Enter this address in your web browser.

  3. Log in to your router (check for a sticker on your router if you don't know the password).

  4. Find "Port Forwarding" or "Virtual Server" in the settings.

  5. Create a new rule with these details:

    • Protocol: UDP
    • External Port: 7777
    • Internal Port: 7777
    • Internal IP: Your computer's IP address (see "Finding Your IP Address" section)
  6. Save your changes.

For visual help, search YouTube for "[Your Router Brand] port forwarding guide".

Finding Your IP Address

IPv4 Address

  1. Visit whatismyipaddress.com
  2. Look for the IPv4 address

IPv6 Address

To check if IPv6 is available and find your IPv6 address:

  1. Visit test-ipv6.com to check if IPv6 is available with your ISP.

  2. If IPv6 is available, find your IPv6 address:

    On Windows:

    1. Press Win+R, type cmd, and press Enter to open Command Prompt
    2. Type ipconfig and press Enter
    3. Look for "IPv6 Address" under your network adapter
    4. Use the address that doesn't start with "fe80" (that's a link-local address)

    On Mac:

    1. Click the Apple menu and go to System Preferences > Network
    2. Select your active network connection
    3. Click "Advanced" and go to the "TCP/IP" tab
    4. Look for "IPv6 Address" in the list

Note: Don't use the IPv6 address shown on "what's my IP" websites, as these often display temporary addresses. The address from ipconfig (Windows) or System Preferences (Mac) is the correct one to use for hosting.

Need More Help?

If you're stuck, don't hesitate to ask for help in the Multiplayer Mod Discord Channel

Remember, everyone was new to this once, so don't be afraid to ask questions!

Installing
Hosting
Joining a Game
Mod Compatibility

API Overview
Getting Started
Guides
API Reference

Clone this wiki locally