* initial start on api docs * oops * oops #2 * oops #3 * move global api info to global-api.md page, fix typo * Initial setup page * the extensions template and list is now in the geysermc org * add fabric event subscribe example * fix outdated naming * the extensions template and list is now in the geysermc org, and therefore official * spigot/paper plugin geyser-api docs * minor tweaks * the setup guide should be in a separate PR, oops * Updated docs for resource packs PR * document system properties * Apply suggestions from code review Co-authored-by: Redned <redned235@gmail.com> * move and shuffle pages, address review * -DGeyser.BedrockNetworkThreads exists too, apparently * turn notes into banners * be more specific to indicate this to be advanced stuff * adjust texts & address camotoy's review * nms good dont disable * add chapter on event priorities * remove whitespace * main instead of maven-snapshots; floodgate-api 2.2.2 * Move around pages in toc.yml, no need to fully copy event priorities * Apply suggestions from code review Co-authored-by: Tim203 <mctim203@gmail.com> * apply command suggestion Co-authored-by: Tim203 <mctim203@gmail.com> * reduce command comments * specify that this is the Geyser API * Apply suggestions from code review Co-authored-by: Redned <redned235@gmail.com> * dont repeat that the bulk of code would go into a post init event; we already say that * adress review * extensions currently target Base API version --------- Co-authored-by: JensC <jenscollaertyprive@hotmail.com> Co-authored-by: Redned <redned235@gmail.com> Co-authored-by: Tim203 <mctim203@gmail.com>
67 lines
3.2 KiB
Markdown
67 lines
3.2 KiB
Markdown
---
|
|
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
|
|
You can set Geyser to automatically bind to a specific address and port by using the following command line arguments. <br>
|
|
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>
|
|
|
|
- ```-DgeyserUdpPort=server``` or ```-DpluginUdpPort=server```
|
|
- ```-1``` means UDP is not supported and will forcibly stop Geyser.
|
|
- ```server``` means to match the port of the TCP server.
|
|
- any other number means to use that specific port
|
|
|
|
- ```-DgeyserUdpAddress=server``` or ```-DpluginUdpAddress=server```
|
|
- ```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
|
|
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>
|
|
|
|
- ```-DGeyser.PrintSecureChatInformation=true```
|
|
- Allows you to disable the warning about secure chat being disabled.
|
|
Since the warning is sent when the server sends the warning, this option does not do much anymore.
|
|
- ```-DGeyser.ShowScoreboardLogs=true```
|
|
- Allows you to disable warnings related to scoreboards, such as "Tried to update score without the existence of its requested objective".
|
|
- ```-DGeyser.ShowResourcePackLengthWarning=true```
|
|
- Allows you to disable the warning about a resource pack having too long paths. Disabling this warning will not fix the underlying issue!
|
|
Console players might not be able to join your server at all if you have a resource pack with paths exceeding the 80 character limit.
|
|
- ```-DGeyser.PrintPingsInDebugMode=true```
|
|
- Controls if pings are being logged in debug mode.
|
|
- ```-DGeyser.UseDirectAdapters=true```
|
|
- Allows you to disable the usage of NMS adapters. Disabling will result in a performance penalty and should only be used for debugging.
|
|
This is Spigot-only and will not work on other platforms.
|
|
- ```-DGeyser.BedrockNetworkThreads=8```
|
|
- Allows you to set the number of threads used for the Bedrock networking. This is not set to a specific number by default, but is instead calculated based on the available resources.
|
|
|
|
## Geyser-Standalone specific options:
|
|
|
|
#### `--config [file]`
|
|
- **Alias: `-c`**
|
|
- Points to an alternative config file to use.
|
|
|
|
#### `--gui` / `--nogui`
|
|
- **Alias: `gui` / `nogui`**:
|
|
- Forces GUI or non-GUI usage, depending on context.
|
|
|
|
### Overriding specific config values
|
|
Overriding a standard config option (e.g. `command-suggestions`):
|
|
|
|
`--command-suggestions=false`
|
|
|
|
Overriding a nested config option(e.g. the `remote` section with `address`):
|
|
|
|
`--remote.address=test.geysermc.org`
|