Skip to Content
MinexonMinexon

Cloudflare Turnstile

Create a Cloudflare Turnstile widget, protect player forms, and check verification.

Cloudflare Turnstile helps reduce automated submissions on the player forms you choose. In Managed mode, verification can complete automatically in the browser. Cloudflare displays a checkbox when an extra check is needed. You can use Turnstile with your existing DNS and proxy setup. Cloudflare Turnstile · Widget modes

Create a widget in Cloudflare

  1. In your Cloudflare account, go to Turnstile → Add widget. Give the widget a name you can recognize.
  2. Under Region, select Rest of World. Minexon uses this region's verification endpoint. Cloudflare locks the region when the widget is created. Create a widget · Regional verification endpoints
  3. Under Hostname management, add the hostname players use, such as play.example.com. Omit https://, ports, paths, and wildcards. If players use multiple hostnames, make sure the widget authorizes each of them. Hostname management
  4. Select Managed mode. You can leave Pre-clearance off for the Minexon form verification in this guide. Select Create and copy the Sitekey and Secret key.

Save and enable Turnstile in Minexon

  1. In Settings → Modules → Accounts, select Settings on the Cloudflare Turnstile row.
  2. Paste the Cloudflare values into Site key and Secret key. Choose at least one item under Protected flows and select Save changes.
  3. Select Back to modules, turn on Cloudflare Turnstile, and save the module changes.

Cloudflare Turnstile settings in Minexon showing both key fields, four protected flows, and the save button

The site key loads the widget on the player form. Minexon stores the secret key encrypted and uses it for server-side verification. Leave Secret key blank to keep the saved value when changing flows. After rotating the secret in Cloudflare, enter the new value here. When switching to a different widget, replace both keys together. Turning off the module pauses verification and retains its settings. Rotate a secret key

Read access uses settings.modules.view. Changing keys and flows requires settings.modules.options, and toggling the module requires settings.modules.edit. Both write operations also require settings.manage. Modules

Choose which forms to protect

Flow in the dashboardWhat the player verifies
Account registrationStandard registration and the form that completes registration started with an external provider. Account registration
Sign-inSigning in with a username and password or starting sign-in with an external provider. Sign-in
Create a support ticketSubmitting a new ticket. Replies to existing tickets are outside the scope of this setting. New support ticket
Create a forum topicSubmitting a new topic. Editing topics and posting replies are outside the scope of this setting. Create a forum topic

The relevant registration, support, or forum settings and player permissions determine whether the form is available. Turnstile adds verification to the selected forms. Password recovery and two-factor authentication are separate flows. The cookie consent choice does not change Turnstile behavior.

Use Turnstile with Google reCAPTCHA

Both providers can run on different forms. For example, you can use Turnstile for new support tickets and reCAPTCHA for sign-in. The dashboard rejects settings that assign the same form to both active providers. When moving a form to Turnstile, remove it from reCAPTCHA first. If it is the only flow selected in reCAPTCHA, disable that module first. Google reCAPTCHA

Verify the setup

  1. Open the player site on the hostname you registered in Cloudflare. Use a private session for sign-in and registration, and a permitted test account for support and forum forms.
  2. On a protected form, wait for Turnstile to complete. In Managed mode, select the checkbox if Cloudflare shows one. Submit a valid form and confirm the action completes.
  3. If you can submit before verification completes, confirm that Minexon stops the action. Minexon rejects a missing or failed verification. Test each selected flow separately.

A Turnstile response is valid for five minutes. Minexon checks Cloudflare's verification result, the hostname, and the flow the response belongs to. It accepts each response once. Obtain a new verification before resubmitting a form. Server verification and response lifetime

SymptomWhat to check
The verification widget fails to loadConfirm that the module is enabled and the form is selected. Default includes the widget. Check that JavaScript is enabled and that the browser can reach challenges.cloudflare.com.
Cloudflare reports a hostname or key errorCheck the hostname players open, the widget's allowed hostnames, and that both keys belong to the same widget. 110100 identifies an invalid site key, and 110200 identifies an unauthorized hostname. Cloudflare error codes
The widget reports success but the form is rejectedTry a fresh verification. Confirm that the widget uses Rest of World and that the secret matches the site key. The hosting server needs PHP cURL and outbound HTTPS access to challenges.cloudflare.com.
The dashboard reports a provider conflictCheck the forms selected in the active reCAPTCHA module and assign each form to one provider.