Hi Everyone,
I desided to spend some time making a tutorial since there are people out there who want to know how to do it, So here... i Begin.
Making a Home Host Jedi Academy Server Tutorial. (Note: Most home hosted server's tend to be very laggy depending on your connection speed and where your geusts are from.
) ////////////////////////// Contents: 1: Desiding the mod
2: Server Configuration (Includes Template and full description)
3: Files in the correct directories
4: Hosting the server!
5: Popular server-side mods
////////////////////////// ////////////////////////// //Desiding the mod. //////////////////////////
Ok first you need to deside on which mod to use, I'll write how to make a BaseJKA server, I have listed the well known server-side mods down at the bottom of this post.
Ok, Now you need to make sure you have the latest JAmp Dedicated Server files:
(Windows:
JK3 Dedicated Server for WIn32 (1.011)
Linux:
JK3 Dedicated Server for Linux (1.011))
Make sure you have these files placed in your 'GameData' Folder.
If your on windows and use 1 primary hard drive, Then this should take you to the folder you need to place these files in:
C:\Program Files\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\ ////////////////////////// //Server configuration //////////////////////////
Once you have the right files for Dedicated hosting, You then need to configure the 'Server.cfg' (Open in Notepad/WordPad) which contains the core information of the server for example (The Server Name; Time Limit; Frag Limit (Kill Limit)).
Just so you know, The .cfg (Configuration) file that you first get is far from incomplete, Therefore i wrote a cfg template you can just copy into the 'Server.cfg' and complete the rest easily yourself:
Code:
seta sv_hostname "-"
seta g_motd "-"
seta g_gametype "3"
seta rconpassword "-"
seta sv_master1 "masterjk3.ravensoft.com"
seta sv_master2 "master0.gamespy.com"
seta sv_master3 "master.qtracker.com"
seta sv_master4 "clanservers.net"
seta sv_master5 "masterjk3.ravensoft.com"
seta sv_allowdownload 1
seta g_password "-"
seta snaps 20
seta g_inactivity 0
seta sv_maxRate 10000
seta g_allowvote 1
seta timelimit 0
seta capturelimit 0
seta g_autoMapCycle 0
seta disable_item_medpak_instant -
seta disable_item_medpak -
seta disable_item_medpac -
seta disable_item_shield_lrg_instant -
seta disable_item_shield_sm_instant -
seta g_weapondisable 524278
seta g_friendlyfire "-"
seta g_friendlySaber "-"
seta sv_floodProtect "-"
map mp/duel1
(Replace the '-' in the speech marks to enable what you want)
Ok, Copy that into the 'Server.cfg' via "NotePad" or "WordPad".
Now i'm going to go through each line of the configuration template so you know what to set to the way you want it:
-
sv_hostname, This controls the server name that will publicly be shown on the Jedi Academy Server List.
-
g_motd, This controls the loading message known as "Message of the day"
-
g_gametype, This controls the Game Type, Here are the codes for each avalible game type:
(0 = Free For All, 3 = Duel, 4 = Power Duel, 6 = Team Free For All, 7 = Siege, 8 = Capture the flag.) Replace the '-' in the speech marks in the 'Server.cfg' file to enable that Game Type.
-
rconpassword, This is the pasdword that you set for in-game use, It's allow's you to control/administer inside instead of outside your server, Allowing you to kick or ban players or change any server setting.
-
Server Masters, You do not need to worry about these.
-
sv_allowdownload, It is highly recommended you have this set at '0', Due to the fact that most people in Jedi Academy these days can download your 'Server.cfg' and get all the server information to change what they want on your server. But it is up to you, If you allow public downloads, They will be able to download the required base files from either your computer or the server host.
-
g_password, This is used to stop geusts coming to your server, By placing your own password after 'g_password', The server will become private and only the people you give the password to will be able to get in.
-
snaps, This will help improve everyones fps rate and make everyone less jumpy.
-
g_inactivity, This is handy for popular server's, If you have innactive players, This will automaticly kick innactive players off the server to allow more to enter. The digits/numbers you put after 'g_inactivity' works in seconds for example (seta g_inactivity 120 - Anyone who hasn't moved in 2 minutes will be automaticly kicked from the server but not banned)
-
sv_maxrate, This sets the maximum allowable rate a client may have set when connected to the server, If you set this to 0, It becomes unlimited.
-
g_allowvote, If enabled, This allows players to vote in your server to do the following (Warm up, Restart Game, Change maps, Kick a player (But not ban) Change the gametype, Change the fraglimit (Kill limit) and Change the time limit)
-
disable_item_medpak_instant, If this is set to '1', It will disable all Health Packs in the map
- disable_item_medpak, If this is set to '1', It will disable all medication packs in the map
- disable_item_shield_lrg_instant, If this is set to '1', It will disable all the bigger health packs in the map
- disable_item_shield_sm_instant, If this is set to '1', It will disable all the small health packs in the map
- g_weapondisable, This controls the weapons that you have in the server, For example:
(Set it to: "524278" - It will disable all weapons but not LightSabers.
"0" - It will enabled all the weapons avalible in-game)
- g_friendlyfire, If this is set to '1', You can kill your partner in the following game modes:
Team Free For All, Power Duel, Siege, Capture the flag
- sv_floodprotect, It is recommended your have this set to '1', So that no one can crash the server by say bind spamming. If you enable this, It will Prevent anyone talking 5 seconds after their previous sent message.
//////////////////////////
//Files in the correct directories
//////////////////////////
To host a baseJKA server, You need to make sure these files are in the correct directories:
jampDed.exe - C:\Program Files\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\
server.cfg - C:\Program Files\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\base\
//////////////////////////
//Hosting the server!
//////////////////////////
Ok, Now you have everything set, Your next and second last step will be to double left-click on "jampDed.exe" to bring up the baseJKA server-side dedicated host, Let it load for about a minute.
Once you have done this, Type in the console for following:
/exec server
Let it load for another minute, And it is done!
//////////////////////////
//Popular server-side mods
//////////////////////////
JA+
Clan Mod
Open Jedi Project Enhanced 1.2
-----------------
If anyone has any problems with anything related to server hosting for Jedi Academy, Reply with your question and i'll get back to you
.
Many Thanks
NineTales