Skip to content

Creating a cPanel feature list in WHM — building a tier from scratch

How to build a new feature list in WHM, attach it to a package, and decide which cPanel features each plan tier exposes — without breaking accounts already created.

A feature list is what decides whether a cPanel account sees the Terminal icon, the cron editor, the email filters, or the database tools — it is the menu, not the limits. Building one from scratch is how you create a real plan tier: a “starter” list that hides advanced tooling, a “pro” list that exposes everything. The trap is that a feature list is referenced by packages, and changing or deleting one ripples to every account on every package that uses it. Build deliberately, test on one account, then attach it.

What’s happening

WHM ships a built-in feature list called default plus the implicit disabled baseline, and every package points at exactly one feature list. When you create a new list in WHM » Packages » Feature Manager, you start from the set of all available features (core cPanel features plus anything added by plugins like cPanel’s own addons, Softaculous, or JetBackup) and toggle each one on or off. The list is stored under /var/cpanel/features/<listname> as a flat file of feature=0/1 lines. A package then names that list, and any account created on the package inherits the menu it defines.

The important mechanics: a feature that is off in the list is hidden from the cPanel UI and blocked at the API for that account — disabling “cron” does not just hide the icon, it stops uapi Cron calls from that account. Editing a feature list takes effect immediately for every account whose package uses it; there is no reapply step the way there is for package limits. And the Feature Showcase / “default” handling means newly released cPanel features can appear automatically in lists set to inherit defaults, which is why some operators pin every feature explicitly rather than leaving it to inheritance.

How to verify

See the lists that exist and what a given one contains:

# All feature lists on the server
ls -1 /var/cpanel/features/
whmapi1 get_available_featurelists

# The contents of one list (feature=0 is disabled, =1 enabled)
cat /var/cpanel/features/starter
whmapi1 get_featurelist_data featurelist=starter

See which package points at which list, so you know the blast radius before editing:

# Which feature list each package uses
for p in $(whmapi1 --output=jsonpretty listpkgs | grep -oP '"name":\s*"\K[^"]+'); do
  echo -n "$p -> "; whmapi1 getpkginfo pkg="$p" | grep -i FEATURELIST
done

Confirm what a specific account actually has after you attach a list:

# Effective features for one user
whmapi1 get_user_information user=acmecorp | grep -i feature
grep -i FEATURELIST /var/cpanel/users/acmecorp

The fix / steps

  1. Start from an existing list, not a blank slate. In WHM » Packages » Feature Manager, pick the closest existing list (often default) as the basis so you inherit sane settings for features you have not thought about. Name the new list for the tier it serves — starter, pro, reseller-basic — not for a customer.
  2. Decide off, not on, for risk features. Most operators leave the bulk of features enabled and explicitly disable the few that cause support load or risk: Terminal, SSH/Shell access, raw cron editing, MySQL/phpMyAdmin on locked-down plans, and any plugin you do not support. Remember disabling a feature blocks its API too, so confirm nothing the customer relies on routes through it.
  3. Pin features explicitly if you do not want surprises. When cPanel ships a new feature, lists that inherit defaults may start exposing it without your say-so. If you want a frozen menu, toggle every feature deliberately so a new release does not silently appear on a tier. The trade-off is that you must revisit the list when you do want to adopt a new feature.
  4. Save the list, then test on one account. Before attaching it to a production package, point a single test account’s package at the new list (or create a throwaway account on it) and load cPanel as that user. Confirm the icons that should be gone are gone and the ones customers need are present. Feature lists apply instantly, so this is your only safe rehearsal.
  5. Attach the list to a package. In WHM » Packages » Edit a Package (or Add a Package), set Feature List to the new list and save. Unlike quota changes, the feature list takes effect for existing accounts on that package immediately — no reapply needed — so do this with the understanding that every account on the package changes menus at once.
  6. Communicate removals before you ship them. If the new list removes a feature customers currently use (say you are disabling Terminal on the starter tier), pulling it without notice generates tickets and looks like breakage. Announce the change, or grandfather existing accounts onto the old list and put only new accounts on the restricted one.
  7. Never edit the built-in default list casually. The default list is what unattached packages and many resellers fall back to. Changing it reaches further than you expect. Create named lists for your tiers and leave default as a known baseline you can always compare against.
  8. Audit feature lists alongside packages periodically. Lists accumulate — a “promo-2023” list nobody attaches anymore, two near-identical “pro” lists. List /var/cpanel/features/, map each to the packages that use it, and delete the orphans once you have confirmed (with the package-to-list scan above) that nothing references them.

A feature list is the lever that defines what a plan is in the customer’s eyes; build it carefully and a tier is coherent, edit it carelessly and you reshape every account on it at once. Stack Harbor designs and audits cPanel feature lists and package tiers under cPanel/WHM management — start a conversation to get your plan tiers in order.