Difference between revisions of "Hosting a Dedicated Server on a Mac"
Line 1: | Line 1: | ||
To host a dedicated server on OS X, follow these instructions. | To host a dedicated server on OS X, follow these instructions. | ||
− | Setup: | + | ==Setup:== |
*1. Locate your Bitfighter app. | *1. Locate your Bitfighter app. |
Revision as of 18:23, 14 October 2013
To host a dedicated server on OS X, follow these instructions.
Setup:
- 1. Locate your Bitfighter app.
- 2. Right click and choose "Show Package Contents."
- 3. Double click on the "Contents" folder.
- 4. Double click on the "MacOS" folder. Inside should be an item labeled "Bitfighter."
- 5. In a new Finder window, browse to your Applications folder. Scroll down and double click on the Utilities folder, then scroll down some more and open the Terminal application. Wait a few seconds for the Terminal window to load fully; some sort of text should appear on the window.
Through Terminal you will be able to run a dedicated Bitfighter server.
- 6. Drag the Bitfighter item from the MacOS folder onto the Terminal window. Basically, this action writes the path from the harddrive to Bitfighter, allowing Terminal to work its magic. Depending on where Bitfighter is located on your computer you can write this path manually, but it's generally easier - and faster - to simply drag and drop.
- 7. Add a space, then type "-dedicated" (without quotes) to establish your server as a dedicated server.
If you hit enter right now, you'll have a functioning Bitfighter dedicated server. Check for the "Welcome to Bitfighter!" message to appear on the Terminal window to ensure you've done everything right so far.
Adding commands:
We need to add some commands to make this server come alive. Consider writing the following commands, replacing <name> with the word of your choice. (For multiple words, use quotes.)
-dedicated -hostname <name> -hostdescr <description> -adminpassword <password> -levelchangepassword <password>
An example server might have a Terminal window looking like this:
BitfighterPlayer$ /Users/BitfighterPlayer/Desktop/Bitfighter.app/Contents/MacOS/Bitfighter -dedicated -hostname meow -hostdescr "meeeeeeeow meeeeow" -adminpassword whiskers -levelchangepassword kittens
You can find additional commands in the Command line parameters page, under "Options for Hosting."
Tip: Terminal remembers old commands. After closing Terminal, reopen it and press the Up arrow key. The last command you inputted will appear. Through this method you can avoid having to type all of the server commands for each time you wish to host a dedicated server.
Go back to Hosting a game.