Membership setup
Membership Setup
The Nanny AI chat tier can be unlocked via three independent paths. Enable one or more.
Path 1 — Permission node (recommended for LuckPerms + DiscordSRV servers)
Settings_Menu: Membership: trueNanny: Membership: enabled: true Allow_Linking: false Permission: enabled: true node: "accidentprone.nanny.ai_unlocked" Patreon: enabled: false Subscribestar: enabled: falseGrant the perm node via your permission plugin. With DiscordSRV’s role-sync the perm flips automatically when a Discord role syncs from Patreon.
Path 2 — Direct Patreon OAuth
- Register a Patreon developer app at https://www.patreon.com/portal/registration/register-clients
- Set the redirect URI to
https://accident-prone.io/oauth-redirect(or your self-hosted helper page — see below). - Copy
Client IDandClient Secretintoconfig.yml:
Settings_Menu: Membership: trueNanny: Membership: enabled: true Allow_Linking: true Patreon: enabled: true Client_ID: "your-patreon-client-id" Client_Secret: "your-patreon-client-secret" Tier_Required: [] Campaign_ID: "your-campaign-id"- Players run
/nanny link patreon, click the chat link, sign in, copy the code from the redirect page, and run/nanny link patreon <code>in chat. - The Client_Secret is encrypted in-place on the next save. After first save,
the file shows
Client_Secret: "enc:..."— do NOT edit that value by hand.
Path 3 — Direct Subscribestar OAuth
Same pattern as Patreon. Register a client at https://www.subscribestar.com/, configure:
Nanny: Membership: Subscribestar: enabled: true Client_ID: "your-ss-client-id" Client_Secret: "your-ss-client-secret" Tier_Required: []If Subscribestar issues only short-lived tokens for your client, players may see a “link expired” message on a future login asking them to re-link. This is normal.
Self-hosting the OAuth helper page
The default Redirect_URI points to a static helper page hosted by the plugin author.
If you’d rather host your own (for branding or compliance), copy
docs/security/oauth-redirect.html to any static host (GitHub Pages / Cloudflare Pages
/ S3) and point Nanny.Membership.Redirect_URI at it. Update the redirect URI in
your Patreon/Subscribestar OAuth client registration to match — providers pin
redirect URIs.
Combining paths
Setting multiple enabled: true entries means any path that returns “unlocked”
unlocks the AI tier (OR semantics). All-disabled is the default; AI tier stays locked.