Starbound: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 48: | Line 48: | ||
<pre> | <pre> | ||
{ | { | ||
[...] | |||
"serverPasswords" : [ "password" ], | "serverPasswords" : [ "password" ], | ||
"allowAdminCommands" : false, | "allowAdminCommands" : false, | ||
| Line 56: | Line 57: | ||
"upnpPortForwarding" : false, | "upnpPortForwarding" : false, | ||
"attemptAuthentication" : false, | "attemptAuthentication" : false, | ||
[...] | |||
} | |||
</pre> | </pre> | ||
}} | }} | ||
Revision as of 01:04, 14 December 2013
Install required libraries to run the server binary
# emerge libpng:1.2
Create a user for running Starbound
# useradd -m -s /bin/bash starbound
Become the starbound user so that any file you download is owned by the correct user.
# su -l starbound
Install the Steam command line interface
$ mkdir ~/SteamCMD
$ cd ~/SteamCMD
$ tar -xf steamcmd_linux.tar.gz
Test Steam.
$ ./steamcmd.sh
$ Ctrl-c
Obtain and run the server binary
$ mkdir ~/server
$ cd ~/SteamCMD
File: ~/SteamCMD/update_starbound.sh
./steamcmd.sh +login STEAMLOGIN STEAMPASSWORD +force_install_dir ~/server +app_update 211820 +exit
$ chmod +x update_starbound.sh
$ ./update_starbound.sh
Run the server
$ tmux new -s starbound
$ cd ~/server/linux64
$ ./launch_starbound_server.sh
$ Ctrl-c
Edit configuration (the file is created when starting the server for the first time).
File: ~/server/linux64/starbound.config
{
[...]
"serverPasswords" : [ "password" ],
"allowAdminCommands" : false,
"allowAdminCommandsFromAnyone" : false,
"gamePort" : 21025,
"controlPort" : 21026,
"authPort" : 21027,
"upnpPortForwarding" : false,
"attemptAuthentication" : false,
[...]
}
Stopping the server
# su -l starbound
$ tmux attach -t starbound
On the Starbound server command-line.
$ Ctrl-c