Difference between revisions of "MediaCP"

From WHMCS Documentation

(Adding a MediaCP Server)
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
'''Adding a CastControl Server'''
+
== About this Module ==
  
 +
The MediaCP module allows you to add and manage MediaCP servers in WHMCS.
 +
{{Provisioning_Module
 +
| changepackage = Yes
 +
| changepw = Yes
 +
| clientarealink = Yes
 +
| additional = Start and Stop Stream}}
 +
== Adding a MediaCP Server ==
  
The following steps guide you through the process of setting up a server in WHMCS for CastControl Accounts.
 
  
1. Begin by going to Configuration > Manage Servers  
+
To set up a MediaCP server in WHMCS, you '''must''' [https://github.com/mediacontrolpanel/whmcs-onpremise/archive/refs/heads/master.zip download the module] and install it according to [http://www.cast-control.net/mediacp/documentation/configuration/whmcs-integration-guide/ MediaCP's instructions].
 +
 +
After installation, you can add and configure servers at '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Servers]]''' or, prior to WHMCS 8.0, '''Setup > Products/Services > Servers'''.
  
2. Click Add New Server
+
== Creating a MediaCP Product == 
 +
 +
You can create a product that provisions accounts on your MediaCP server at '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Products_and_Services|Products/Services]]''' or, prior to WHMCS 8.0, '''Setup > Products/Services > Products/Services'''. 
  
3. Enter the server name, IP address, select the server type "Castcontrol" from the dropdown menu
+
=== WHMCS Connect ===
  
4. Enter the Super Administrative details in the Username & Password fields 
+
This module does not support [[WHMCS Connect]].
  
5. Click Create Server to complete the process
+
==Troubleshooting==
  
Your CastControl server is now configured in WHMCS.  You can now move on to create your first CastControl Package.
+
''N/A''
  
 
+
{{modules}}
'''Setting up a CastControl Package'''
 
 
 
 
 
1. Go to Configuration > Products/Services
 
 
 
2. Click Create a New Product and then enter the name for your new package
 
 
 
3. Set the product type to "Other" and untick the Show Domain Options tick box
 
 
 
4. Configure the pricing, welcome email, and other configuration options as normal
 
 
 
5. Next, go to the Server Settings tab of the product config
 
 
 
6. Select Castcontrol in the Server Type dropdown menu
 
 
 
7. The page will refresh with the options for a Castcontrol package
 
 
 
8. Most of the fields should be fairly straightforward - the more difficult fields are explained below:
 
 
 
Auth: This is the security hash found under Cast-Control Administration -> API Key
 
Host: This is the hostname/domain without the http prefix
 
Path: This should be the web URL path to cast-control. For example, if the URL is http://mydomain.com/castcontrol, the path will be /castcontrol/.
 
Port: Usually 80 unless the web server is running on a separate port.
 
 
 
9.Next go to the Custom Fields tab and setup an admin only field called "PortBase".  This will be used to store the PortBase for each account created.
 
 
 
 
 
'''Optional Configurable Options'''
 
 
 
 
 
You may also wish to add configurable options to your CastControl package.  With these, you can show your customers option on the order form to customise the ShoutCast hosting package.  The configurable options can be named as follows with the following options as examples:
 
 
 
'''Maximum Users''' - 16,32,64,etc...
 
 
 
'''Maximum Bit Rate''' - 8KB,16KB,20KB,24KB,32KB,etc...
 
 
 
'''Bandwidth''' - 100MB,200MB,Unlimited,etc...
 
 
 
'''Auto DJ''' - Yes or No
 
 
 
 
 
What this allows you to do is offer a single package that provides all your different options.  And each different option can increase or decrease the price of the overall package as appropriate.
 

Latest revision as of 15:46, 27 March 2024

About this Module

The MediaCP module allows you to add and manage MediaCP servers in WHMCS.

Supported Features

Create Suspend Unsuspend Terminate
Yes Yes Yes Yes
Change Package Change Password Usage Updates Client Area Link
Yes Yes No Yes

In addition to the above, this module also supports the following non-standard functions: Start and Stop Stream

Adding a MediaCP Server

To set up a MediaCP server in WHMCS, you must download the module and install it according to MediaCP's instructions.

After installation, you can add and configure servers at Configuration () > System Settings > Servers or, prior to WHMCS 8.0, Setup > Products/Services > Servers.

Creating a MediaCP Product

You can create a product that provisions accounts on your MediaCP server at Configuration () > System Settings > Products/Services or, prior to WHMCS 8.0, Setup > Products/Services > Products/Services.

WHMCS Connect

This module does not support WHMCS Connect.

Troubleshooting

N/A

Server Modules
cPanel/WHM - DirectAdmin - Plesk - Helm 3 - Helm 4 - Ensim - InterWorx - WebsitePanel - Cloudmin
Lxadmin - Virtualmin Pro - XPanel - HyperVM - SolusVM - Cloudmin - WHMSonic - VPS.Net
CentovaCast - SCPanel - MediaCP - GameCP - TCAdmin - Reseller Central - Auto Release - Heart Internet

Registrar Modules
Enom - ResellerClub - Nominet - OpenSRS - ResellOne - OnlineNIC - PlanetDomain - Affordable Domains
TPP Wholesale - TPPInternet - Stargate - Namecheap - NetEarthOne - Bizcn - InternetBS - GMO Internet
12Register - Registercom - DotDNS - WebNIC - Dot.TK - HexoNet - Realtime Register - Registereu
RRPProxy - ResellerCamp - TransIP - Heart Internet - IPMirror - NetRegistry - OVH - VentraIP Wholesale
Email - 101Domain

Fraud Modules
MaxMind - VariLogiX FraudCall - Telesign

Gateway Modules
2CheckOut - AsiaPay - Auth.net Echeck - Authorize.net - Authorize.net CIM - Bank Transfer - BidPay
BluePay - BluePay Echeck - BluePay Remote - Boleto - CashU - CC Avenue - ChronoPay - Direct Debit
EMatters - E-Path - eProcessingNetwork - eWAY Tokens - F2B - Finansbank - GarantiBank - Gate2Shop
Inpay - InternetSecure - IP.Pay - Kuveytturk - Modulo Moip - Mail In Payment - Merchant Partners
Merchant Warrior - IDEALMollie - Moneris - Moneris Vault - Skrill 1-Tap - NaviGate - NETbilling
Netregistry Pay - NoChex - Offline Credit Card - Optimal Payments - PagSeguro - Payflow Pro - Pay Junction
Paymate AU and NZ - Payment Express - PayPal - PayPal Card Payments - PayPal Express Checkout
PayPal Payments - PayPal Payments Pro - PayPoint.net (SecPay) - Payson - Planet Authorize - ProtX VSP Form
PSIGate - Quantum Gateway - Quantum Vault - SagePay - SagePay Tokens v2 - SecurePay
SecurePay AU - Secure Trading - TrustCommerce - USA ePay - WorldPay - WorldPay Invisible