Loading...
Loading...
Monetizes browser games with Play.fun by guiding game registration, rewards and leaderboard setup, SDK integration, and deployment. Use when the user says "monetize my game", "add Play.fun", "add token rewards", "add a leaderboard", "register my game", "deploy so players earn rewards", or "launch a Playcoin". Do NOT use for generic game design, unrelated Solana questions, or non-game web apps.
npx skill4agent add playdotfun/skills playdotfunnode skills/scripts/playfun-auth.js statustest_connection<meta name="x-ogp-key">./skills/scripts/image-to-base64.sh <image> --data-uri --file /tmp/game_image_b64.txtregister_gameregister_gameidsdk.init({ gameId })get_my_gamesgameId<meta name="x-ogp-key" content="your-api-key" /><script src="https://sdk.play.fun"></script>OpenGameSDKtypeofsdkReadysdk && sdkReadysdk.init({ gameId: 'your-game-id' })idregister_gamesdk.addPoints()sdk.endGame()savePoints()sdk.refreshPointsAndMultiplier()update_gameget_game_leaderboardlaunch_playcoin| Resource | Description |
|---|---|
| API Reference | Complete API endpoint reference |
| API Authentication | HMAC-SHA256 authentication guide |
| SDK Best Practices | SDK selection and anti-cheat configuration |
| Server SDK Reference | Server-side SDK reference |
| Browser SDK Reference | Browser SDK reference |
| Hybrid SDK Reference | Browser + Server combined reference |
| Features (Streaks & Multipliers) | Built-in engagement features |
| MCP Quickstart | MCP tools for game registration and management |
| Glossary | Play.fun terms and concepts |
| Auth Setup | Credential setup guide |
| GitHub Pages Deploy | Free game hosting via GitHub Pages |
| Game Upload Rules | Required fields and image guidelines |
| Server SDK Snippets | Copy-paste server code examples |
| Browser SDK Snippets | Copy-paste browser code examples |