Modules/whmcs/install

From GameCPWiki

Jump to: navigation, search

Contents

Requirements

  • GameCP WHMCS Module installed to your WHMCS system



WHMCS 4.x Installation

Installing the module


  • create new product group
  • create new product


  • config options - create new group
  • config options - create new option for 'Players'

WHMCS 3.x Installation

Installing the module

Servers

Server Variables example
Enlarge
Server Variables example

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

Packages

Products
Enlarge
Products

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

Module Settings

Product Modules
Enlarge
Product Modules
  • 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

Custom Fields

Products Fields
Enlarge
Products 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

Configurable Options

Products Options
Enlarge
Products 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.





















-

Personal tools
download
communication