Skip to content

Creator codes for your game

Let your players support their favorite creators with a code, and pay those creators a share of every purchase.

Using Roblox Studio or PlayFab? See the Roblox Studio or PlayFab guide.

Start with your coding agent

Copy this into Claude Code, Cursor, Codex, or any coding agent.

Your coding agent
Add Nexus creator codes to this game.Read https://docs.nexus.gg/llms.txt and the full docs it links to.Then plan the whole integration for this codebase: where players enter a code, how it's validated, how confirmed purchases are reported from the server, and what's left before go-live.Use Sandbox, keep the private key on the server, and show me the plan before changing anything.

You add two calls: one from your game, one from your server. Nexus handles the attribution, reporting, and creator payouts.

  1. Your player enters a creator code

    Your game or store asks for it, and you check it belongs to a creator in your program with your public key.

  2. Your player buys something

    Once your payment provider confirms the purchase, your server reports it to Nexus with your private key.

  3. The creator earns their share

    Nexus attributes the revenue and pays the creator. You run your program, campaigns, and bounties from the Publisher Dashboard.

Each prompt points your agent at the page it needs, so it works from the docs instead of guessing.

Report confirmed purchases from your server, with a stable player ID so repeat buyers count.

Paste into your agent
Read https://docs.nexus.gg/start-integrating/track-a-purchase.md.Find where this project confirms a purchase on the server, and send that transaction to Nexus as the page describes, including a stable, pseudonymous playerId.Show me the plan first.
  • /llms.txt lists the machine-readable versions of these docs.
  • /llms-full.txt is the full text of the docs in one file.
  • Add .md to a guide or endpoint page’s URL, or use its Copy page button, to get that page as Markdown.