Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Premium User Roles #102

Open
QuinnBast opened this issue Jan 31, 2023 · 0 comments
Open

Add Premium User Roles #102

QuinnBast opened this issue Jan 31, 2023 · 0 comments
Labels
Server Server related work

Comments

@QuinnBast
Copy link
Contributor

QuinnBast commented Jan 31, 2023

Enhancement Description

In order to keep the server running and also show the true supporters of the game, we are going to implement various donor roles into the game. Some donor roles come with neat perks that let you do cool things that a normal users of the game wouldn't be able to do.

In order to support the various actions a user can take, we need to add the following UserClaims:

CREATE_CUSTOM_GAME,  // Lets users create custom games
NAME_AN_OUTPOST,        // Lets a user name an outpost.
STATS_TRACKING,              // Player statistics will not be recorded until a player gets this role (by donation)
CUSTOM_PROFILE,            // Lets a player set a banner, user icon, and title
EXTENDED_DATA_RETENTION,    // Makes the player's game expire after 6 months instead of 2 months.
JOIN_MANY_GAMES,        // Lets a user join more than 2 games.
STAT_TRACK,   // ability to track specialist stats
DOUBLE_EXP,   // Gain more EXP to unlock specs faster

???

Admins should get all of these roles by default.

Note: An admin REST endpoint already exists that allows admins to update a user's role.
Once we implement in-app purchases, we can check & verify a user has purchased a particular item and grant them the particular user roles based on their purchase

@QuinnBast QuinnBast added enhancement New feature or request Server Server related work and removed enhancement New feature or request labels Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Server Server related work
Projects
None yet
Development

No branches or pull requests

1 participant