Geyser: Command line arguments

Created on 2 Nov 2020  路  4Comments  路  Source: GeyserMC/Geyser

Command line argument would allow to override some setting in the config.yml file

Example:
java -jar geyser.jar --server-ip test.geysermc.org
(syntax might be different)

This would save so much time when we want to try out some settings or just simply switch the server.

This also open doors for custom scripts that can do pretty much everything you want: from a simple server list to a web based manager, the list is just infinite

Alternative:

For now we can run a script that changes the config.yml file but it's not perfect.

Feature Request

Most helpful comment

If you add too many flags you might as well just --config file.yml at that point

All 4 comments

--server-port --server-name --server-threads and more...

If you add too many flags you might as well just --config file.yml at that point

I would say simply allow specifying config keys as arguments like pmmp and nukkit, but only if we can guarantee the config wouldn't change often as those arguments would break

If you add too many flags you might as well just --config file.yml at that point

Yea both options should be possible

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Benedani picture Benedani  路  3Comments

BlusteryS picture BlusteryS  路  5Comments

chenxi050402 picture chenxi050402  路  6Comments

Giant3004 picture Giant3004  路  14Comments

DoctorMacc picture DoctorMacc  路  9Comments