Skip to content

Add Premium User Roles #102

@QuinnBast

Description

@QuinnBast

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ServerServer related work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions