Reseller Features
Administrators can create reseller packages. These packages allows users to create their own game, voice and Teamspeak services and assign them to their own users.
You can't have a reseller with both packages and assigned servers or Teamspeak servers. For example if a reseller has a package for creating game servers and you assign him a Teamspeak server it can cause unexpected results.
The billing API for resellers only supports packages. It does not support creating services on assigned servers or Teamspeak servers.
Billing API Support for Administrators
Administrators can automate reseller packages with the billing API. Only 2 parameters are required:
role_id
- The id of the reseller role that will be assigned to new resellers.package_id
- The id of the reseller package that will be assigned to the reseller account.
If you use the tcadmin2_advanced
module for WHMCS create a copy of default_values.php and set the values of role_id
and package_id
as required. When you configure your reseller product in WHMCS, set the value of Config File to the new one that you created.
For more information on using the WHMCS module read the tcadmin2_advanced documentation.
Billing API Support for Resellers
Resellers can automate their own services using the billing api the same way and administrator would. For more information on using the WHMCS module read the tcadmin2_advanced documentation.
Reseller Package Management
Create & Update Packages
Packages are created and updated in System
(on the left-hand navigation) > General Settings
> Reseller Packages
. To create a new one, click on New. To edit an existing package, select it from the list.
Package Information
Name
- The name used to identify this package.Mail
Template - The mail template sent to the user when the package is assigned.Enabled
- Enable this package to make it available.
Game & Voice Settings
Game Servers
- Select the game servers that are available in this package.Voice Servers
- Select the voice servers that are available in this package.Server Selection
: - The method used to determine where the game and voice server will be installed.Server with less slots
: The server with the least number of slots will be used.Round robin
: The server with the longest time since the last game or voice server installation will be used.CPU load balancing
: The server with the lowest average CPU usage will be used.
Servers
- Select the servers where the game and voice servers will be created. If you select[All Servers]
new servers will be selected automatically. Servers that are assigned to a user will not be used even if they are selected.Enable Teamspeak reselling
- Enable the reselling of Teamspeak voice servers in this package.Teamspeak Selection
- The method used to determine where the Teamspeak voice server will be installed.server with less slots
: The Teamspeak server with the least number of slots will be usedRound robin
: The Teamspeak server with the longest time since the last Teamspeak voice server installation will be used.Teamspeak Servers
- Select the Teamspeak servers where the virtual servers will be created. If you select[All Teamspeak Servers]
new Teamspeak servers will be selected automatically. Teamspeak servers that are assigned to a user will not be used even if they are selected.
Slots Type
- Select how the slots will be assigned to this package.Shared slots
: The assigned slots are shared among all game and voice servers including Teamspeak.Separate game and voice slots
: Assign separate slots for game and voice servers. Teamspeak voice servers use regular voice slots.All separate slots
: Assign separate slots for game, voice and Teamspeak servers.
Assign a Package
First create a user
and assign it a reseller role.Select the Assigned Packages icon
and click on New.Select the package type
. Optionally you can assign IPs to a user and in the Game Hosting Settings tab check "Use assigned IPs for game server" or "Use assigned IPs for voice servers" to use those IPs for the services.
View Package Usage
- Go to
User Management
>Users
and select the reseller. - Click on Assigned packages and select the package.
- Click on the Summary tab. It will display the slots used for each slot type.