Skip to content

Multiplayer

Playing together

Co-op for up to 8 players - hosted by one of you or on a dedicated server.

Preliminary guide for version 0.18.0, which is still in preparation. Menu names and steps may change before release.

Hosting a world

  1. In the main menu: Multiplayer -> Host world.
  2. Choose a character and a world. Port: UDP 47821 by default.
  3. Optionally set an access code - only players who know it can join.
  4. Start the server. If your firewall asks whether ASHENVARA may accept incoming connections: allow it.
  5. Give your friends your address (or hostname), the port and the access code.

Only games of the same version can play together.

Joining a world

  1. In the main menu: Multiplayer -> Join server.
  2. Choose a character. Depending on the world, your character profile can come along with its level and gear.
  3. Enter the host's IP address or hostname, the port (47821) and the access code.
  4. Connect.

Over the internet: port forwarding

On the same Wi-Fi the host's local address (e.g. 192.168.x.x) is enough. Over the internet, the host's router must pass incoming connections on to the host PC - the game does not open ports by itself.

  1. Open port forwarding in your router's web interface - often under "Port Forwarding", "Port Sharing" or "NAT".
  2. Forward protocol UDP, port 47821 (external and internal) to the local address of the host PC.
  3. Give the host PC a fixed local address in the router if you can, so the rule still matches after a restart.
  4. Give friends the public IP address of your connection (or a dynamic DNS hostname).

Over the internet, use an encrypted connection where the game offers it.

When forwarding does not help: CGNAT and DS-Lite

Many connections (often cable, fibre and mobile) have no public IPv4 address of their own. With CGNAT the connection shares one IPv4 address with other customers; with DS-Lite you get a real IPv6 address, but IPv4 goes through a shared gateway of the provider. Either way, an incoming IPv4 connection never reaches your router - forwarding a port there has no effect.

Hint: if your router shows a WAN address in 100.64.0.0/10, or a different address than a "what is my IP" page, you are most likely behind CGNAT.

Alternatives

  • IPv6: if host and players all have IPv6, connect directly to the host PC's IPv6 address. Allow UDP 47821 for IPv6 to the host PC in the router.
  • A real IPv4 address: some providers switch you from DS-Lite to dual stack on request.
  • A rented server: run the dedicated Linux server (below) on a rented server (VPS) with its own public address - then nothing has to be forwarded at home.
  • VPN overlay (option): services such as Tailscale or ZeroTier put the computers in a private network; you then join via the host's overlay address. These are third-party services with their own terms - ASHENVARA is not affiliated with them.

Dedicated Linux server

The dedicated server keeps a world running even when no player is hosting. It will appear on the download page with version 0.18.0.

Preliminary - command and configuration may change

# preliminary
./ashenvara-server --config server.cfg
  • Server firewall: allow UDP 47821 inbound.
  • Join as above: the server's address, port and access code.
  • Format of server.cfg: to follow with the release.

Download