Managing Plugins

Last Updated: November 2026

This guide explains how to install, activate, deactivate, and delete plugins from the admin panel, and how to review the permissions (capabilities) a plugin asks for.

These first-party plugins are built on this system: Progression (achievements, levels and missions), Daily Wheel (a daily play-chips spin), Notifications (player campaigns with claimable rewards), Social (friends, presence with join links, invites and gifts), AI Bots (bots played by external decision models), Social Login (sign in with Google, Discord, X, Apple and OpenID Connect providers), Daily Rewards (login streak, timed bonus, refill and welcome gift), Season Pass (free and premium reward tracks per season), Leagues (weekly leagues and player teams), Table Emotes (items and reactions at the table), Jackpot Spin (3-player play-chip Sit & Gos with a drawn prize multiplier), Guest Login (play as a guest, save the account later), Store (cosmetics for play chips, chip packs for real money through your payment providers, purchase limits) Stripe (cards, Apple Pay and Google Pay for the store’s purchases), Table Stats (in-table statistics from hands played together, off at real-money tables by default), AI Hand Review (a written review of a player’s own finished hand from the configured language model provider, inert until configured), Risk Connectors (your own identity verification and device intelligence services over HTTP, with your endpoint, keys and field mapping; off until configured) and VIP Rakeback (tiered monthly rakeback and rake races in real money, off by default) and Jackpots (a bad beat jackpot at real-money cash tables, funded by a labelled contribution kept apart from rake, off by default).

Accessing Plugin Management

Navigate to Extensions › Plugins in the admin sidebar (/admin/plugins). The page lists all installed plugins with their status. On phones and tablets each plugin shows as a card.

Required permission: Admin role for viewing, Super-admin for upload/activate/deactivate/delete and for saving plugin settings. Other admins see the list and the settings read-only, with a note saying so; the actions they cannot use are not shown.

Plugin List

The plugin list shows:

ColumnDescription
PluginPlugin display name and description, its technical name (the provider type, the unique identifier used for routes and settings), the last error if there is one, and the plugin’s capabilities as chips below it (granted ones highlighted; hover a chip for its description). A plugin with a frontend bundle is flagged Runs code in visitors’ browsers
VersionInstalled version
StatusActive, Inactive, Auto-disabled or Startup failed
HealthLast known health check result: Healthy, Unhealthy or Not checked
InstalledWhen the plugin was installed (shown on wide screens)

Each row’s actions are Activate or Deactivate, Settings (for plugins with settings), View details, Check health (for active plugins with a health check), Upload new version, and Delete (inactive plugins only); the less common ones are in the row’s More menu.

Above the list, Search plugins finds plugins by name, description or technical name (every word you type must match). Two filters narrow the list further:

  • Status: All statuses, Active, Inactive, or Needs attention (plugins the engine stopped, that failed to start, that failed their last health check, or that show an error).
  • What it may do: Anything, one of the capabilities the installed plugins ask for, or Runs code in visitors’ browsers.

The search and the filters are kept in the page address, so a reload or a shared link opens the same view. Clear all removes them.

Plugin details

Click a plugin’s name, or View details, to open its details in a side panel:

  • Status, Health (with when it was last checked), Version, Installed, Technical name and Package, and the Last error if there is one.
  • Capabilities: each declared capability with a plain-language description and a Granted or Not granted badge. A plugin without capabilities shows "This plugin declares no capabilities." A plugin with a frontend bundle also shows the warning Runs code in every visitor’s browser.
  • Scheduled jobs: the jobs the plugin runs on a timer, each with Schedule, Last run and Next run, and a Last run OK, Last run failed or Not run yet badge; a failed job also shows its status (error:<message> or timeout). Jobs exist only while the plugin is active.
  • Wallet daily caps, for plugins that can credit balances (see Wallet Caps).

Open settings at the bottom of the panel opens the plugin’s settings page.

Plugin Pages in the Sidebar

Active plugins can add their own admin pages. A plugin chooses where its page is listed (its nav.section), and the page then appears in the matching sidebar group, after that group’s own items:

