You agreed to host two design agencies on the same Plesk node. The first one signed up six months ago — the admin manually carved out a reseller account, eyeballed the quotas, ticked the boxes that “looked right,” and emailed the credentials. Today the second agency is onboarding and the salesperson is asking what the first agency got. Nobody knows. The reseller account is custom and there is no template. Now everyone wants the same deal but nobody can describe it. Worse, when the first agency calls to ask why their bandwidth report disagrees with the panel, the answer is “because that limit was set six months ago and we forgot what we picked.” Resellers without plan templates are a compounding mess.
What’s happening
A Plesk reseller plan is a named, versioned bundle of limits + features. Each agency you onboard is provisioned from the plan, and the plan’s limits become the agency’s default — disk, bandwidth, domain count, subdomain count, mailbox count, total customers, allowed PHP versions, available features (Git, Docker, WP Toolkit, Smart Updates, etc.). Customer accounts the agency creates inherit from the plan’s customer-side limits unless the agency overrides them. The plan exists as an entity Plesk owns — change it in one place and every account based on it gets updated (with an explicit confirmation). Without plan templates, every reseller is bespoke, you cannot audit “all bronze-tier agencies,” and limit increases require visiting each account individually. With plan templates, you have three or four named SKUs (agency-bronze, agency-silver, agency-gold, agency-enterprise), and onboarding is a single CLI call.
How to verify
List the existing reseller plans on the panel:
plesk bin reseller_plan --list
# agency-bronze
# agency-silver
# agency-gold
# agency-enterprise
Show the detail of one plan:
plesk bin reseller_plan --info agency-silver
Find every reseller account currently bound to a given plan:
plesk db -e "
SELECT c.login, c.email, t.name AS plan
FROM clients c
JOIN Templates t ON c.tmpl_id = t.id
WHERE c.type='reseller' AND t.name='agency-silver';
"
If any reseller has tmpl_id = 0 they are off-template and you’ll have to bind them manually before bulk changes will reach them.
The fix
Define the four reseller plan tiers as code, then create them on the panel. Each tier maps to a clear set of business outcomes — small/medium/large/custom — and the CLI invocation is reproducible across nodes.
#!/usr/bin/env bash
set -euo pipefail
# Define a reseller plan via plesk bin reseller_plan
# All limits use Plesk's units: disk in bytes, bandwidth in bytes/month,
# counts as integers, "-1" means unlimited.
create_reseller_plan() {
local NAME="$1"
local DISK="$2" # bytes
local BANDWIDTH="$3" # bytes/month
local MAX_DOM="$4"
local MAX_SUBDOM="$5"
local MAX_MAILBOX="$6"
local MAX_DB="$7"
local MAX_CLIENTS="$8"
local PHP_HANDLERS="$9" # comma-separated, e.g. "php-8.1-fpm,php-8.2-fpm"
local FEATURES="${10}" # comma-separated
plesk bin reseller_plan --create "${NAME}" \
-disk_space "${DISK}" \
-max_traffic "${BANDWIDTH}" \
-max_dom "${MAX_DOM}" \
-max_subdom "${MAX_SUBDOM}" \
-max_box "${MAX_MAILBOX}" \
-max_db "${MAX_DB}" \
-max_clients "${MAX_CLIENTS}" \
-php true \
-php_handlers "${PHP_HANDLERS}" \
-features "${FEATURES}" \
-manage_log true \
-manage_anonftp false \
-manage_subdomains true \
-manage_subftp true \
-manage_php_safe_mode false \
-dns true \
-manage_dns true \
-manage_dns_settings true \
-file_manager true \
-webstat true \
-manage_webstat true \
-ssh true \
-ssh_jail true
}
# agency-bronze — small studio, ~10 client sites
create_reseller_plan agency-bronze \
$((50 * 1024**3)) \
$((250 * 1024**3)) \
10 50 100 50 10 \
"php-8.1-fpm,php-8.2-fpm" \
"wp-toolkit,letsencrypt,git-deploy"
# agency-silver — medium studio, ~50 client sites, docker allowed
create_reseller_plan agency-silver \
$((200 * 1024**3)) \
$((1024 * 1024**3)) \
50 250 500 250 50 \
"php-7.4-fpm,php-8.0-fpm,php-8.1-fpm,php-8.2-fpm,php-8.3-fpm" \
"wp-toolkit,letsencrypt,git-deploy,docker,smart-updates"
# agency-gold — large agency, ~250 client sites, full stack
create_reseller_plan agency-gold \
$((1024 * 1024**3)) \
$((5 * 1024 * 1024**3)) \
250 -1 -1 -1 250 \
"php-7.4-fpm,php-8.0-fpm,php-8.1-fpm,php-8.2-fpm,php-8.3-fpm" \
"wp-toolkit,letsencrypt,git-deploy,docker,smart-updates,node,ruby,python"
# agency-enterprise — unlimited; reserved for partner agencies only
create_reseller_plan agency-enterprise \
-1 -1 -1 -1 -1 -1 -1 \
"php-7.4-fpm,php-8.0-fpm,php-8.1-fpm,php-8.2-fpm,php-8.3-fpm" \
"wp-toolkit,letsencrypt,git-deploy,docker,smart-updates,node,ruby,python,passenger,modsecurity"
plesk bin reseller_plan --list
Provisioning a new agency from a plan is then a single call:
#!/usr/bin/env bash
set -euo pipefail
LOGIN="$1" # agency-acme
PLAN="$2" # agency-silver
EMAIL="$3" # owner@acme.example
COMPANY="$4"
PASSWORD="${5:-$(openssl rand -base64 24)}"
plesk bin reseller --create "${LOGIN}" \
-passwd "${PASSWORD}" \
-email "${EMAIL}" \
-company "${COMPANY}" \
-name "${COMPANY}" \
-country "CA" \
-plan-name "${PLAN}" \
-notify false
echo "Reseller ${LOGIN} provisioned on plan ${PLAN}"
echo "Login: https://panel.example.com:8443/login_up.php"
echo "Username: ${LOGIN}"
echo "Initial password (to be rotated on first login):"
echo "${PASSWORD}"
Updating a plan applies the change to every reseller bound to it after an explicit sync — this is intentional, since a quota cut would otherwise instantly take sites over-quota and start refusing uploads:
# Increase agency-silver disk to 300 GB
plesk bin reseller_plan --update agency-silver \
-disk_space $((300 * 1024**3))
# Propagate to bound resellers — Plesk asks for confirmation
plesk bin reseller_plan --propagate agency-silver
A reseller that should switch tiers is moved with one command — the customers under that reseller inherit the move:
# Promote acme from silver to gold
plesk bin reseller --update agency-acme -plan-name agency-gold
plesk bin reseller_plan --propagate agency-gold
If you need to audit every reseller and the plan they’re on, the easiest way is straight SQL against the Plesk panel database — the panel exposes the join through plesk db:
plesk db -e "
SELECT c.login, c.email, c.company, t.name AS plan,
ROUND(d.disk_space/1024/1024/1024) AS disk_gb_limit,
ROUND(d.max_traffic/1024/1024/1024) AS bw_gb_month
FROM clients c
LEFT JOIN Templates t ON c.tmpl_id = t.id
LEFT JOIN ResellerPlans d ON t.id = d.tmpl_id
WHERE c.type='reseller'
ORDER BY t.name, c.login;
"
The output is the source-of-truth for the sales team’s “what tier is each agency on?” question and replaces the spreadsheet that drifts the moment someone makes a manual override.
Run the reseller fleet on Stack Harbor’s Cloud Compute with quota-drift monitoring and plan-template version control under environment management — or plan an onboarding pipeline if you’d like us to build the agency lifecycle around your Plesk fleet.