Files

1.1 KiB
Raw Permalink Blame History

gameauthapi

MedMind authentication configuration

Configure production values through environment variables (double underscores map to nested .NET settings):

  • Auth__PublicBaseUrl=https://pauth.ranaze.com
  • Email__SmtpHost, Email__SmtpPort, Email__UseTls
  • Email__Username, Email__Password, Email__Sender

The public base URL must be reachable by Steam and route /api/Auth/steam/callback to this service.

Spawnables

Spawnables describe items that can appear in the world. Along with the name and spawn rate, they now specify how the item behaves when a player performs the required collect action.

  • CollectAction – the action a player must perform.
  • CollectResults – a list of possible outcomes when the collect action succeeds. Each entry defines:
    • Result – textual description of the outcome.
    • SuccessRate – percentage chance (0-100) for that outcome.
  • Uses – optional number of times the item can be successfully acted on before being removed. 0 means it never expires unless ConsumeOnSuccess is true.