The plugin namesListed under
user-management (or users)Players
game-management (or game)Games
bots-management (or bots)Games › Bots
financeMoney
complianceRisk & Compliance
marketing, affiliatesGrowth
agentsGrowth › Agents
content, appearance, emailSite & Content
developer-api (or developer)Extensions › Developer API
settingsSettings
plugins, nothing, or anything elseExtensions › Plugin Pages

For example, Progression overview is listed under Players, Daily Wheel Stats under Growth, and Stripe under Money. When you open a plugin page, its group opens, its entry is highlighted, and the header shows the page’s name. The command palette finds plugin pages too. The entries appear as soon as a plugin is activated and disappear when it is deactivated, without a reload.

Who sees a plugin page. A plugin page can name the permission it needs, like the product’s own pages. An admin whose group lacks it does not see the page in the sidebar, the search or on Home, and opening its address shows You don’t have access to this page with the permission to ask for. Super admins see every page. The plugin’s own server routes check the same permissions, so hiding a page is not the only protection. The bundled plugins use the permission of the pages around them:

Plugin pagePermissionAlso needed for
Stripe (Money)finance:viewfinance:transactions to check a purchase with Stripe, refund (super admins only) or close a payment event
Store (Growth)finance:viewfinance:transactions to reverse or recheck an order, finance:bonuses to give or take an item, settings:edit to change the catalogue
Notification campaigns (Growth)emails:sendfinance:bonuses to create, change, switch on or send a campaign with a reward
Daily Rewards Stats, Daily Wheel Stats, Leagues, Season Pass (Growth)finance:bonuses
Progression overview (Players)users:listfinance:bonuses to grant XP or recompute a player (both can pay rewards)
Social overview (Players)users:list
Jackpot Spin (Games)tournaments:viewtournaments:edit to change the odds or rotate the seed (super admins only)
Table Emotes Stats (Games)tables:read
AI Bots (Extensions)bots:manage
Social Login (Extensions)settings:viewsettings:edit to change anything
Demo Plugin (Extensions)settings:view

A third-party plugin page that names no permission is shown to every admin, as before.

Uploading a Plugin

  1. Click Upload plugin and choose a .tgz file (max 50 MB).
  2. The server validates the archive: checks format, package.json metadata, path traversal, and size limit.
  3. On success, the plugin appears in the list as Inactive.

The plugin archive must contain a package.json with a pokerEnginePlugin field including providerType and displayName.

Installing the First-Party Plugins

Poker Engine installs contain no plugins: not the Docker image, the Helm chart, the deployment packages or the enterprise source. The first-party plugins are sold separately, each as its own archive. Every archive is signed with the vendor’s release key (plugin-signature.json inside it), so it also installs and loads on a server in certified mode; the signed release manifest lists each one with its version and SHA-256:

