Patreon Plugin


Build a branded Game Launcher Creator V4 launcher for your Patreon community. Players sign in with Patreon in their browser. Your launcher uses verified campaign membership to show pages, enable buttons, or display supporter-specific messages.

Before you start

  • An active GLC V4 Developer Edition plan and the Patreon Plugin add-on. Use Windows launcher runtime 1.0.171 or later.
  • A Patreon creator account and an HTTPS hosting account with PHP 8.3 or newer, cURL, PDO SQLite, OpenSSL, and owner-only storage outside the public document root.
  • Access to your hosting file manager and its HTTP logging settings. Installation uses three files and the bridge creates its SQLite database and encryption key on first use.

1. Download the bridge and choose the callback URL

Open your GLC account, find Patreon Plugin under Plugin Ownership, and select Download Bridge. Check the ZIP against the SHA-256 shown there. Extract patreon.php, config.example.php, and README.md.

Choose a URL such as https://game.example/patreon-bridge/patreon.php. In Patreon Clients & API Keys, register a new API v2 client under the creator account that owns your campaign. Register the exact HTTPS URL without a trailing slash, query string, or fragment. Keep the generated client secret private. Player authorization requests the identity scope so the bridge can check membership of your campaign.

2. Identify your campaign and tiers

Use the creator access token from your Patreon client registration in a trusted REST client. Make a private read-only request to https://www.patreon.com/api/oauth2/v2/campaigns?include=tiers&fields%5Bcampaign%5D=creation_name&fields%5Btier%5D=title%2Camount_cents with Authorization: Bearer YOUR_CREATOR_ACCESS_TOKEN. The request needs the campaigns scope. Copy the ID of your campaign from data and use the campaign's tier relationship and matching included records to identify the tier IDs. Keep the creator token out of your bridge configuration and launcher. See Patreon's campaigns API reference.

3. Install and verify your PHP bridge

  1. Upload patreon.php to the public folder matching the callback URL.
  2. Create glc-patreon alongside the public document root, for example alongside public_html. Give the private directory owner-only access (Unix equivalent 0700). If your hosting layout differs, set GLC_PATREON_PRIVATE_DIR to its absolute private path in the PHP environment.
  3. Copy config.example.php into the private folder as config.php. Set callbackUrl, campaignId, clientId, and clientSecret. Set appId to a public identifier you choose, such as my-game-patreon.
  4. Configure your host and any proxy or CDN to omit callback query strings and referrers from access and diagnostic logs. Keep request bodies and sensitive headers out of diagnostic logs. Check this before real sign-in.
  5. Visit the callback URL to check the bridge is ready. Test a real launcher sign-in to verify the OAuth credentials and registration end to end.

Keep the configuration, SQLite database and auxiliary files, and encryption key together in private storage and backups. Never copy the client secret, creator token, or player tokens into GLC or support messages.

4. Build and test a launcher

  1. Apply Patreon Starter from Templates in a fresh launcher slot, or drag a Patreon object from the Plugins tab. Enter the bridge URL as Bridge Endpoint and copy the Public App ID and Campaign ID from your private configuration. For tier access, select Currently Entitled Tier and enter the allowed tier IDs. An optional Join Page URL points to your Patreon page.
  2. Wire the Sign In, Cancel Sign In, Refresh Membership, and Sign Out buttons to Patreon: Login, Patreon: Cancel Login, Patreon: Refresh Membership, and Patreon: Logout. Enable Remember Session and add Patreon: Restore Session to Page Load to restore and verify remembered sign-ins.
  3. Start your supporter-only button hidden. Show it on Access Allowed and hide it on Access Denied, Access Revoked, and Logout. Put Patreon: If Access Allowed first on its Click event, with Halt if Negative enabled. Use your normal GLC actions after the condition.
  4. Save and choose Test Launcher. Test a qualifying account and a signed-in account without a qualifying tier. Both can sign in. The qualifying account passes the access policy. Cancel an unfinished sign-in and test an immediate retry. A pending attempt expires after five minutes even if the browser was closed.
  5. Restart the launcher to confirm session restoration. Sign out and restart again to confirm the session was cleared. Publish the test slot and use Build Launcher to package the published revision.

Launcher rules control the launcher interface and actions. Protect downloadable content with server-side authorization on the service that delivers the files.

Patreon properties, events, actions, variables, and troubleshooting

⚡ Sale Live SALE NOW ON - TIME LIMITED OFFER - GET NOW! Gamer 75% Off Developer 35% Off Max 50% Off One-time payment · Lifetime access Get Discount
⚡ Sale Live Lifetime access reduced
Up to 75% off GLCV4 lifetime
Gamer 75% Dev 35% Max 50%
Get Discount