Closed Mack29446 closed 4 months ago
Yeah, I'm an idiot and forgot to remove settings
from 3.1.x. It'll be implemented properly in 3.2.0, and has get
, set
, etc.
Please feel free to try it (contact me to get a pre-release-build for example), or see an example here:
So this will be fixed by v3.2.0, and can't be fixed in v3.1.1 (as it doesn't exist).
Should this maybe go alongside refactoring settings all together? The behavior from the screenshot is proving hard to implement without some ugly code like a massive if/else if/else if etc statement.
If so, I would go ahead and open a separate issue for that.
Feel free to refactor the settings, but be aware they are used quite literally everywhere. Of course some settings shouldn't be accessible, only AuthKey comes to mind.
The TOML has to stay etc. and the behavior from the users side should be very similar. Make a new issue for sure!
Fill out general information OS: Linux BeamMP-Server Version: 3.1.1
Describe the bug Running the
settings help
command, as suggested within thehelp
command, returns nothingTo Reproduce Steps to reproduce the behavior:
settings help
Expected behavior Something to happen