ArchivePlugin
progression-<version>.tgzProgression: levels, XP, achievements and missions
daily-wheel-<version>.tgzDaily Wheel: a daily play-chips spin
notifications-<version>.tgzNotifications: win-back, welcome, free-chip and reminder campaigns with claimable rewards
social-<version>.tgzSocial: friends, requests, blocks, presence with join links, table invites and gifts
ai-bots-<version>.tgzAI Bots: bots played by external decision models
social-login-<version>.tgzSocial Login: sign in with Google, Discord and any OpenID Connect provider
daily-rewards-<version>.tgzDaily Rewards: login streak with savers, timed bonus, daily refill and welcome gift
season-pass-<version>.tgzSeason Pass: seasons with free and premium reward tracks
leagues-<version>.tgzLeagues: weekly leagues with divisions and player teams
vip-<version>.tgzVIP Rakeback: tiered monthly rakeback and rake races, real money, off by default
table-emotes-<version>.tgzTable Emotes: items players send across the table for play chips, and preset reactions
table-stats-<version>.tgzTable Stats: each player’s statistics about the players at their table, from hands played together; off at real-money tables by default
ai-hand-review-<version>.tgzAI Hand Review: a short written review of one of the player’s own finished hands from the configured language model provider; inert until a provider is configured, off for real-money hands by default
risk-connectors-<version>.tgzRisk Connectors: an identity verification and a device intelligence connector to services of your choice (endpoint, keys and field mapping are yours); each registers its risk provider while switched on
jackpots-<version>.tgzJackpots: a bad beat jackpot at the real-money cash tables you choose, funded by a labelled contribution kept apart from rake; off by default, takes nothing in certified mode
jackpot-spin-<version>.tgzJackpot Spin: 3-player winner-takes-all play-chip Sit & Gos whose prize is the buy-in times a drawn multiplier
guest-login-<version>.tgzGuest Login: "Continue with Guest", with saving the account later
store-<version>.tgzStore: card backs and felts for play chips; chip packs, a welcome pack and VIP tiers for real money (only with a payment provider that supports purchases); spending limits and purchase breaks
stripe-provider-<version>.tgzStripe: the store’s purchases paid by card, Apple Pay or Google Pay on Stripe’s hosted checkout; refunds and lost chargebacks take the goods back
poker-addons-steem-provider-<version>.tgzSteem: deposits, withdrawals and sign-in with a Steem account
poker-addons-telegram-auth-<version>.tgzTelegram Login: sign in through Telegram
poker-addons-telegram-stars-provider-<version>.tgzTelegram Stars: purchases paid with Telegram Stars
plugins-SHA256SUMSSHA-256 checksums of the archives

The Demo Plugin (the worked example for plugin developers) is not offered as a signed archive: certified mode refuses it even when signed, and it doesn’t belong on a live site.

To install one:

  1. Download the archive and plugins-SHA256SUMS you received with the plugin, in the version that matches your Poker Engine version.
  2. Verify the download in the folder that holds both files:
    sha256sum --ignore-missing -c plugins-SHA256SUMS
    Every downloaded archive must print OK; don’t upload one that doesn’t. Without sha256sum (macOS), compare the output of shasum -a 256 progression-<version>.tgz with that file’s line in plugins-SHA256SUMS.
  3. In Extensions › Plugins, click Upload plugin and choose the .tgz. The plugin appears as Inactive.
  4. Click Activate. The Activate Progression? (or Activate Daily Wheel?) dialog lists what the plugin asks for:
    • Progression: Store data, Give play chips, Give real money, Give tournament tickets, Grant bonuses, Live updates, Scheduled jobs, In-app messages, Push notifications, See every player action. Give real money is marked High impact; real-money rewards pay nothing until you set the plugin’s real-money cap (see Wallet Caps).
    • Daily Wheel: Store data, Give play chips, Give tournament tickets, Live updates, Scheduled jobs, In-app messages. It never pays real money.
    • Social: Store data, Live updates, Look up players, See who is online, In-app messages, Push notifications, Move play chips between players, Move real money between players. Move real money is marked High impact; real-money gifts stay impossible until you turn on realGiftsEnabled in its settings and set its real transfer cap (see Wallet Caps and Social: Real-money gifts).
    • Social Login: Store data, Sign players in. Sign players in is marked High impact. Every provider starts switched off; set them up on the plugin’s Social Login admin page, listed under Extensions › Plugin Pages (see Social Login).
    • Table Emotes: Store data, Take play chips, Live updates. It only charges play chips.
    • Table Stats: Store data, Look up players, See every player action. It moves no money; real-money tables stay off until you switch them on (refused in certified mode).
    • Jackpot Spin: Store data, Live updates, Set play-chip tournament prizes (High impact). It needs Sit & Go templates (see Jackpot Spin: Setup).
    • Guest Login: Sign players in (High impact), Store data, Scheduled jobs, Refuse seats and registrations.
    Click Grant and activate.
  5. Configure the plugin under its Settings. See Progression (admin), Daily Wheel and Social.

To move to a newer plugin version, take the archive from a newer release and choose Upload new version on the plugin (see Upgrading a Plugin); settings, stored data and granted capabilities are kept. Don’t delete and re-upload: deleting removes the plugin’s stored data.

