openfrontio / openfrontio/OpenFrontIO
Add player profile public toggle
Open
approved
UI/UX
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 1.4k
- Avg merge
- 17h 43m
- Merged PRs (30d)
- 310
Description
## Player profile public flag
Players who opt in can show their identity in locations like https://api.openfront.io/leaderboard/public/ffa and on the game summary screens.
## Setting the public flag
To set the profile to public send `POST /users/@me` to `https://api.openfront.io` with the body: `{"public": true}`.
## Implementation
Add a toggle button to enable or disable the public flag.
May depend on #1728
Contributor guide
Assessment
This issue has not been assessed yet.