Description
Plex Automation for WHMCS
Plex Automation for WHMCS connects your WHMCS products with one or more Plex servers using Plex token authentication. It automatically sends access invitations to customers, shares the libraries assigned to their purchased product, and manages that access through supported WHMCS service actions.
The module is designed for Plex server owners and media service providers who want to reduce repetitive invitation and library-management work while keeping customer access connected to WHMCS service status.
Automated Plex Invitations
- Use the customer’s WHMCS account email for Plex access.
- Send a Plex server invitation when the service is provisioned.
- Share only the Plex libraries assigned to the purchased WHMCS product.
- Store the returned Plex shared-server and user identifiers for later access actions.
- Reuse an existing customer record when access needs to be granted again.
Product-Level Library Selection
Choose which Plex libraries are included with each WHMCS product instead of granting every customer access to the complete server.
- Retrieve available libraries from the selected Plex server.
- Select one or multiple libraries from the WHMCS product configuration page.
- Save selected Plex library section IDs with the product.
- Apply those library selections when inviting or restoring customer access.
Service Lifecycle Management
- Activate: Invite the customer and share the product’s selected Plex libraries.
- Suspend: Unshare the customer’s Plex server access.
- Unsuspend: Share the selected libraries again and restore access.
- Terminate: Unshare access and optionally remove the customer from Plex friends.
Flexible Termination Control
Choose how the module handles a customer when their WHMCS service is terminated.
- Remove library access and delete the tracked Plex customer record.
- Remove the customer from Plex friends when a Plex user ID is available.
- Enable the Non Removable Clients option to disable access while keeping the customer record available for restoration.
Multiple Plex Server Management
- Add and manage multiple Plex server connections.
- Assign a specific Plex server to each WHMCS product.
- Configure a descriptive panel name for each connection.
- Store the API endpoint, Plex version, server ID, client identifier, and Plex token.
- Edit or remove existing server records.
- View the number of tracked customers associated with each configured server.
Connection Validation
When adding a Plex server, the addon sends a request using the configured endpoint, server ID, client identifier, version, and token. The server record is saved only when the Plex request returns a successful response.
Customer Access Tracking
- Track customers by their WHMCS email address.
- Store the Plex shared-server ID used for access removal.
- Store the Plex user ID when returned by Plex.
- Track whether the customer’s Plex access is active or inactive.
- Associate newly invited customers with the selected Plex server.
WHMCS Module Logging
Supported Plex requests are recorded through the WHMCS module log, including the operation, request fields, and parsed Plex response. This provides administrators with useful information when reviewing invitation or library-access issues.
Why Choose This Module?
- Reduce Manual Invitations: Send Plex access invitations through WHMCS provisioning.
- Control Library Access: Assign different Plex libraries to different products.
- Connect Access to Billing: Remove and restore Plex sharing through WHMCS service actions.
- Support Multiple Servers: Use different Plex connections for different products.
- Choose Termination Behavior: Remove customers completely or retain inactive records for later restoration.
- Improve Visibility: Track customer sharing identifiers and review Plex requests in the WHMCS module log.
Ideal For
- Plex server owners
- Media library access providers
- Hosting companies offering Plex-based services
- Businesses managing different library-access packages
- Providers operating multiple Plex servers through WHMCS
Simplified Plex Access Delivery
Plex Automation for WHMCS combines server invitations, product-level library selection, access suspension and restoration, configurable termination handling, multiple Plex server connections, customer tracking, and WHMCS logging in one focused automation solution.