On Docker Compose, uploaded plugins are written to ./plugins on the host (the ./plugins:/app/plugins bind mount in docker-compose.prod.yml), so they survive upgrades. On Kubernetes they go to the persistence.plugins volume. Extracting an archive into that folder by hand also installs it, but then it is activated at the next restart with every capability granted and no dialog (see the next section), so prefer the upload.

Activating a Plugin

Click Activate on an inactive plugin. If the plugin declares capabilities or has a frontend bundle, the consent dialog opens first (see Capabilities and Consent). The server then:

  1. Checks that every declared capability is granted.
  2. Dynamically imports the plugin entry point.
  3. Calls the plugin’s register() function.
  4. Sets the plugin to active in the database and saves the granted capabilities.

If activation fails (missing register() export, runtime error), an error message is shown.

Plugins built for plugin API 1.1 can ask for capabilities: permission to store data, give or take chips, grant bonuses, send live updates, run scheduled jobs, or message players. Plugins that ask for none, and have no frontend bundle, activate as before, without a dialog.

When you click Activate on a plugin that declares capabilities, the Activate {name}? dialog lists each requested capability with what it allows and its technical name. A plugin with a frontend bundle always gets the dialog, with Runs code in every visitor’s browser listed first and marked High impact: its frontend runs in the browser of every visitor, including admins, with their full session, so it can do anything the signed-in user can do. Capabilities marked High impact (giving real money, granting bonuses) and Review deserve a closer look. Then:

  • Grant and activate grants every listed capability and activates the plugin.
  • Cancel leaves the plugin inactive and grants nothing.
CapabilityDialog titleWhat it allows
storageStore dataSave its own data, including per-player data such as progress
wallet:credit-virtualGive play chipsAdd play-money chips to player balances
wallet:credit-realGive real moneyAdd real money to player balances, limited by the daily cap you set (zero until you set one)
wallet:credit-ticketsGive tournament ticketsAdd tournament tickets to player accounts
wallet:debit-virtualTake play chipsRemove play-money chips, for example to charge an entry fee
bonusGrant bonusesCreate bonuses through the bonus system, including wagering requirements
realtimeLive updatesSend live messages to players, tables or everyone, and receive messages from players
schedulerScheduled jobsRun its own tasks on a schedule, such as daily resets
notify:in-appIn-app messagesSend messages to players’ in-app inbox
notify:pushPush notificationsSend push notifications, within players’ notification settings
notify:emailEmail playersSend emails through your configured mail server
notify:email-addressEmail addresses you configureSend emails to addresses set in the plugin’s settings (for example spend alerts) through your configured mail server
hooks:player-actionsSee every player actionReceive each bet, call, raise and fold as it happens
hooks:account-dataSee account detailsReceive players’ email addresses when they register, their IP address when they log in, and the amounts of every balance change. Without it the plugin still hears about these events, without those details
game:rakeChange the rakeChange the rake taken from cash-game pots, including real-money tables. High impact. The rake never goes above the table’s rake cap or the pot
game:bot-decideChoose bot actionsDecide what the house bots do at the tables, including real-money tables, and read the bot list. High impact. The plugin sees only what the bot’s seat can see; the engine checks every action is legal and falls back to the built-in strategy when the plugin is too slow or returns something invalid
users:readLook up playersLook up player profiles (username, avatar, country, language, sign-up and last-seen dates, email consent flags), search players by username and select groups of players, for example for campaigns. Never their email address, IP address or balances
presenceSee who is onlineSee which players are online and which tables they are sitting at, and be told when a player comes online or goes offline
player:eligibilityRefuse seats and registrationsStop a player from taking a seat, entering a tournament, depositing, withdrawing, buying or sending and receiving transfers, with its own reason (stakes locked until a level, guest accounts kept to play chips). It can only refuse. When the plugin fails or is too slow, real-money actions are refused ("We could not confirm…") and play-chip actions go ahead
tournament:prize-poolSet play-chip tournament prizesDecide the prize pool of play-chip tournaments, for example a drawn jackpot. High impact: it can create large amounts of play chips. Never affects real-money, Gold, Diamond or ticket tournaments. Every change is recorded in the audit log, and a pool above the plugin’s prize-pool bound (see below) is refused

