With the release of the latest version of TCAdmin, we have introduced "Secondary Applications". This feature allows you to specify a second application which is tied to the user's primary game or voice server.
This feature can be used for any number of uses, such as HLTV, BF2CC Manager, BlackbagOps server manager etc..
What it allows you to do is specify a secondary app that will show under a special section of the users panel. It has the ability to point to an .exe within the users folder, or outside of the users folder. There have been some new variables added to the system which allow you to specify commands from the primary service, and pass them to the secondary service. Variables such as server ip and port can be passed to this secondary app to create a commandline.
So how do you create and install a secondary app? Well here we go...
1. Create a TCAdmin game configuration for the secondary app. All configuration variables, filepaths etc.. can be used for this app. basically it's like creating a whole new game config for it. You can specify work directory, config files and even the commandline. You can also use config variables from the main game or voice service. here are a list of the new variables. They function the same way as server variables, but pull the data from the primary service.
%primary_serverip%
%primary_serverport%
%primary_queryport%
%primary_rconport%
%primary_slots%
%primary_isprivate%
%primary_usersfilespath%
%primary_gameserverroot%
%primary_customport1%
*** We have also added the %bf2ccpassword% variable to be used with the BF2CC Server Manager. This variable will take the rconpassword that you enter at setup, and encrypt it via MD5 as is needed by the BF2CC manager program.***
2. Now we need to add the secondary app to the primary gameserver. To do this goto System Seetings>Supported Games and click on the primary game service. At the bottom of the screen, click on the "Secondary Application" icon.
3. Click the "new" button and you should see a screen similar to below.
The following configuration variables are availible to the secondary application system.
Install Files in a seperate folder - this tells TCAdmin to install a full set of files in a seperate folder than the primary gameserver. Leaving this unchecked means that the secondary app does not need its own set of files, rather it will use the files already in the primary gameserver's folder. Example: HLTV uses the hltv.exe file located in the primary gameserver's folder.
Stop game Server before installing - this option will stop the gameserver before copying files or creating the new service for the secondary application.
Optional - if this box is checked the secondary application will not be installed along with the gameserver via the automation screen. If the box is not cheked, then TCAdmin will install this secondary application right after it finishes the main gameserver install from the "Create a Game and Voice Server" screen within TCAdmin.
Allow User Installation - by checking this box, TCAdmin will allow a user to install this secondary application. If the box is unchecked, only TCAdmin administrators may install the application.
Ask for Hostname - this will prompt the user or admin for a hostname variable, which will be used when the secondary app is installed.
Ask for Private Password - this will prompt the user or admin for a private password, which can be used in config files or commandlines for the secodary application.
Ask for Rcon Password - this will prompt the user or admin for an rcon password that can be inserted into config files and/or commandlines for the secondary application.
Once you are finished, click then "save" button to save your new secondary application.
5. To install your secondary application, login to your panel and goto a Game Service that has the secondary application configured for it. Click on the "Secondary Application" icon, and then choose to install the app.
For those of you that would like to, we have created a config for HLTV as a secondary app. You can download the config file from the downloads section at http://esupport.tcadmin.com/index.php?_m=downloads&_a=viewdownload&downloaditemid=5&nav=0
4. Choose the application from the list. This will be the app you created a config for to be used as a secondary application.
- 166 Корисниците го најдоа ова како корисно