To start things off, I thought I would include my code for creating a server on Assault Cube, which runs off of the Cube engine. I will also explain how to open your ports on your router, so that your server is accessible from teh internets. Since most people are too n00bish to read the README, I'll also include some of the basic arguments (commands) to use when creating the server and how to use them properly. This is a complete idiot's guide. If you can't understand this, then you fail and should probably an hero.

First of all, you need to open a text editing program, such as Notepad or WordPad, or whatever similar program you have if you're on Linux or OSX (gay). The first thing you will want to type is this..
bin_win32\ac_server.exe

Next, you will want to begin adding the arguments, or commands. I've included some of the basic ones, as well as a few optional ones that I just use anyway on my server. For a complete list, just view the README located in the AssaultCube folder.

Arguments
-c12 Specifies the maximum number of players in the server, which go all the way up to 256; however, if you're having that many people, or even 16 or more, you better make sure you have like a T-1 connection. I have Roadrunner, which is pretty fast, and the one time that I tried allowing 16 players in my server, it lagged pretty freaking bad, so I'd do 12 at the maximum.
-n"server name" Pretty simple. My server name is |ASS| public server, so for the argument I write -n"|ASS| public server".
-o"message of the day" Whatever message you want to display when people enter the server.
-x"password" This is the password you use to claim admin status on your server, which I will tell how to do further down.
-r Loads the map config file, which is optional and will be explained further down as well. The server will work fine without this.
-B Loads a blacklist file, which bans certain players from your server. There is a kick/ban feature built into the in-game menu; however, that ban only lasts twenty minutes, whereas a player whose IP is on the blacklist will never be able to connect to the server, unless of course you take their IP out of the file. This as well will be explained further on.
-mlocalhost This command is used if you're LANing. Don't use it otherwise.


So, now that you know how to use all of these arguments, you can make your own server. As I said earlier, do it in Notepad or WordPad, and it should look something like this..

bin_win32\ac_server.exe -c12 -n"|ASS| public server" -o"you just lost the game lol" -x"mypassword" -rconfig/map_rotate.cfg -Bconfig/serverblacklist.cfg
Put a space between each argument, and make sure you DO NOT use the return key to put different arguments on different lines. Yes, this would make it more organized, but the server will not work if you do this.
Now that you have all of this done, save it as ac_server.bat and place it in the Assault Cube folder in your program files. I made a shortcut to it on my desktop so I can open it up whenever. You should have a working server now. However, chances are your server isn't going to show up on the in-game server browser. This is because the ports on your router are not properly forwarded. Here are the steps to doing that.