Every chip, ticket, real-money and bonus credit a plugin makes is written to the ledger as plugin:<providerType>:<reason> and to the admin audit log with the actor plugin:<providerType>. Bonuses a plugin grants appear on the Growth › Bonuses page; deactivating such a bonus there stops further credits from it.

Your consent is saved. Deactivating keeps it, so the next activation needs no new grant. If an upgrade adds a capability, the plugin keeps running but cannot use the new capability until you deactivate it and activate it again; the dialog then marks the new capability Not granted.

Plugins found in the plugins/ folder

Plugins that the server finds in its plugins/ folder at startup are loaded and granted every capability they declare, without a dialog. The grant is written to the server log (Auto-discovered plugin granted all declared capabilities) and shown on the plugin’s details. This is a development convenience: on a developer machine, every plugin in the source tree runs as soon as it is built. On Docker Compose that folder is ./plugins on the host; on Kubernetes it is the plugins volume. On a production server, only put a plugin in that folder if you would grant all of its capabilities; otherwise upload it, so you see the consent dialog. A plugin you deactivated stays inactive after a restart.

Wallet Caps

Credits a plugin makes count against a per-plugin daily cap (UTC day) for each balance type:

BalanceDefault
Real money0: the plugin cannot credit real money until you set a cap
Virtual chipsUnlimited, unless the plugin’s manifest sets a lower cap
Tournament ticketsUnlimited, unless the plugin’s manifest sets a lower cap

Bonuses count against the cap of their balance type. A real-money credit also requires real money to be enabled. A cap of 0 blocks that balance completely: every credit is refused. The day resets at 00:00 UTC. Chips a plugin delivers for a paid purchase (for example a Store chip pack) never count against the cap: the player paid, so a full cap cannot hold the order back.

Setting caps. Open the plugin’s details (click its name, or View details) in Extensions › Plugins. The Wallet daily caps section appears when the plugin can credit a balance (it declares wallet:credit-real, wallet:credit-virtual, wallet:credit-tickets or bonus), with one row per balance it can credit:

ColumnMeaning
Cap in effectWhat the engine enforces today. 0 (blocked) means no credits; Unlimited means no cap
SourceAdmin (your value), Plugin manifest (the plugin’s own cap, play chips and tickets only) or Default
Used todayCredits counted today (UTC) and how much is left under the cap
Your capUse default (the manifest value or the default above, shown in brackets), Daily limit (enter an amount: up to 2 decimals, whole numbers for tickets; at most 1,000,000,000 a day for real money and 1,000,000,000,000 for play chips and tickets) or Unlimited

Click Save caps. Only a super-admin can save; other admins see the section read-only (Only a super-admin can change wallet caps.). Closing the panel with unsaved caps asks first. Your value always wins over the manifest, and a plugin’s manifest can never set the real-money cap. Every change is recorded in the admin audit log (resource plugin_wallet_caps, with the caps before and after).

To let the progression plugin pay real-money rewards of up to 100 a day, for example, set Real money to Daily limit 100 and save. To block it again, choose Use default (0) or enter 0.

Raising a play-chip cap. Daily Rewards, Season Pass, Leagues and Store declare 2,000,000,000 play chips a day (Season Pass also 10,000 tickets). That is a site-wide total for all players: with the default Daily Rewards economy a returning player collects about 200,000 to 400,000 chips a day and a new player up to about 1,200,000 (the welcome gift), so the cap covers roughly 5,000 to 10,000 active players a day; a Leagues week pays about 200,000 to 1,600,000 chips per group of 20 plus 250,000 per member of a team that reaches its goal, all at the weekly rollover. When the cap is reached, rewards are refused until 00:00 UTC. For a bigger site type a higher Daily limit for Virtual chips (up to 1,000,000,000,000 a day), choose Unlimited, or lower the rewards in the plugin’s settings.

The caps are stored on the plugin’s walletCaps field as { "dailyCap": { "real": "100", "tickets": null } }. See Wallet for how the engine resolves them.

