Results 1 to 4 of 4

Thread: The Bear Essentials To Running A Server

  1. #1

    Lightbulb The Bear Essentials To Running A Server



    "The Bear Essentials To Running A Server"
    A guide by the leaders of SPACEBEARS
    Snowball & doppel
    Here is a guide to running your own competitive highlander server for the United Gaming Clans league. Most of this could be used with minor modification to run a 6v6 or public server. You do not need your own server to compete in UGC. UGC offers plenty of free servers that you can book for specific dates and times. You could also request the other team to provide a server, as long as they have one. However, if you can financially afford it, having your own server is very convenient.


    UGC requires that you purchase a professionally hosted server (no hosting your own on a personal server). Most gaming servers are from NFO servers (www.nfoservers.com), even servers bought elsewhere are more than likely just resold NFO servers. Keep in mind when purchasing a server how many server slots you will need. For Highlander there are 9 players per team for a total of 18 slots. However, you will need an additional slot for the SourceTV, which is mandatory when running a UGC match. So a highlander server has a minimal requirement of 19 slots. Some packages will come with a free Mumble server too.


    Once your server is setup you can start and stop your server in the website’s Control Panel. If your server doesn’t auto-update you can usually stop and then start it to initiate this process. Your control panel will also have any information you will need to operate and setup the server. It will have your server IP and connection information.

    While logged into your control panel be sure to set your sv_pure to 1 so that the configs will be able to adjust this as needed. "When sv_pure is set to a non-zero value on the command line, it can later be changed through rcon, autoexec.cfg, server.cfg, or other configuration mechanism (because the change occurs at the next map change, we recommend setting it in autoexec.cfg, before the first map is loaded)" (NFOservers).


    Next you will need to setup a FTP (File Transfer Protocol) connection with your server. There are programs you can download to do this, some free like FileZilla (filezilla-project.org) but it can be done in Windows Explorer for those running a Microsoft Windows operating system. You can search for Windows Explorer in your start menu or just open a folder. Insert your server’s IP (Internet Protocol) address into the address bar at the top of your folder preceded by “ftp://” (e.g.: ftp://ugc.highlander.nfoservers.com). It will then prompt you for your username and password, and even has an option to save credentials.


    Once you have connected you will want to navigate to tf/cfg/ and copy the server.cfg to your computer. Now open the server.cfg on your computer to edit. Most gaming servers come preconfigured, so you will find numerous cvars in here along with their descriptions.


    Copy the following into the top of your server.cfg if it’s not already there:


    Code:
    // Server info
    hostname "UGC Highlander Server"
    sv_password "password"
    rcon_password "rcon"

    Change the hostname to whatever you want the server to be named. The sv_password is the password to log into the server and the rcon_password is the password needed to do admin commands. Make sure these two passwords are different. Change the content in the quotations to your desired values. Copy and replace the server.cfg back to your server in the cfg folder.


    Next download the UGC HL Server Config Files and Whitelist from here www.ugcleague.com/files_tf2h.cfm. Extract and upload these files to your server’s cfg folder.


    All of the official maps will come installed on your Team Fortress 2 gaming server. With that said, some maps used during the UGC season are not official maps. UGC always provides downloads to any additional content needed on their downloads page (http://www.ugcleague.com/files_tf2h.cfm). Download the maps, extract the files, and upload them to your server’s /tf/maps/ folder.


    Some people use an additional program to run their server; I have found this to be unnecessary. To operate your server, make sure your console is activated in Team Fortress 2. You can enter rcon commands after joining the server or by entering into the console: “rcon_address 111.222.333.444:27015; rcon_password password”

    You can bind the rcon login to a key for ease of use e.g.
    Code:
    bind F12 rcon_address 111.222.333.444:27015; rcon_password password

    We also installed the correct config for each map type in the cfg folder. They are as follows:

    Code:
    rcon exec "ugc_HL_standard.cfg" // for CP (Control Point) maps
    rcon exec "ugc_HL_stopwatch.cfg" // for PL (Payload) and AD (Attack/Defend) maps
    rcon exec "ugc_HL_koth.cfg" // for KOTH (King Of The Hill) maps
    rcon exec "ugc_HL_ctf.cfg" // for CTF (Capture The Intel) maps
    The config should be exec’ed before changing maps or alternatively you can reload the map after exec’ing the config by running the changelevel command a second time.

    Code:
    rcon exec "ugc_hl_gametype.cfg"
    rcon changelevel "map_name"

    When changing the map for your match or scrim; you need to know the full map name to do this, ie: cp_gullywash_final1. It helps if you type in changelevel and the map name without rcon because Team Fortress 2 will autofill with the map names you already have installed. Then add rcon to the front before hitting enter.


    An example would be:


    Code:
    rcon_password "rcon1"
    rcon exec "ugc_HL_standard.cfg"
    rcon changelevel "cp_process_final"
    If you ever wish to return your server to it’s default configuration, exec the “ugc_off.cfg” This will remove any of the league configs.

    When properly exec'ed, your console will look like the image below:


    UGC requires SourceTV be active for every match. If for some reason it is not, try changing the map to the same map again. As mentioned before, SourceTV does require a slot. NFO regulates this on it's own, but if your server does not you can add these following commands to your server.cfg:

    Code:
    sv_visiblemaxplayers "-1"
    sv_visiblemaxplayers "19"

    You are now ready to play. GL HF!


    Additional Information:


    Most teams will expect you to upload logs to a log parsing site that will generate stats (e.g.: logs.tf or tf2logs.com). Navigate to your /tf/logs/ on your server via FTP. You will likely see a lot of logs with a name similar to l0420000.log. The letter “L” is for log, “04” is the month (April), “20” is the day and “000” is the number of log from that day. A log from a full scrim or match will also be hundreds of kilobytes, where as a lot of the files will be less than 10 KB. You will have to figure out from here which one you are looking for… more than likely the most recent, and copy it to your computer. Then navigate to your parsing site of choice, you will likely have to sign in through STEAM, and locate the upload log page. From here you will be able to add or browse for that file (likely drag and drop) and upload it to their site.


    There is a package provided on logs.tf that includes several plugins that will streamline everything. LogsTF will automagically upload the logs at the end of every match. Then there’s Super Stats and Medic Stats which will give you additional information for your logs. These require another mod called SourceMod and extension files called cURL in order to function. This requires a little more effort upfront, but in my opinion is worth it in the long run. You can find the download and instructions here http://logs.tf/uploader#logstf.


    SizzlingStats is a server plugin that allows you to view your stats during gameplay. It is a lightweight mod that that doesn’t require any other plugins. You can download and view the instructions for installation here http://teamfortress.tv/thread/5980/?page=1
    Last edited by Fornaught; June 5th, 2014 at 07:13 PM. Reason: removed Word doc quotes

  2. #2
    Member Unic0rnSunshine's Avatar
    Join Date
    Nov 2012
    Location
    West Babylon, NY
    Posts
    119

    Default

    To add onto this, if you guys don't want to write out the full rcon commands every time, I made a shorthand alias for most maps in the UGC rotation (HL and 6s)

    http://pastebin.com/fX28eEnM

    Excellent guide, btw, doppel! There are a lot of leaders who could learn a lot about servers from this.

  3. #3

    Default


    I should like to add an addendum:

    Although most servers are NFO servers, UGC is sponsored by gameservers.com. Thus buying your server through Game Servers supports UGC. Additionally, Game Servers claims to be the #1 game server provider. Furthermore, there have been many instances in the past where everyone owned a NFO server. NFO would then go down or start experiencing serious connection issues and because everyone owned servers hosted by the same provider, no one was able to play. Having a server hosted outside of NFO will actually give you an edge and make it less likely that both teams' servers will be unavailable. Also keep this in mind if you do have an NFO server and you are experiencing issues, you can go through the steps in your leader command panel on the UGC website under Match List to book a server or by clicking here. This is an automated process with a minimal wait time of twenty minutes.

  4. #4

    Default

    can you use serverme.tf

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •