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

Enable account level changing at runtime #282

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

yungcomputerchair
Copy link
Member

@yungcomputerchair yungcomputerchair commented Jun 23, 2024

Modifies the /access command to allow changing of account level at runtime (fixes #194).

Usage: /access <id> [new_level]
Use . for id to select yourself

The player can only modify the account level of someone with weaker privileges, and can only assign privileges weaker than their own. This change is persistent (immediately written to the database).
If no new level is provided, the command just prints the current access level of the player.

Using this command on other players is only permitted at access level 30.

@yungcomputerchair yungcomputerchair changed the title Enable account level change at runtime Enable account level changing at runtime Jun 23, 2024
@CakeLancelot
Copy link
Member

Thanks!

@CakeLancelot CakeLancelot merged commit b780f5e into OpenFusionProject:master Jun 24, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to set account level at runtime
2 participants