Transfer caps. A plugin that moves money between players (it declares wallet:transfer-virtual or wallet:transfer-real, for example a gifting plugin) gets a Transfers group in the same section, with one row per transfer capability. Transfers count against these caps, not the credit caps:

TransfersDefault
Real money transfers0: the plugin cannot move real money until you set a cap
Virtual chip transfersUnlimited, unless the plugin’s manifest sets a lower cap

The columns and choices work as above, and a manifest can never set the real transfer cap. On top of the cap, every plugin transfer follows the player transfer limits under Player transfers in Money › Payment Providers (see Cashier and Payments), and real-money transfers need the minimum KYC tier and pass the AML check. The values are stored as { "dailyTransferCap": { "real": "250" } } on walletCaps.

Prize-pool bound. A plugin that sets play-chip tournament prize pools (it declares tournament:prize-pool, for example Jackpot Spin) gets a Prize pools row in the same section: the highest pool it may set, as a multiple of the pool the tournament would pay without it (the buy-ins collected, or your fixed prize when higher). The default, 1000x, covers Jackpot Spin’s default top prize (1000 times one buy-in in a 3-player game, which is 333x the pool). Choose Custom multiple to set 1 to 1,000,000, or Use default (1000x). A pool above the bound is refused: the lobby shows the normal pool and the payout waits in Prizes pending until you raise the bound (it is then paid by the payout recovery). Every pool a plugin sets is recorded in the audit log (resource tournament_prize_pool, from and to). The value is stored as { "prizePool": { "maxMultiple": 5000 } } on walletCaps.

Deactivating a Plugin

Click Deactivate on an active plugin. The page asks Deactivate {name}?: its features stop working for players and admins right away, and its settings and data are kept. Confirm with Deactivate plugin. The server:

  1. Checks that no active payment systems depend on this plugin’s provider type.
  2. Removes all registered hooks, filters, routes, live-update handlers and scheduled jobs.
  3. Sets the plugin to inactive. Settings, stored data and granted capabilities are preserved.

Players’ open pages drop the plugin’s UI immediately, without a reload.

If payment systems depend on the plugin, an error is shown listing the dependent systems. Disable those payment systems first.

Upgrading a Plugin

Choose Upload new version on the plugin and pick the new .tgz file (or send it to the API below):

  1. The file is sent to the upgrade endpoint.
  2. The server validates the archive (same checks as upload, plus providerType must match).
  3. The old version is deactivated, the new files are swapped in atomically, and the new version is registered.
  4. If the upgrade fails, the old version is automatically restored.
  5. Settings are preserved across upgrades.

If the new version adds a frontend bundle, the plugin is upgraded and then deactivated: activate it again to review and approve browser access.

Connected clients receive a plugin:updated WebSocket event and automatically reload the plugin’s frontend bundle.

API

POST /api/v1/admin/plugins/:id/upgrade — Super-admin. Multipart .tgz upload (same as install).

Deleting a Plugin

Click Delete on an inactive plugin. The page asks Delete {name}?; confirm with Delete plugin. Deletion:

  1. Removes the plugin files from disk.
  2. Deletes the database record, its settings and all data the plugin stored. Bonuses and ledger entries the plugin created stay, because they are part of the financial history.

Active plugins cannot be deleted — deactivate first.

Plugin Settings

Plugins that declare configFields in their package metadata have a Settings action. It opens the plugin’s settings page (/admin/plugins/<providerType>/settings, titled {name} settings) with the auto-generated settings form. Back to Plugins returns to the list.

Supported Field Types

TypeControlNotes
textText inputDefault for unknown types
passwordPassword input with show/hide toggleEncrypted at rest
numberNumber inputValidated server-side
toggleOn/off switchStored as "true" / "false"
selectDropdownOptions defined in configFields
textareaMulti-line text area—
jsonMonospace JSON editorShows Invalid JSON: … while you type; Format pretty-prints it. If the plugin defines a schema, the value is checked against it when you save
listList of text itemsType in Add an item and click Add or press Enter; edit items in place or remove them. Text left in Add an item is added when you leave the box, so Save keeps it

