Veloren
Veloren is in active development: new weekly builds arrive often, and the server and every player must run the same one. A healthy server keeps its version matched, its database backed up and its authentication on.
Checklist
- [ ]
weeklyversion, reinstalled each time a new weekly build comes out, so players' Airshipper clients match. Setup - [ ] A locked backup before every new build. Builds can upgrade the database, and there's no going back afterwards.
- [ ] Backups every 6–12 hours of
userdata/server/. Backups - [ ] Authentication left on (
auth_server_addresspointing at the official server). - [ ]
max_view_distancecapped to suit your server. Performance - [ ] Admins added from the console, moderators for day-to-day moderation.
- [ ] Rules in
description.ron, which players accept on their first join. - [ ] Settings edited with the server stopped. A typo makes Veloren quietly fall back to defaults.
Performance
| Server | Memory |
|---|---|
| A few friends | 2 GB |
| 8–16 players | 3–4 GB |
| 16–32 players, or large view distances | 4 GB+ |
max_view_distanceinsettings.roncaps how far players can see, in chunks. The default isSome(65), far more than most servers need.Some(10)toSome(15)keeps CPU and memory down with little visible difference for most players.max_players(default100): set it to what your plan can handle.- Veloren uses several CPU cores when many players are online in different places. If the CPU is maxed out with few players, view distance is almost always the cause.
Backups
Everything that matters is in userdata/server/:
| Path | What it is |
|---|---|
saves/db.sqlite |
The world and character database: the file you can't lose. |
server_config/settings.ron |
Server settings. |
server_config/admins.ron |
Admins and moderators. |
server_config/whitelist.ron · banlist.ron |
Who can join, and who's banned. |
server_config/description.ron |
MOTD and rules. |
- Back up the whole
userdata/server/folder every 6–12 hours with a panel schedule. Backup schedules - Make a locked backup before each new build.
- Stop the server before restoring. The database is written continuously while it runs.
Shutting down cleanly
The panel's Stop saves and shuts down safely. To warn players first, type this in the console:
shutdown graceful 120 --reason "Updating to the new weekly build"
That gives everyone a two-minute countdown. shutdown cancel stops the countdown.
Access and security
- Authentication: keep
auth_server_addressasSome("https://auth.veloren.net"). Without authentication, anyone can join using any name, including an admin's. Changing it to another auth server shows players a security warning. - Admins: add them in the console with
admin add <name> admin(ormoderator), and remove them withadmin remove <name>. They're stored by account ID inadmins.ron, so a renamed account keeps its role. - Whitelist: as soon as
whitelist.ronlists anyone, only those players can join. Manage it in game with/whitelist add Name. - Ports: players need only the game port (TCP). The metrics port is for monitoring, not for players. The optional query port (UDP) only shows your server in Airshipper's list.
Moderation commands (in game, as admin or moderator)
| Command | Does |
|---|---|
/kick Name reason |
Kick. |
/ban Name reason · /unban Name |
Ban or unban. |
/whitelist add Name · /whitelist remove Name |
Manage the whitelist. |
/tp Name |
Teleport to a player. |
/help |
All commands available to you. |
Updating to a new weekly build
- Warn players with
shutdown graceful 120, or pick a quiet time. - Make a backup and lock it.
- Settings → Reinstall Server. Your
userdatais kept. - Start and watch for Server is ready to accept connections.
- Tell players to update in Airshipper.
Common problems
| Problem | Fix |
|---|---|
| Version mismatch / can't connect | Server and client builds differ. Reinstall the server (weekly) and update Airshipper. |
| Connection refused | Wrong port, or the addresses in gameserver_protocols don't match your port. |
| Settings ignored after editing | A typo in settings.ron: Veloren uses defaults and writes settings.template.ron next to it. Compare the two, fix the typo, restart. |
| Security warning on join | auth_server_address was changed. Set it back to the official server. |
| High CPU with few players | Lower max_view_distance. |
| Not in Airshipper's server list | The query port isn't set up. It's optional: players can always join by address. |
