Advanced

Private Server Setup

Learn how to set up a private Balatro Multiplayer server for your friends to connect to.

Starting a server

In each of the mod file folders we provide server files as well (one for each operating system), you can use these files to run your own server.

Download server-win.exe and run that file.

Connecting to the server

Once the server is running you will have to modify your config to point to the server. To modify your config go to the location where your Mods folder is, beside that folder will be another folder called config, inside the config folder will be a file called Multiplayer.jkr. If this file is not there for you then you need to launch the game with the Multiplayer mod installed at least once.

Multiplayer.jkr

The contents of this file will look something like this by default:

return {
    ["username"] = "Guest",
    ["server_url"] = "balatro.virtualized.dev",
    ["server_port"] = 8788,
}

If you are running the server on your computer you can change the server_url field to "localhost", but your friends will have to connect to you over the internet or through a tunnel service like Hamachi or ZeroTier.

For them to connect over the internet you will have to port forward port 8788 on your PC and router, then they will have to input your public IP address in the server_url. You can find your public IP address by going to a site like this: https://www.whatismyip.com.

On this page