Settings Flow

  1. In Extensions › Plugins, choose Settings for the plugin.
  2. Fill in the form. A field you have never saved shows the plugin’s default, the value the plugin uses until you save another one (a switch that is on by default shows on). Required fields are marked as required. A saved password value isn’t shown; leave it blank to keep it.
  3. Click Save (or Discard changes to go back to the saved values). Leaving the page with unsaved changes asks first. The server validates required fields and type constraints, including that json fields hold valid JSON matching the plugin’s schema and list fields hold a list of text items (at most 256 KB each). A failed check shows the reason and nothing is saved.
  4. Plugins can register custom validation via the plugin:settings:validate filter hook.
  5. Password-type values are encrypted before storage and decrypted on read.

Settings API

MethodPathPermissionDescription
GET/api/v1/admin/plugins/:providerType/settingsAdminGet settings + field definitions
PUT/api/v1/admin/plugins/:providerType/settingsSuper-adminSave settings
GET/api/v1/config/plugin-settings/:providerTypeAuthenticatedPublic settings (no passwords)

API Endpoints

MethodPathPermissionDescription
GET/api/v1/admin/pluginsAdminList all plugins. pluginPolicy (enforced, reason) says whether certified mode limits plugins to signed ones; in certified mode each plugin carries trust (signed, unsigned, tampered, bad-signature or refused, with a message)
GET/api/v1/admin/plugins/:idAdminGet plugin details, including capabilities, grantedCapabilities, jobs and walletDailyCaps
GET/api/v1/admin/plugins/:id/jobsAdminList the plugin’s scheduled jobs
POST/api/v1/admin/plugins/uploadSuper-adminUpload plugin .tgz
POST/api/v1/admin/plugins/:id/activateSuper-adminActivate plugin. Body { "grantCapabilities": [...] }; returns 409 CAPABILITIES_NOT_GRANTED with the missing list when a declared capability is not granted
POST/api/v1/admin/plugins/:id/deactivateSuper-adminDeactivate plugin
POST/api/v1/admin/plugins/:id/upgradeSuper-adminUpgrade plugin with new .tgz
DELETE/api/v1/admin/plugins/:idSuper-adminDelete inactive plugin
GET/api/v1/admin/plugins/:providerType/settingsAdminGet plugin settings
PUT/api/v1/admin/plugins/:providerType/settingsSuper-adminSave plugin settings
GET/api/v1/admin/plugins/:providerType/wallet-capsAdminDaily wallet caps in effect, their source and today’s usage; canEdit is true for super-admins
PUT/api/v1/admin/plugins/:providerType/wallet-capsSuper-adminReplace the admin daily caps. Body { "real"?, "virtual"?, "tickets"?, "transfers"?: { "real"?, "virtual"? }, "prizePool"?: { "maxMultiple" } }: a non-negative amount, null for unlimited, or omit the key to fall back to the manifest or default. Omitting transfers leaves the transfer caps unchanged; omitting prizePool leaves the prize-pool bound unchanged (maxMultiple 1 to 1,000,000, null for the default 1000). A balance the plugin can’t credit (or transfer), or a bound for a plugin without tournament:prize-pool, returns 400
POST/api/v1/admin/plugins/:providerType/health-checkAdminTrigger on-demand health check

Plugin Health Checks

Plugins can declare hasHealthCheck: true in their package.json pokerEnginePlugin field and export a healthCheck(registry) function. The engine uses this to monitor plugin operational status.

How it works

  • On-demand check: Choose Check health on the Plugins page for any active plugin that declares hasHealthCheck.
  • Periodic check: The engine automatically runs health checks every 5 minutes for all loaded plugins with a registered healthCheck export.
  • After activation: A health check runs automatically after a plugin is activated.
  • After settings saved: A health check runs automatically after plugin settings are updated.

Health status indicators

The Health column on the Plugins page shows a badge:

BadgeMeaning
Not checkedNo health data yet (never checked)
HealthyLast check passed
UnhealthyLast check failed

Circuit breaker integration

