Setting up a basic Jaymod server is VERY easy, but configuring the .cfg files can take a lot of time, so youâ€™ll have to be patient, and follow along with the Jaymod documentation. Everything you really need to know about Jaymod is in there, and if you take the time to read it youâ€™ll have a better understanding of how all the features and commands work.
The first thing you want to do is find a game server host that fits your needs, and make sure you have access to the ET command line (which the server host will provide) and FTP.
Download your preferred version of Jaymod at http://www.jaymod.clanfu.org/download.php and unzip its contents into a folder.
I. Configuration files
This is the file that will hold the basic configuration for the server itself. You can download a sample .cfg from the link below and edit the variables as needed. All the variables are explained in the file itself:
One thing you need to know about is BITFLAGGED variables. These are variables that you have to add together. For instance, ice cream = 1, sex = 2, and candy = 4. If you want ice cream and candy, you would put â€œ5â€ as your value. If you just want sex, you would use â€œ2.â€ These show up a lot in the Jaymod config. Not ice cream, candy, and sex, but you know what I mean
Notice the two lines at the end of server.cfg:
â€œexec maprotation.cfgâ€ refers to the file that contains the order of the maps. If this line is missing or incorrect, your server will hang! i.e. â€œAwaiting Connectionâ€¦.1â€¦..2â€¦.3â€¦â€¦â€¦â€¦35â€¦â€¦â€¦..100â€
â€œexec jaymod.cfgâ€ is required in order to load Jaymod. If itâ€™s not there, stock ET will load.
Also, thereâ€™s a place in the file where you can specify where users can download files from the server. If you have custom maps and youâ€™re using Jaymod, youâ€™ll need to allow your players to download the maps and Jaymod client. Unfortunately, ET runs an incredibly SLOW download speed, so you have to set up a redirect. Redirects can be tricky, but if you search the forums youâ€™ll find many posts on how to configure them.
Inside the Jaymod folder, youâ€™ll see â€œjaymod.cfg-sample.â€ Rename it to â€œjaymod.cfg and open it in a text editor. This is where youâ€™ll configure all the Jaymod-specific features that you want on your server. It is VERY important that you follow along with the included documentation, because every variable in the jaymod.cfg file is explained clearly to help you avoid any problems with configuration. This will take some time to set up.
The shrubbot.cfg file is the self-updating file that specifies your admin levels and permissions, as well as who the admins are and what they can do. The flags and config for shrubbot.cfg are explained on pages 39, 40, and 41 of the documentation. Download a basic one from here and modify it to your needs:
For more detailed information, see this post:
Put this in your Jaymod folder.
For the purpose of simplicity, weâ€™re going to set up a single-map objective server using a file weâ€™ll name â€œmaprotation.cfg.â€ First, you need to figure out what maps you want on your server, gather them up, and put them in their own folder on your desktop, for now. Download this utility:
Run the utility and add all the maps from the folder you just made, then save the file as â€œmaprotation.cfg.â€
Note: When you download maps, avoid changing the .pk3 file name, because that name usually reflects the name of the .bsp map file located insideâ€¦and a mismatch can cause problems!
II. Command Line
Now you have to set up your command line. This is how a basic command line should look, with most the â€œsetâ€ commands already having been added to server.cfg:
Code: Select all
\...\ETDED.exe +set com_hunkmegs 128 +set fs_game jaymod +set sv_punkbuster 1 +exec server.cfg
III. Upload Files
This is the easiest part, as long as you put the files where the server can find them. For the sake of this tutorial weâ€™ll follow the standard rules, but youâ€™ll realize there are many other ways to organize your files.
1. Start by opening your FTP utility to the root of the ET installation. This is the folder that contains ET.exe, ETDED.exe and maybe a few other files and folders. Create two folders: â€˜etmainâ€™ and â€˜jaymodâ€™ (if they arenâ€™t there already). For simplicity, try to keep everything here lowercase.
2. Upload all your maps to the â€˜etmainâ€™ folder.
3. Put the â€˜server.cfgâ€™ and â€˜maprotation.cfgâ€™ files in the â€˜etmainâ€™ folder.
4. Upload ALL the Jaymod files into the â€˜jaymodâ€™ folder on the server, including â€˜shrubbot.cfgâ€™ and â€˜jaymod.cfgâ€™
Some people here will argue that these files should go elsewhere, and they can, but this type of installation is proven to work without difficulty. Once you get more experienced you can start moving shit around.
IV. First Run
Now that you have all your files up, itâ€™s time to run the server for the first time. You may have to keep going back to change the configs as needed, and youâ€™ll probably have a few problems. To start the server, you should have an option (usually where you find the command line) to Start/Stop the server. Stop the server first, if it isnâ€™t already, then start it up again. Your game should now load Jaymod and execute the first map in your map cycle.
If you're not sure whether Jaymod is running (which you should!), you can always hit your ESC key in game and look for the colorful Jaymod menu.
Next you need to make yourself an admin. Remember the RCON password you set up in server.cfg? You need that to log in to RCON. Bring down your console with the ~ key and type:
Code: Select all
Code: Select all
/rcon setlevel <player> <level>
And thatâ€™s pretty much it! A few notes though:
- Capt. Obvious: If you change a config file on your computer, don't forget to re-upload it to the server.
- If you make a major change to a config file and you don't see it take effect, try /exec filename.cfg in the console or restart the server. Some changes actually do require a restart, though.
- You can use RCON to re-set just about every CVAR in your config files. There's â€˜setâ€™ or â€˜setaâ€™. â€˜setâ€™ is temporary, while â€˜setaâ€™ will write that value to the configs, thus permanent.
- RCON sets follow this format:
Code: Select all
/set <variable> <value> i.e. /set g_speed â€œ500â€
- Most every shrubbot command can be done silently in RCON, regardless of your set admin permissions. For instance, â€˜!ban v-dawgâ€™ would be â€˜/rcon ban v-dawgâ€™. â€˜!listplayersâ€™ would be â€˜/rcon listplayersâ€™. You donâ€™t need the â€˜!â€™ when using admin commands through the console.
- Getting shrubbot to work can be tricky at times. Some people prefer to start their server without one, because Jaymod will auto-generate its own shrubbot.cfg if there isn't one already. Then all you have to do is open, edit, upload, then restart the server. Keep in mind that Jaymod auto-configures two levels: 1 and 0. 0 = no powers, 1 = all powers. You can easily RCON yourself to level 1.
Also, the shrubbot.cfg updates itself when new admins are set in-game, so you never really need to edit shrubbot.cfg unless you want to change permissions of a particular admin.
- IMPORTANT: If you want your shrubbot and XP save to work properly, you MUST have Punkbuster enabled. These features use a GUID identification system that only PB provides. This is set in the command line as
Code: Select all
+set sv_punkbuster 1
Good luck, bitches.
If anyone has corrections for this post, PM me