Modules/whmcs/install
From GameCPWiki
Contents |
[edit]
Requirements
- GameCP WHMCS Module installed to your WHMCS system
[edit]
WHMCS 4.x Installation
[edit]
Installing the module
- Download the GameCP WHMCS 4.x module.
- Unzip the module
- Upload the "gamecp" folder to your WHMCS modules/servers folder.
- create new product group
- create new product
- config options - create new group
- config options - create new option for 'Players'
[edit]
WHMCS 3.x Installation
[edit]
Installing the module
- Download the GameCP WHMCS 3.x module.
- Unzip the module
- Upload the "gamecp" folder to your WHMCS modules/servers folder.
[edit]
Servers
In WHMCS goto Configuration > Servers > Add New Server
Fill out the following with your master servers info:
- Name
- Hostname
- IP Address - set this to the url (without http://) to your gamecp install, ie: demo.gamecp.com
- Type - select Gamecp
- Username - your gamecp admin user
- Password - your gamecp admin pass
Anything else is optional.
Create Server
[edit]
Packages
Goto Configuration > Products & Services > Create a New Product
You may want to create a new group first.
Fill out the following:
- Show Domain Options - no
[edit]
Module Settings
- Module Name - Gamecp
- GameCP URL - the full url to your gamecp
- Passphrase - the passphrase you set in GameCP Settings > Billing > ClientExec/WHMCS > API Connector Password
- Game ID - the EXPORT # of a game in Manage Games (voice servers: 1000 = ts2, 1001 = vent, 1002 = ts3)
- Private Server - duh
- Disable Shell - users wont have shell access
- IP Allocation - ips are determined this way
- Debugging - enable this if you have problems
[edit]
Custom Fields
Create the following custom fields, names must match exactly. Show on Order Form so the user can fill them out.
- Host Name
- MOTD
- RCON Password
- Server Password
- Website
- User Name
[edit]
Configurable Options
This is where you'll set things that cost money like ping booster and the slots.
- Create new configurable options
- Players - a list of player slots
- Custom Addons
addon_* are included in the users server control
- addon_pingbooster - assigned to $ADDON_PINGBOOSTER (*Must be capitalized in the start parameters)
- addon_fps - assigned to $ADDON_FPS (*Must be capitalized in the start parameters)
This variable ($ADDON_PINGBOOSTER) goes in your game's start mode.
-

