more cleanup and more sidebar

This commit is contained in:
Chew committed 2023-11-07 20:24:02 -06:00
1 parent 4accc37e08
commit 953496733f
13 files changed
+131 -368

No files matched your search

@@ -3,16 +3,20 @@ title: Geyser Command Line Arguments and System Properties
---
# Geyser Command Line Arguments and System Properties
Geyser offers a few command line arguments/system properties to allow you to configure Geyser without editing the config files.
Additionally, you can suppress some warnings that may be printed to the console.
### Configuration system properties
## Configuration system properties
You can set Geyser to automatically bind to a specific address and port by using the following command line arguments.
This is primarily aimed at server hosting providers to automatically configure servers for users.
<div class="alert alert-info" role="alert">
Note: the Geyser specific properties are prioritized over the plugin properties!
</div>
:::note
The Geyser specific properties are prioritized over the plugin properties!
:::
- ```-DgeyserUdpPort=server``` or ```-DpluginUdpPort=server```
- ```-1``` means UDP is not supported and will forcibly stop Geyser.
@@ -23,12 +27,14 @@ This is primarily aimed at server hosting providers to automatically configure s
- ```server``` means to match the bind address of the TCP server
- any other string will be used as-is for the bind address.
### Disabling warnings and advanced configuration
## Disabling warnings and advanced configuration
You may disable some warnings that may be printed to the console by using the following command line arguments:
<div class="alert alert-danger" role="alert">
Warning: Disabling Geyser warnings from being logged will not fix the real issue! Only disable them if you know what you are doing.
</div>
:::caution
Disabling Geyser warnings from being logged will not fix the real issue! Only disable them if you know what you are doing.
:::
- `-DGeyser.PrintSecureChatInformation=true`
- Allows you to disable the warning about secure chat being disabled.
@@ -49,17 +55,17 @@ You may disable some warnings that may be printed to the console by using the fo
- Allows you to turn off suggestions for teams in the scoreboard command. This is enabled by default, disabling this can help with performance if there are a lot of teams defined.
Setting "command-suggestions" to false in the config will also disable this.
## Geyser-Standalone specific options:
## Geyser-Standalone Specific Options
#### `--config [file]`
### `--config [file]`
- **Alias: `-c`**
- Points to an alternative config file to use.
#### `--gui` / `--nogui`
### `--gui` / `--nogui`
- **Alias: `gui` / `nogui`**:
- Forces GUI or non-GUI usage, depending on context.
### Overriding specific config values
## Overriding specific config values
Overriding a standard config option (e.g. `command-suggestions`):
`--command-suggestions=false`