An unhealthy health check result increments the plugin’s circuit breaker error counter by 10 points. If a plugin reports unhealthy status repeatedly and the counter reaches 50 within a 5-minute window, the circuit breaker triggers and the plugin is automatically deactivated.

Writing a health check

// dist/server/index.js (compiled plugin server entry)

export function register(registry) {
  // ... register hooks, routes, etc.
}

export async function healthCheck(registry) {
  // Return { healthy: true } or { healthy: false, message: '...' }
  try {
    await registry.settings.get('api_key'); // example: verify config
    return { healthy: true, message: 'All systems operational' };
  } catch (err) {
    return { healthy: false, message: err.message };
  }
}

Safe Mode

Set SAFE_MODE=true in your .env file to boot the server with all plugins disabled. This is useful for diagnosing plugin-related startup failures.

In safe mode:

  • No plugins are loaded at startup (both env-based and DB-based plugins are skipped).
  • The admin panel is fully accessible — a Safe mode active banner on the Plugins page indicates all plugins were skipped at startup and none are loaded.
  • You can still activate, deactivate, and manage plugins manually.

Startup Error Isolation

If a plugin fails to load during normal startup (not safe mode), the server:

  1. Logs the error with the plugin name and source.
  2. Auto-deactivates the plugin (isActive=false) and records the error in lastError.
  3. Continues loading remaining plugins without interruption.

This prevents crash loops — a failed plugin won’t retry on the next boot. The Plugins page shows a Startup failed status for auto-deactivated plugins.

Certified Mode: Signed Plugins Only

When the server runs with CERTIFIED_MODE=true (see the production configuration guide), only plugins signed with the vendor’s release key install and load. Outside certified mode nothing changes: you upload and install third-party plugins exactly as before.

In certified mode:

  • The Plugins page shows a Signed plugins only banner with the reason. Each plugin that would not load shows Not loaded in certified mode and why (no signature, changed files, another key, or a development plugin).
  • Upload and Upload new version accept only a signed archive. An unsigned archive is refused with 403 PLUGIN_NOT_SIGNED before anything is copied, and the folder already installed stays as it was.
  • Activate checks the plugin folder on disk first. A plugin whose files changed after signing (for example, edited on the plugins volume) is refused.
  • Start-up checks every plugin before any of its code runs. A refused plugin is logged at error level (Plugin not loaded: Certified mode: ...), its lastError is set, and the server starts without it. It stays marked active, so it loads by itself once you install a signed copy or leave certified mode.
  • Plugins named in PAYMENT_PLUGINS (loaded by npm package name) cannot be verified and are not loaded.
  • The development plugins demo-plugin and test-auth-provider never load in certified mode, even if signed.
  • No npm install runs for an uploaded plugin, because a signed plugin ships complete and downloaded dependencies would change the signed files.
  • The first-party plugin archives that come with each release are already signed: upload them as you received them. Unpacking and re-packing an archive, or editing a file in it, breaks the signature. To see which plugins a release signed, read signedPlugins in its signed poker-engine-manifest.json (name, version and SHA-256 of each archive).

The plugin’s browser code is not offered to players while it is not loaded. The check covers the plugins volume in Docker and Helm (pvc-plugins): a file placed on the volume by hand is checked like an uploaded one, and a node_modules folder at the top of the volume makes every plugin refuse to load, because it would replace the plugins’ dependencies with unsigned code. Theme packages are not covered because they cannot carry server code. Their JavaScript is served to browsers only and is never loaded by the server.

Circuit Breaker

The engine monitors runtime errors from plugin hook callbacks. If a plugin produces 50 or more errors within a 5-minute window, it is automatically deactivated to protect platform stability.

When the circuit breaker triggers:

  1. All plugin hooks, filters, and routes are removed immediately.
  2. The plugin is marked as inactive in the database with the reason in lastError.
  3. A plugin:auto-disabled WebSocket event is broadcast, removing the plugin’s frontend UI instantly.
  4. The Plugins page shows an Auto-disabled status for the plugin.

An administrator must manually re-activate the plugin after investigating the issue.

Try the live demo Pricing

Have questions about Poker Engine? We reply fast.