Difference between revisions of "Hosting a Dedicated Server in OS X"

From Bitfighter
m (Command line options)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Like linux, you can also host a dedicated bitfighter server on mac.
+
The Bitfighter program can be launched into a headless dedicated server mode by executing the program in the Terminal using the "-dedicated" argument.
Easier, you don't even have to build it, all the files are already there.
+
  
*First, locate your game, bitfighter.app
+
The core program is located at "[path to Bitfighter.app]/Contents/MacOS/Bitfighter", so just type that in and add " -dedicated" to the end and hit enter.
*Navigate through Contents > MacOS > Bitfighter
+
*Open the application terminal, located in Applications > Utilities
+
*Drag the bitfighter executable into the terminal window
+
**After that is done, type a space, and then input -dedicated
+
**press enter when your done and open the main .app game to see if your server is up
+
  
==Command line options==
+
If your copy of Bitfighter is in your Applications folder, you'd type this into Terminal:
 +
/Applications/Bitfighter.app/Contents/MacOS/Bitfighter -dedicated
  
along with -dedicated, other commands can be typed in before pressing enter.
+
This will launch an instance of Bitfighter in a headless dedicated server mode.
more than one command may be used
+
  
----
+
To make it more convenient, you can make a command file to launch it for you. Type the command into a plain text editor and save it with the extension ".command". Then give it the necessary permission: open a Terminal window, type "chmod a+x", drag the file in and hit enter.
"
+
  
-dedicated [bindAddress] starts Zap as a dedicated server
+
You can add more arguments to apply temporary settings that override settings in the bitfighter.ini. Arguments are listed at this page:
 
+
[[Command line parameters]]
-name [playerName] sets the client's name to the specified name and skips the name entry screen.
+
 
+
-levels ["level1 level2 level3 ... leveln"] sets the specified level rotation for games
+
 
+
-hostname [hostname] sets the name that will appear in the server browser when searching for servers.
+
 
+
-maxplayers [number] sets the maximum number of players allowed on the server
+
 
+
-password [password] sets the password for access to the server.
+
 
+
-adminpassword [password] sets the administrator password for the server.
+
 
+
 
+
*these methods are obsolete. there isn't really any reason to use them anymore*
+
-server [bindAddress] hosts a game server/client on the specified bind address.
+
 
+
-connect [connectAddress] starts as a game client and attempts to connect to the server at the specified address.
+
 
+
-master [masterAddress] specfies the address of the master server to connect to.
+
 
+
"
+
 
+
Excerpt: bitfighter readme.txt
+

Latest revision as of 05:34, 8 March 2017

The Bitfighter program can be launched into a headless dedicated server mode by executing the program in the Terminal using the "-dedicated" argument.

The core program is located at "[path to Bitfighter.app]/Contents/MacOS/Bitfighter", so just type that in and add " -dedicated" to the end and hit enter.

If your copy of Bitfighter is in your Applications folder, you'd type this into Terminal: /Applications/Bitfighter.app/Contents/MacOS/Bitfighter -dedicated

This will launch an instance of Bitfighter in a headless dedicated server mode.

To make it more convenient, you can make a command file to launch it for you. Type the command into a plain text editor and save it with the extension ".command". Then give it the necessary permission: open a Terminal window, type "chmod a+x", drag the file in and hit enter.

You can add more arguments to apply temporary settings that override settings in the bitfighter.ini. Arguments are listed at this page: Command line parameters