Welcome to Welcome to

Current Location:
Configuration
Configuration

If you want to configure PHPrcon, please use "install.php" in your PHPrcon directory "/install". If you want to do it by your own, read the description below.


All the configurations of PHPrcon are held in a small *.php file called "config.php". It is the same file you get to download when you hit the "Submit" button in "install.php". The configs are stored in PHP variables. It looks like this:

//User //Name $config_user_name = "rcon"; //Password $config_user_password = "rcon"; //Gameserver //IP or Domain Name $config_server_ip = "your.server.net"; //Port $config_server_port = "27015"; //rcon password $config_server_password = "YOURPASSWORD"; //Number of pages of maps that are sent from the server $config_map_amount = 1; //relative path to the selected theme, from PHPrcon root dir $config_theme = "basic"; //1 = a small helptext will be displayed on top of every page; 0 = no helptext $config_helptext = 1; //language of PHPrcon $config_language = "english"; //1 = PHPrcon is running on the same server as your Gameserver, 0 = PHPrcon is running anywhere $config_localserver = 1; //List of Config Files //absolute path to the xxxx.cfg that should be editable in PHPrcon //(if $localserver = 0 this has no effect at all) $config_file[0] = "C:/tmp/config.cfg"; $config_file[1] = "C:/tmp/server.cfg";

Description:

· $config_user_name
  The name you use to log into the private part of PHPRcon

· $config_user_password
  The password you use to log into PHPrcon. (PLEASE CHANGE THIS PASSWORD)

· $config_server_ip
  The IP of your Halflife or HalflifeMod server. Can be IP or domain name

· $config_server_port
  The Portnumber of your Halflife or HalflifeMod server.

· $config_server_password
  The rcon password of your Halflife or HalflifeMod server. Be carefull
  to fill in the correct rcon password. After several times logging in with
  the wrong password, your IP will get banned permantly. I know what I am
  talking about :(

· $config_map_amount
  The number of rcon-protocoll pages of maps sent from the gameserver.

· $config_theme
  The theme you chose for PHPrcon. Standard = "basic"

· $config_helptext
  0 = display no help on top of every side, 1 = display help.
  Standard = "1"

· $config_language
  The language you chose for PHPrcon. Standard = "english"

· $config_localserver
  0 = Webserver and Halflife or HalflifeMod are on different machines,
  1 = Webserver and Halflife or HalflifeMod server are on same machine.
  If set to "1", you can edit configuration files in the webinterface.
  Standard = 0

· $config_file[0] / $config_file[1] / ...
  The absolute path to the config files. Every config file has its own
  array key. They should be in numerical order starting with 0




Global Stuff
· News
· News Archive
· About
· Screenshots
· Team
· Thanks

Download
· Download
· Patches
· Themes

Documentation
· Installation
· Configuration
· Templates
· Development with PHPrcon

Fun Stuff
· Most Famous EMails

Contact
· Forum
· EMail

Last Update: 20 Mar 2003


Gamewarriors
SourceForge Logo