OpenFusionProject / OpenFusion

Open source server for the FusionFall client
MIT License
351 stars 64 forks source link

Enable account level changing at runtime #282

Closed yungcomputerchair closed 5 months ago

yungcomputerchair commented 5 months ago

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.

CakeLancelot commented 5 months ago

Thanks!