1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
//// Example configuration for a dedicated and public Cube2 server.
//// Copy your custom server-init.cfg to the home directory of the cube2 user.
//// You have to create the user with the adduser command first, disabling
//// shell access is recommended. The whole server documentation is available
//// at http://sauerbraten.org/docs/config.html
//// Optional specific IP for server to use:
// serverip 123.123.123.123
//// Optional specific port for server to use (default port is 28785).
//// To make your server accessible from the internet you have to open the
//// serverport and serverport +1. For this example open udp port 28785 and
//// 28786 for internet games in your firewall regardless of what ports are set,
//// port 28784 must be available for pinging servers over a LAN to work. For
//// pure internet games opening port 28784 is not necessary.
// serverport 28785
//// Maximum number of allowed clients:
maxclients 16
//// Maximum number of bots a master can add - admins are unaffected by this
//// limit. Set to 0 to disallow bots
serverbotlimit 4
//// Controls whether or not the server is intended for "public" use.
//// When set to 0, allows "setmaster 1" and locked/private mastermodes
//// (for coop-editing and such).
//// When set to 1, can only gain master by "auth" or admin, and doesn't allow
//// locked/private mastermodes.
//// When set to 2, allows "setmaster 1" but disallows private mastermode
//// (for public coop-editing).
publicserver 2
//// Description the server shows for the server browser.
serverdesc "A Cube2 server powered by Debian"
//// Password required to connect to the server.
//// Generally unnecessary unless you really don't want anyone connecting
//// to your server.
// serverpass "your_secret_server_password"
//// Password that allows you to gain admin by
//// /setmaster your_secret_admin_password
// adminpass "your_secret_admin_password"
//// Controls whether or not the server reports to the masterserver
//// 0=disabled, 1=enabled
updatemaster 1
//// Optional message of the day to send to players on connect.
servermotd "Welcome to Cube2"
|