Please visit https://github.com/XenoPanel/WHMCS-Module-apiv2 to download the module.
Video tutorial going over installation and configuration https://www.youtube.com/watch?v=yGuYsbSeAjM
Installing the WHMCS Module:
On your XenoPanel navigate to My Settings → API Access and create an API Key while also Enabling Admin.
place contents of the GIT into /modules/servers where the WHMCS files are located.
On the WHMCS Admin area please navigate to Setup → Products/Services → Servers.
Create a group named XenoPanel (leave all details default aside from the name).
Create a server with the details below
Name: XenoPanel
Hostname: location to XenoPanel Master (Example: http://xenopanel.com/panel) NO SLASH ON THE END.
Type: XenoPanel2
Username: The main username for WHMCS being used (Example: admin_user).
Access Hash: The API Key you got from above.
Go back into the group we just made named XenoPanel and for the Selected Servers box, add the server XenoPanel.
For each product you have you will need to setup the module for XenoMinecraft for the server to create correctly.
You'll need to create a Module Plan for each product in your install of XenoPanel in Admin → Configuration > Module Plans Manager**
WHMCS Custom Fields/OPtions
Custom Fields:
- "Minecraft Username" (Input Box)
- "Username" (Input Box)
- "Server Name" (Input Box)
- "Dedicated IP" (TickBox)
- "Server Location" (Dropdown)
- "Source Game" (Dropdown)
Custom Options:
- "Slots" (Dropdown)
- "Memory (Dropdown)
- "Storage" (Dropdown)
- "CPU Limit" (Dropdown)
- "Slot Changing" (Yes/No or Tickbox)
WHMCS Email Templete
Hello {$client_first_name} {$client_last_name},
We've completed your order for '{$service_product_name}'!
{if $service_password neq 'empty'}
Server ID: {$service_domain}
IP Address: {$service_dedicated_ip}
Username: {$service_username}
Password: Your existing password for the panel.
{else}
Server ID: {$service_domain}
IP Address: {$service_dedicated_ip}
Username: {$service_username}
Password: {$service_password}
We recommend you change your password once logged in for the first time!
{/if}
You can login by visiting YOUR_PANEL_URL_HERE
Kind Regards,
{$company_name}