For all Operating systems
If you are behind a firewall or a NAT router ( most home use routers are NAT routers), you have to forward port 32887 (UDP) to your computer. Visit http://portforward.com/ to find out how to do that with your router. Now follow operating system instructions
The server.exe is included in the game download, start the server.exe When asked for the maximum numbers of players, choose wisely. The slower your internet connection, the less players should be on your server.. Start with 16 and when there is no lag even when the server is full, you can increase it if you like.
NOTE: If you are running the server from any computer at your home, you will have to do the following in order to connect:
Step 2 Open a command prompt (press Win+R, type 'cmd' and hit enter) on the computer running the server. In the command prompt, type 'ipconfig', and find the listed 'IPv4 Address'.
Step 3 Open this page. In the box after "IP Address:" type the four numbers of the IP address from Step 1, but in reverse order. For example, if the server's ip was '184.108.40.206', you would type them in as '220.127.116.11'.
Step 4 Select 'Dotted Quad', press 'Go' and copy the text from the second box, labeled 'IP decimal'.
Step 5 Paste the address into your web browser's url bar. Replace 'HTTP' with 'aos' and then press enter.
This address only works for computers on your home network. To get one that will work for someone outside your network, get your IP address from a site such as whatismyip.com. Follow the steps above to convert it. Alternatively, all server software will display this address upon starting a server. Look for something of the form aos://12345678.
If you want to connect to a server on the same computer you are playing on, goto this address: aos://16777343
Step One Read Linux
Step Two Run the server by invoking server.exe rather than client.exe, as detailed in Linux
Step Three Run the client, similar to windows.
 Server commands
Beta 0.3 introduced server commands. Now pressing a key will not close the server, and instead the user can enter the following commands in the server window:
|kick <player #>||Kicks the player with the id specified|
|ban <player #>||Bans the player with the id specified|
|fog R G B||Change the server fog colour (Red/Green/Blue values)|
|admin <player #>||Grants administration to the player with the id specified|
|map <mapname>||Changes the current map to the one specified (must be located in /vxl/)|
|quit||Stops the server|
 Pyspades server commands
Pyspades is a third party server software ran by most users. This server implementation gives you the ability to use more commands, here is most of them:
||Changes to the next map in the rotation.|
||Bans the player with the ID number or name with the reason specified. The duration is in minutes|
||Change the server fog colour (Red/Green/Blue values).|
||Makes the player invincible.|
||Toggles god build mode in which only players in god mode can destroy your blocks.|
||Teleports the user to the specified grid coordinates.|
||Fully heals the player.|
||Makes the user invisible to other players and unable to take falling damage.|
||Kicks the player with the ID number or name with the reason specified.|
||Kills the player.|
||Grants the user administer privileges (provided the password is correct).|
||Changes the current map to the one specified (must be located in .../maps/ directory).|
||Prevents the player from talking.|
||Displays the user's kill/death (K/D) ratio.|
||Reverts to the original map rotation.|
||Sends a message to all the players.|
||Adjusts the team balance to add the specified number of players to a team. Setting this to 0 will make the teams balanced.|
||Teleports player1 to player2 (player2 may be left out to teleport player1 to the user)|
|| See |
|| See |
|| See |
||Removes the specified IP from bans.txt|
||Allows the player to talk again.|
||Undoes the last ban.|
 Bandwidth considerations
A full 32-person server consumes more than 1 GB of bandwidth per hour (uploads + downloads). Keep this in mind if your web hosting or home internet plan has quota limits.
As of beta v0.36, a full 32 slot server averages ~10 kB/s per player, or ~320 kB/s total, with peaks near ~410 kB. So any less than 3 Mbps out is probably going to result in some kind of network lag for a full 32 slot server.
 How to calculate maximum slots from bandwidth
- Run a bandwidth test at www.speedtest.net
- Multiply your Mbps upload speed by 1000 then divide that by 80
- Round the answer down to determine your max slots
For example, if your connection has a 1 Mbps upload speed, then:
- 1 * 1000 = 1000
- 1000 / 80 = 12.5 = ~12 slots
A cross-platform alternative to the official server is pyspades.
Check the site for more information, and if you're on Windows 32bit, get the win32 build zip on the left.
Since the 0.54 client build of pyspades, a full 32/32 player server uses approx:
- 1.15gb transfer bandwidth per hour
- Approx 60meg of ram
- Approx 40-60% of a "Intel(R) Xeon(R) CPU X3330 @ 2.66GHz" on a VPS host. Note that this is just what the virtual server is reporting - that CPU will likely be shared with other users.
 Running a LAN Server
How to host a lan server, even in a restrictive environment. This is for windows specifically, however can be specifically adapted. This is for internal connections only, your friend in mexico cannot join. This is not guaranteed to work, as there are reported issues on certain subnets.
- No portfowarding is needed.
- Do not actually type any of the quotation marks in the guide.
- You will have normal control over the server, as if it was "online".
1) Download the pyspades server build, for windows it's the win32 build.
2) Extract and edit the config file, set connection to the master server as "false".
3) Open up command prompt and type in "ipconfig".
4) Find the ip listed either "ip address" or "ipv4" remember this as it is what you will have people connect to.
5) Download the Spadille client, then click "file", "connect", and type in that ip.