Windows macOS Linux Options Good to know
What a dedicated server is
When you host from your own game, the game quietly starts a small server and stops it when you leave. A dedicated server is that same program, run by itself: it stays up until you stop it, so the world is there whenever any of your friends wants to play, and nobody has to be the host.
- Up to six players can be in a world at once.
- No ports to open. The server goes through our relay and prints a short join code. Friends choose Join Multiplayer on the title menu and type the code in. They can also join at the computer's address instead, on your own network or with a port forwarded.
- Everyone's character waits in the world. The server keeps each player's game (their pockets, land, friendships and trades), so they pick up where they left off each time they join.
- The world moves while someone is in it. The first player to join runs the villagers, the creatures and the clock for everyone, and hands that on when they leave. With nobody in, the village waits.
Every player needs the same version of the game as the server. A server from an older or newer version turns players away with "This server speaks another version of the game".
Windows
The server is installed beside the game:
C:\Program Files\Ultra Nebulum\ultranebulum-server-windows-x64.exe
- Make a folder to keep the world in, for example
Documents\Ultra Nebulum Server. - Open that folder in File Explorer, click the address bar, type
cmdand press Enter. A Command Prompt opens in that folder. - Start the server:
"C:\Program Files\Ultra Nebulum\ultranebulum-server-windows-x64.exe" - If Windows Firewall asks, allow it on private networks (and on public ones too if friends will join by address rather than by code).
- Give your friends the join code it prints. Leave the window open while the server runs; press Ctrl+C to stop it.
To start it with a double-click next time, save this as Start server.bat in the same folder:
@echo off
cd /d "%~dp0"
"C:\Program Files\Ultra Nebulum\ultranebulum-server-windows-x64.exe" %*
pause
macOS
The server is inside the app. There are two programs, one for each kind of Mac:
/Applications/Ultra Nebulum.app/Contents/Resources/ultranebulum-server-darwin-arm64 (Apple silicon: M1 and later)
/Applications/Ultra Nebulum.app/Contents/Resources/ultranebulum-server-darwin-x64 (Intel)
- Open Terminal and make a folder for the world:
mkdir -p ~/"Ultra Nebulum Server" && cd ~/"Ultra Nebulum Server" - Start the server (use
darwin-x64on an Intel Mac):"/Applications/Ultra Nebulum.app/Contents/Resources/ultranebulum-server-darwin-arm64" - If macOS says the program can't be opened because it's from an unidentified developer, clear the download flag from the app once and try again:
xattr -cr "/Applications/Ultra Nebulum.app" - If macOS asks whether to accept incoming network connections, choose Allow.
- Give your friends the join code it prints. Keep the Terminal window open while the server runs; press Control+C to stop it.
Linux
Installed from the .deb, the server is at:
/opt/ultranebulum/bin/ultranebulum-server-linux-x64
Using the AppImage, the server is packed inside it. Unpack it once and copy the server out to wherever you like:
./"Ultra Nebulum-linux.AppImage" --appimage-extract
cp squashfs-root/bin/ultranebulum-server-linux-x64 ~/ultranebulum-server-linux-x64
rm -r squashfs-root
Then make a folder for the world and start it there:
mkdir -p ~/ultranebulum-server && cd ~/ultranebulum-server
/opt/ultranebulum/bin/ultranebulum-server-linux-x64
Press Ctrl+C to stop it. To keep it running after you log out, and start again with the computer, make it a systemd user service. Save this as ~/.config/systemd/user/ultranebulum.service:
[Unit]
Description=Ultra Nebulum server
After=network-online.target
[Service]
WorkingDirectory=%h/ultranebulum-server
ExecStart=/opt/ultranebulum/bin/ultranebulum-server-linux-x64
Restart=on-failure
[Install]
WantedBy=default.target
and turn it on (the second line lets it run while you're logged out):
systemctl --user enable --now ultranebulum
sudo loginctl enable-linger "$USER"
Its output, the join code among it, is in journalctl --user -u ultranebulum; the code is also written to ultranebulum-world.json.code in the world's folder.
Options
Add these after the program's name. --help lists them too.
--land separateor--land shared: for a new world only. Separate (the default): a plot belongs to whoever buys it. Shared: whatever anyone buys belongs to everyone.--file PATH: where the world is kept (the default isultranebulum-world.jsonin the folder it starts in). Use a different file to keep several worlds.--max-players N: how many may be in at once (6 by default).--password PW: friends must type this to come in. The game asks for it as they join (the letters are hidden as they type), and keeps the line open while they do. Put quotes round a password with spaces.--local-only: no relay and no join code. Players join only at the computer's address: on your own network, or from outside it with TCP port 7777 forwarded on your router.--port N: the port to listen on (7777; if that one is taken it tries the next three).--host ADDR: the address to listen on (every one the computer has, by default).
For example, a shared-land world kept in its own file, with a password:
ultranebulum-server-linux-x64 --file harvest-village.json --land shared --password "bread and honey"
Joining
On the title menu choose Join Multiplayer, then either type the join code the server printed, or the server's address (an IP address, or address:port if it isn't on 7777). If the server has a password, the game asks for it next. The first time, you make a new character for that world; after that your character is waiting where you left it.
Good to know
- Back up the world by copying
ultranebulum-world.jsonandultranebulum-world.json.chars(everyone's characters) while the server is stopped. - For friends you trust. The server believes what each game tells it, so play with people you know.
- The night passes once everyone who is on line is in a bed.
- The password never crosses the line as it is. The server asks with a different random number each time, and the game answers with a fingerprint of that number and the password together.
- Keep the server up to date. The game updates itself when a new version comes out, and the server has to be the same version as everyone's game. Install the latest version from this site on the server's computer and run the server that comes with it. Or, if that computer's own game has updated itself, an update that changed the server leaves the new one in the game's save folder, under
update/<version>/bin/.