Commands for your Avorion server

Print
  • 1

These Avorion commands and server options are a quick reference for server administration. Commands such as /save, /stop, /kick, and /ban are entered in game or through the server command interface. Startup options such as --galaxy-name, --admin, and --datapath belong in the server startup configuration.

Before using commands

  • Use the exact command and argument format expected by your Avorion server version.
  • Run a harmless command such as /status or /player first to confirm you are entering commands in the right place.
  • Take care with /ban, /banip, /kick, /admin, and /stop because they affect other players or the running server.
  • Back up your galaxy before changing startup options or making large server changes.

In-game and server commands

CommandDescription
/helpShows help.
/w PlayerName MessageSends a private message to a player.
/saveSaves the current state.
/stopStops the server. Save first if players have been active.
/seedShows the server seed.
/versionShows the current server version.
/suicideDestroys your current ship.
/playerPrints the number of players.
/statusShows current server status information.
/admin -a PlayerNameAdds a player as admin. Current Avorion builds may also support player indices or Steam IDs for some admin/player commands.
/admin -r PlayerNameRemoves a player as admin.
/kick PlayerNameRemoves a player from the server.
/ban PlayerNameAdds a player to the blacklist.
/unban PlayerNameRemoves a player from the blacklist.
/banip PlayerIPAdds an IP address to the blacklist.
/unbanip PlayerIPRemoves an IP address from the blacklist.
/blacklistShows blacklist options.
/whitelistShows whitelist options.

Server options

Use these as startup options or in the equivalent control panel fields. For example, a basic Linux startup command can include the galaxy name, admin SteamID64, and data path:

./server.sh --galaxy-name MyGalaxy --admin 76561198000000000 --datapath /path/to/avorion-data
OptionDescription
--helpShows available server options.
--portSets the listening port for the server.
--max-playersSets the maximum number of online players.
--save-intervalSets the time between saves.
--datapathSets the folder used for server data.
--galaxy-nameSets the galaxy name.
--server-nameSets the public server name.
--adminAdds one or more administrator SteamID64 values.
--seedSets the server seed.
--difficultySets the difficulty value.
--publicControls whether other players can join.
--listedControls whether the server is listed publicly.
--use-steam-networkingControls Steam networking and authentication support.

Saving and stopping safely

When you need to stop the server manually, save first and then stop the server:

/save
/stop

Avoid closing the server console window directly, as that can risk unsaved galaxy data.

Troubleshooting

  • If a command fails, check whether you need admin access first.
  • If a player command cannot find the player, try the exact visible player name first, then use a player index or SteamID if your Avorion build supports it for that command.
  • If a startup option does not apply, save the setting and restart the server.
  • If you changed the galaxy path, check that the final galaxy folder exists under the configured --datapath.

References


Was this answer helpful?

Related Articles

« Back

Follow us on Social Media

Stay in the loop! Follow our social media accounts and stay up-to-date with the latest news, announcements, tips & tricks and behind-the-scenes insights!