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

[SUGGESTION] - MultiCharacter for admin only #81

Closed
gorthaur3019 opened this issue Feb 9, 2022 · 2 comments
Closed

[SUGGESTION] - MultiCharacter for admin only #81

gorthaur3019 opened this issue Feb 9, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@gorthaur3019
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of the nature of the problem.

For now everyone can create multiple characters

Describe the feature you want
A clear and concise description of what you want to happen. and in as much detail as possible how it would work in your opinion. Please try to keep it unique.

Make the creation of several characters possible only for people whitelist example of admin or moderator on the server

Describe the alternatives you have considered
A clear and concise description of any alternative solutions or features you have considered for people to have in mind in case the main idea is not liked but a derivative is.

For RP servers we want to limit character creation for our players, one per person except for admins who can create more.

@gorthaur3019 gorthaur3019 added the enhancement New feature or request label Feb 9, 2022
@gorthaur3019 gorthaur3019 changed the title [SUGGESTION] [SUGGESTION] - MultiCharacter for admin only Feb 9, 2022
@iktray
Copy link

iktray commented Feb 10, 2022

#78

@GhzGarage GhzGarage self-assigned this Apr 22, 2022
@tom-osborne
Copy link
Contributor

This feature exists.

To achieve your request, you can set the config option Config.DefaultNumberOfCharacters = 1 and then add your admins licences into the config option Config.PlayersNumberOfCharacters as follows: -

Config.PlayersNumberOfCharacters = { -- Define maximum amount of player characters by rockstar license (you can find this license in your server's database in the player table)
    { license = "license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", numberOfChars = 2 },
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants