Cloee Docs
Paymenter ExtensionsPterodactylSSO

Configuration

Configure the server row, product deployment options, ports and egg validation rules.

Server row

The extension settings live on the Paymenter Servers row. The values most likely to cause problems are the panel version, the API keys and the shared secret. Their exact meaning is described in installation.

Product deployment settings

Open a product, switch to the Server tab, select the PterodactylSSO server, and configure the deployment. The same fields appear on the create/edit product form.

PterodactylSSO product server settings

SettingNotes
ServerThe PterodactylSSO server row whose panel is used.
Location(s)Panel locations allowed for deployment. Leave empty to allow every location.
NodeOptional fixed node. When empty, the extension asks the panel for a suitable node.
TagPterodactyl 2.x only. Filters the egg list in the product form. Provisioning uses the selected Egg ID, not the tag.
NestPterodactyl 1.x only. The nest that contains the eggs.
Egg IDThe egg used for new servers.
Memory / Swap / DiskMiB. 0 is unlimited for memory and disk; swap accepts -1 for unlimited.
IO WeightDisk I/O priority, usually 500.
CPU LimitPercent. 100 is one core, 400 is four cores, 0 is unlimited.
CPU PinningOptional thread list or ranges, for example 0,2-4,6.
Databases / BackupsPanel feature limits.
Reverse ProxiesRequires the Blueprint ReverseProxy addon; see below.
SplitsRequires the ServerSplitter addon on the panel.
Additional AllocationsExtra ports allocated in addition to the ports in the port array.
Port ArrayJSON map of egg environment variables to ports. See below.
Port RangeAuto-deploy port range (used when the port array is empty).
Skip scripts / Dedicated IP / Start on completion / OOM killerPassed to the panel when the server is created.
Card Background Image URLOptional HTTPS image URL used as the background of the card on the My Servers page. Leave empty for no background.

Card background image

Each product can have its own card background on the My Servers page. Open the product, go to the Server tab, and set Card Background Image URL to a public HTTPS image — for example a PaperMC, Forge, Minecraft or Python logo, or a royalty-free artwork that matches the egg.

Card Background Image URL in the PterodactylSSO product settings

The image is loaded directly by the customer's browser, so it must be publicly reachable and must allow hotlinking. The extension only accepts http and https URLs; other schemes are ignored. The image is decorative: keep it wide (roughly 3:1) and use a version you are allowed to use. Game and software logos are trademarks of their respective owners.

The same setting is available for every product, so a Paper egg can show the Paper logo while a Python egg shows a Python image. A product image uploaded in the regular Paymenter product form is not used on the My Servers cards.

Port arrays

The Port Array is a JSON object. Each key must be an egg environment variable and each value must be a port, or an array of ports for variables that consume multiple allocations.

{
  "SERVER_PORT": 25565,
  "RCON_PORT": 25575,
  "QUERY_PORT": 25575
}
  • SERVER_PORT is required; it becomes the server's primary allocation.
  • Every requested port must exist as a free allocation on the selected node. The extension reserves an exact match first, then the next higher port, then any free allocation.
  • Leave Port Range empty when using a port array.

Port array and additional allocations

Egg variable validation rules

Pterodactyl validates the environment values against the egg variable's Input Rules when a server is created. The extension sends ports as numbers, so a port variable must accept numbers.

For a port variable use:

integer|min:1|max:65535

Correct integer port input rules in an egg variable

Do not use string|max:20 for a port

A string rule rejects the integer value the extension sends and the panel returns:

The txAdmin Port variable must be a string.

max:20 on a string also limits the value to 20 characters, not to a port range. Change the variable's Input Rules to integer|min:1|max:65535 and give it a valid default value.

Defaults matter

If an egg variable is not set by the product or port array, Paymenter sends the egg's default value. A required integer variable with an empty default fails validation when the server is created. Set a sensible default for every required variable.

Reverse proxies

The Reverse Proxies product option is stored in the panel's feature_limits.proxies (and reverse_proxies for panels/addons that read that key). The customer then gets a Reverse Proxies tab on the service page.

Requirements:

  • Install the Blueprint ReverseProxy addon on the panel and follow its wings patch/rebuild instructions.
  • The node must have the addon's nginx setup, /srv/server_certs, and the expected ports for Let's Encrypt.
  • The configured Client API key must belong to a root administrator or to a panel user with the addon's proxy.create and proxy.delete permissions.
  • Set the product value to the number of proxies each customer may create. 0 hides the tab.

Naming templates

Server names and descriptions can be built from templates at the product or global level. Supported variables:

{id}, {service_id}, {user_id}, {username}, {email}, {firstname}, {lastname}, {product_name}, {date}, {time}, {random_id}.

If a customer supplies a custom name (and custom names are allowed), that name wins. Otherwise the product template is used, then the global template, then Product Name #ID.

On this page