openfrontio / openfrontio/OpenFrontIO

Add player profile public toggle

Open
#1,754 7 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.