Skip to main content

Points

Player point balances and economy settings.

PointsController​

  • Route prefix: api/points
  • Auth: [Authorize] on all endpoints. Adjust and sign-in require elevated roles as noted.
MethodPathDescriptionRequestResponse
GET/List all player points, paginated?pageIndex&pageSize&searchPaginatedResponse<PointsInfo>
GET/{playerId}Get a player's pointsPointsInfo
POST/{playerId}/adjustAdjust player's points (admin only){ amount, reason }{ playerId, playerName, points, change, reason }
POST/{playerId}/sign-inTrigger daily sign-in bonus (admin/moderator){ playerId, message, awarded, points, change }

PointsSettingsController​

  • Route prefix: api/settings/points
  • Auth: admin role required.
MethodPathDescriptionRequestResponse
GET/Current points settingsPointsSettings
PUT/Update points settings{ zombieKillPoints, playerKillPoints, signInBonus, playtimePointsPerHour, playtimeIntervalMinutes }string

Notes​

  • playerId here is the stable in-game player ID (Steam ID).
  • amount on adjust can be negative; the reason is required and recorded for audit.
  • Playtime bonus accrues on a timer (playtimeIntervalMinutes) while the player is online, at the configured hourly rate.