Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Nakama SnippetsNew to Visual Studio Code? Get it now.
Nakama Snippets

Nakama Snippets

Elemental Code

|
78 installs
| (0) | Free
Snippets for Nakama go Server Runtime
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Nakama Snippets for GO

Just a bunch of snippets to write Nakama functions

List of snippets

Context

  • ctxuserid, cuserid: User ID from Context
  • ctxusername, cusername: Username from Context
  • ctxvalue, cvalue: Get value form Context (All of 'em)

RPC

  • rpc: Remote Procedure Call Function

Match

Lifetime

  • matchcreator, mcreator: Match Creator Function
  • matchinit, minit: Match Init Method
  • matchjoin, mjoin: Match Join Method
  • matchjoinattempt, mjoinattempt: Match Join Attempt Method
  • matchleave, mleave: Match Leave Method
  • matchloop, mloop: Match Loop Method
  • matchsignal, msignal: Match Signal Method
  • matchterminate, mterminate: Match Terminate Method

Match Tools

  • matchbroadcast, mbroadcast: Match Broadcast Message
  • matchkick, mkick: Match Kick
  • matchlabelupdate, mlabelupdate: Match Label Update

Hooks

  • beforehook, bhook: Before Hooks Handler(All of 'em. Start typing to find the one you want)
  • afterhook, ahook: After Hooks Handler(All of 'em. Start typing to find the one you want)
  • eventhook, ehook: Event Hook Handler
  • matchmakerhook, mmhook: Matchmaker Hook Handler
  • tournamenthook, thook: Tournament Hook Handler
  • leaderboardhook, lhook: Leaderboard Hook Handler
  • purchasehook, phook: Purchase / Subscription Hook Handler
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft