NOTICE: The wiki has undergone updates and everything is running smoothly. I am still working on the CSS so there are a few minor visual kinks.
Server Setup
From JAWiki
[edit] What you will need to setup a server
* A broadband (Cable, DSL, T1) Internet connection. Upload bandwidth is what matters for servers. The more you have, the more players you can host.
* A Pentium III 700 MHz or faster computer, the faster the better.
* The game installed and patched to the latest version (1.01patch for Jedi Academy).
* The Dedicated Server program for JediAcademy and operating system (Windows or Linux).
[edit] Getting started
You will need a config file to configure the server. The config file is where you set the server name, rcon password, time limit, frag limit, map rotation, number of players, etc. The config file is a simple text file that you can create with Wordpad, Notepad, or any other text editor. Here is a sample server config file:
seta sv_hostname "Server Name"
seta g_motd "Greeting Message"
seta rconpassword "Password"
seta g_allowvote "0" // 0 to disable voting, 1 to enable voting
seta g_dismember "100" // the percentage (%) of time dismemberment will occur
seta g_filterBan "1" // 1 allows players to be banned from the server
seta g_forceRegenTime "200" // this default setting is recommended
seta g_forcepowerDisable "0" // disables Force powers based on a calculated bit-value
seta g_friendlyFire "0" // 1 means your weapons can damage teammates
seta g_gametype "0" //For JA: FFA 0, Duel 3, Power Duel 4, TFFA 6, Siege 7, CTF 8
seta g_inactivity "300" // kicks off idle players after 300 seconds
seta g_logClientInfo "1" // some player information will be recorded in the log
seta g_log "games.log" // the filename of the log file
seta g_locationBasedDamage "0"// damage depends upon what is hit (JA only)
seta g_maxForceRank "7" // sets the maximum Force rank available to players (1-7). 7 is Jedi Master Force points (100)
seta g_password "yourpassword" // remove the leading // to activate, change password to "none" to deactivate
seta g_privateduel "0"// If 1 then one player can challenge another to duel in FFA
seta g_saberdamagescale "1" // controls the damage caused by lightsabers
seta g_teamAutoJoin "0" // If 1, new players are automatically placed on a team
seta g_teamForceBalance "0" // 0 allows numerically unbalanced teams
seta g_weaponDisable "0" // disables weapons based on a calculated bit-value
seta g_doWarmup "0"// If 1, there will be a warmup period set by g_warmup before the game begins (JK2 only)
seta g_warmup "30"// If g_doWarmup is 1, the length of the warmup period in seconds (JK2 only)
seta sv_maxclients 8 // the maximum number of players you will host. Related to your upload bandwidth and sv_maxrate
seta sv_maxRate 4000 // Related to your upload bandwidth and sv_maxclients. 4000 is the minimum for decent ping
seta sv_maxping "500" // only clients with pings lower than this can connect
seta sv_reconnectlimit "5" // number of times a client can attempt to connect
seta sv_zombietime "10" // seconds before a disconnected client is dropped
seta sv_pure "0" // 1 prevents some cheats but also use of skins and other files
seta sv_allowDownload "0" // 0 means the server won’t try to send files to the client
seta sv_allowAnonymous "0" // 0 prevents players joining anonymously
seta sv_timeout "200" // seconds before a client attempting to connect is dropped
seta sv_PrivateClients "0" // reserves and subtracts this # of slots from public slots
seta sv_PrivatePassword "" // the password to access reserved private slots
seta fraglimit "100" // a player wins if they score this before time runs out. For Duel, number of duels to win one round
seta duelFragLimit "10"// For Duel, the number of rounds to win the map\game
seta capturelimit "10" // number of flag captures to win and end a CTF game before time runs out
seta timelimit "20" // minutes that each map runs
seta logfile "1" // generates the logfile named by g_log above
seta g_autoMapCycle "1" // set this to 0 if you will use a custom map rotation
map "your_starting_map" // you MUST state a starting map or the server won't start
// For a custom map rotation, use this design. You must remove the // in front of the lines to use them.
seta g_autoMapCycle "0"
//set m1 "map NameOfFirstMap;set nextmap vstr m2"
//set m2 "map NameOfSecondMap;set nextmap vstr m3"
//set m3 "map NameOfThirdMap;set nextmap vstr m4"
// and so on and so on until you get to the last map in the cycle
//set m4 "map NameOfLastMap;set nextmap vstr m1"
//vstr m1 // this tells the server to start the first map in the custom rotation
Edit the file to make your settings, then save it as either autoexec.cfg or server.cfg. Place the file in the server's base folder (this is for a basic server without any added mods).
Note: all of the lines have to be on one line each (no text wrap) and none of the settings can be more than 256 characters long.
