Heroic Labs Documentation Social Infrastructure At Scale
Login
  • Nakama
    • Product
    • Open-source
    • Nakama Enterprise
    • Capabilities
    • Social gameplay
    • Multiplayer
    • Competitive
    • Customization
  • Heroic Cloud
  • Pricing
  • Customers
  • Docs
  • Blog
  • Login
  • Nakama
  • Heroic Cloud
  • Getting Started
  • Concepts
  • Client Libraries
  • Server Framework
  • Tutorials
  • Guides
  • Videos
  • Nakama
    • Getting Started
      +
      -
      • Overview
      • Install
        +
        -
        • Overview
        • Docker Compose
        • Windows
        • macOS Binary
        • Linux
      • CLI Commands
      • Configuration
      • Upgrading
      • Nakama Console
        +
        -
        • Overview
        • Status
        • User Management
        • Configuration
        • Runtime Modules
        • Accounts
        • User Groups
        • Storage
        • Leaderboards
        • Matches
        • API Explorer
      • Architecture Overview
      • Benchmarks
      • Release Notes
    • Concepts
      +
      -
      • Overview
      • Authentication
      • Sessions
        +
        -
        • Overview
        • Session Management
      • User accounts
      • Storage Engine
        +
        -
        • Overview
        • Collections
        • Access Controls
        • Modeling for Scalability
      • Friends
        +
        -
        • Overview
        • Best Practices
      • Groups
        +
        -
        • Overview
        • Groups Best Practices
      • Real-time Chat
      • Parties
      • Multiplayer Engine
        +
        -
        • Overview
        • Client Relayed Multiplayer
        • Authoritative Multiplayer
        • Match Listing
        • Matchmaker
        • Query Syntax
      • Status
      • Leaderboards
        +
        -
        • Overview
        • Leaderboards Best Practices
      • Tournaments
      • Notifications
      • In-app Purchase Validation
      • Events
    • Client Libraries
      +
      -
      • Overview
      • Unity/.Net
      • JavaScript
      • Godot
      • Java/Android
      • Defold
      • C++
      • Unreal
      • Cocos2d-x C++
      • Cocos2d-x JavaScript
      • Snippets
        +
        -
        • Overview
        • Authoritative In-game Items
        • Authoritative Storage
        • Banning Users
        • Custom Authentication
        • Updating Group Metadata
        • Updating User Metadata
    • Server Framework
      +
      -
      • Overview
      • Setup
        +
        -
        • Overview
        • TypeScript
        • Go
        • Lua
      • RPC Functions
      • Streams
      • Go Dependency Pinning
      • Function Reference
        +
        -
        • Overview
        • TypeScript
          +
          -
          • Overview
          • Match Handler API
          • Match Runtime API
        • Go
          +
          -
          • Overview
          • Match Handler API
          • Match Runtime API
        • Lua
          +
          -
          • Overview
          • Match Handler API
          • Match Runtime API
    • Tutorials
      +
      -
      • Overview
      • Initialize a New User
      • Daily Rewards
      • Remote Configuration
      • Sending Email Using SendGrid
      • JavaScript
        +
        -
        • Overview
        • Tic-Tac-Toe PhaserJS
      • .Net/Unity
        +
        -
        • Overview
        • Fish Game
        • Pirate Panic
          +
          -
          • Overview
          • Pirate Panic: Authentication
          • Pirate Panic: Friends
          • Pirate Panic: Clans
          • Pirate Panic: Storage
          • Pirate Panic: Matchmaking
          • Pirate Panic: Multiplayer
          • Pirate Panic: Leaderboards
          • Pirate Panic: Notifications
        • Ninja Battle
    • Guides
      +
      -
      • Overview
      • Bucketed Leaderboards
      • Custom Leaderboards
      • Tiered Leagues
      • Guarding APIs
      • Asset Management
      • Deploy on Digital Ocean
      • GameSparks Migration
      • Custom Authentication with Third-Party Services
    • Videos
  • Heroic Cloud
    +
    -
    • Introduction
    • Organizations
    • Projects
    • Builders
  • Docs
  •  / Nakama
  •  / Client Libraries
  •  / Snippets

Snippets #

  • Handling Player Equipment Authoritatively
  • Writing to Storage Engine Authoritatively
  • Custom Authentication for Itch.io
  • Updating Group Metadata
  • Updating User Metadata

Join our developer community and build beautiful realtime apps and live games!

Install   Learn More
Subscribe to to our newsletter
  • Product
  • Nakama Open Source
  • Nakama Enterprise
  • Heroic Cloud
  • Company
  • Customers
  • About
  • Blog
  • Twitter
  • Get help
  • Documentation
  • Video Tutorials
  • Community
  • Resources
  • Photon Comparison
  • Firebase Comparison
  • Terms of Service
  • Privacy Policy
  • © 2022 Heroic Labs