Difference between revisions of "Frequently Asked Questions"

Line 68: Line 68:
 
== Linux FAQ ==
 
== Linux FAQ ==
 
=== Configure the website on port 80 ===
 
=== Configure the website on port 80 ===
 +
By default, the TCAdmin website user runs with a normal account. Normal users can't open ports lower than 1024. To work around this you have to redirect port 80 to 8880 using iptables.
 +
 
'''''** THIS WILL NOT WORK IF YOU ALREADY HAVE ANOTHER WEBSITE ON PORT 80 **'''''
 
'''''** THIS WILL NOT WORK IF YOU ALREADY HAVE ANOTHER WEBSITE ON PORT 80 **'''''
By default, the TCAdmin website user runs with a normal account. Normal users can't open ports lower than 1024. To work around this you have to redirect port 80 to 8880 using iptables.
 
  
 
  iptables -A PREROUTING -t nat -p tcp --dport 80 -j REDIRECT --to-port 8880
 
  iptables -A PREROUTING -t nat -p tcp --dport 80 -j REDIRECT --to-port 8880

Revision as of 20:13, 15 July 2012

General

There are no game servers available on the selected server

TCAdmin does not include dedicated game files. STEAM based games are freely available for download via STEAM. TCAdmin generates download scripts for steam games. You can find the scripts in C:\TCAFiles\Games or /home/tcadmin/tcafiles/games.

Some games have free downloadable dedicated server files for them, others will require you to install the game to your computer, zip or compress the game directory, and upload the files to your server. You must place the game's files in its sub directory in C:\TCAFiles\Games or /home/tcadmin/tcafiles/games.

Default Ports Used by TCAdmin

Windows

Web/Monitor
8880, 8881 TCP
FTP
8821 TCP
FTP Passive Mode
5000 to 5100 TCP

Linux

Web
8880 TCP
Monitor
8890, 8891 TCP
FTP
8821 TCP
FTP Passive Mode
5000 to 5100 TCP

Supported Compression Formats

See Compression

Game Configuration

Why do Linux Game Details Show Less Options

Game servers that run on both Windows and Linux usually always have the same configuration. Only the executable name changes. To avoid duplicate configurations the Windows version of the config has been configured to be a template for the Linux config. If you want to make specific changes to the Linux version select the Templates tab and clear the template feature.

Disable Text Editor for a Single File

  1. Go to General Settings > Games
  2. Select the game's details and select the File System Permissions icon.
  3. Expand subadmin, reseller or user.
  4. Click on "Add permission by file name".
  5. Enter the file name that you want to block.
  6. Select "No permissions".
  7. Click on the Add button.
  8. Click on the Save button.

You can also use "Add permission by file path". The difference is that this option will only block the file in the specified path. You can have files with the same name in other folders and they will not be blocked. "Add permission by file name" blocks a file with that name in any folder.

Allow Access to *.jar, *.dll and *.so

WARNING: Services run as a guest account by default but this is still a security risk.

  1. Go to General Settings > Games
  2. Select the game. If you are running Linux you will have to select the Windows version of the game. For more information see Why do Linux Game Details Show Less Options
  3. Select the File System Permissions icon.
  4. Expand subadmin, reseller or user.
  5. Expand "Add permission by file name" and select the permission.
  6. Remove *.jar, *.dll or *.so from the list.
  7. Click on the Update button.
  8. Click on the Save button.

Configure Mods

Each mod installation is different depending on the game. We can only give you an overview of what you might need to do when configuring a mod in TCAdmin. Read the Mod Configuration Page for details.

Windows FAQ

Configure the TCAdmin website to run with IIS

** THIS IS NOT OFFICIALLY SUPPORTED. DO NOT CREATE A SUPPORT TICKET IF IT DOES NOT WORK FOR YOU **

  1. Manually create the website in IIS Manager with its web root pointing to Program Files\TCAdmin2\ControlPanel
  2. Make sure the user that runs your website has full permissions on the ControlPanel, Cache, Temp, Logs and Database folders and read permissions on Monitor\Shared.
  3. (optional) To disable the built in web server: Execute this query on your database. Make a copy of the values so you can add it back to tc_server_enabled_components in case anything goes wrong. Delete that row and restart the monitor to disable the built in website.
SELECT * FROM tc_server_enabled_components where server_id = 1 and module_id='07405876-e8c2-4b24-a774-4ef57f596384' and component_id=2;

Linux FAQ

Configure the website on port 80

By default, the TCAdmin website user runs with a normal account. Normal users can't open ports lower than 1024. To work around this you have to redirect port 80 to 8880 using iptables.

** THIS WILL NOT WORK IF YOU ALREADY HAVE ANOTHER WEBSITE ON PORT 80 **

iptables -A PREROUTING -t nat -p tcp --dport 80 -j REDIRECT --to-port 8880
service iptables save

You can do the same for the ftp port: Redirect 21 to 8821

Enable HTTPS for the control panel website

Add this line to /home/tcadmin/Monitor/tcadmin-config, open the port in your firewall and restart the monitor.

SECURE_WEB_PORT="8881"

Use custom SSL certificate

Specify the certificate file and private key file (.pvk) in /home/tcadmin/Monitor/tcadmin-config. Make sure the tcadmin user can read these files.

CERT_FILE="your-cert.cer"
PK_FILE="your-key.pvk"
Retrieved from "https://help.tcadmin.com/index.php?title=Frequently_Asked_Questions&oldid=771"