Cloee Docs
Paymenter ExtensionsBetterPterodactyl

Installation

Before you begin, ensure you have:

Prerequisites

Before you begin, ensure you have:

  1. Pterodactyl Application api key
  2. Pterodactyl admin account api key

SSO Key Setup

  1. Install SSO Package on Pterodactyl

    composer require cloee/sso-pterodactyl 
  2. Publish Configuration:

    php artisan vendor:publish --tag=sso-wemx
  3. Generate SSO Key:

    php artisan wemx:generate

Installation Steps

1. Upload Files

If you haven't already, upload the extension files to your Paymenter installation.

  • Navigate to your Paymenter root directory (usually /var/www/paymenter).
  • Go to extensions/Servers.
  • Upload the PterodactylSSO folder here.

2. Enable the Extension

  1. Log in to your Paymenter Admin Area.
  2. Navigate to Extensions -> Servers.
  3. Find PterodactylSSO in the list.
  4. Click Enable (if it's not already enabled).

3. Verify Installation

Once enabled, you should be able to see "PterodactylSSO" as an option when creating or editing a Server in the Admin Area.


Standardized Naming & Descriptions

You can configure global or per-product templates to standardize how your servers are named on the panel.

  • Templates: define the pattern using variables like {product_name} - {username}.
  • Variables:
    • {id}: Service ID
    • {product_name}: Name of the product
    • {username}: Paymenter username
    • {email}: User email
    • {firstname}: User first name
    • {lastname}: User last name
    • {random_id}: A random 6-character string
    • {date}: YYYY-MM-DD
    • {time}: HH:MM:SS
  • Logic:
    • If a user sets a custom name (and it's allowed), that name is used.
    • Otherwise, the Product Template (if set) is used.
    • Otherwise, the Global Extension Template is used.
    • Finally, if nothing is set, it falls back to Product Name #ID.

On this page