Skip to content

Program Arguments

Program arguments make configuration in the terminal easier.

Provides a list of all available program arguments.

Terminal window
./void-linux-x64 --help
Description:
Runs the proxy
Usage:
Void.Proxy.Debug [options]
Options:
-o, --override <override> Register an additional server override to redirect players
based on hostname they are connecting with.
Example:
--ignore-file-servers
--server 127.0.0.1:25565
--override vanilla.example.org=args-server-1
If you configured server in file:
--override vanilla.example.org=lobby
-p, --plugin <plugin> Provides a path to the file, directory or URL to load plugin.
-r, --repository <repository> Provides a URI to NuGet repository.
Examples:
--repository https://nuget.example.com/v3/index.json
--repository
https://username:password@nuget.example.com/v3/index.json
--enable-nuget-logging Enables detailed logging for NuGet operations.
--forwarding-modern-key <forwarding-modern-key> Sets the secret key for modern forwarding
--ignore-file-servers Ignore servers specified in configuration files
--interface <interface> Sets the listening network interface
--logging Sets the logging level
<Critical|Debug|Error|Information|None|Trace|Warning>
--offline Allows players to connect without Mojang authorization
--port <port> Sets the listening port
--read-only Disables saving changes to the configuration files
--server <server> Registers an additional server in format <host>:<port> or
<host> (port defaults to 25565)
-?, -h, --help Show help and usage information
--version Show version information
  • --offline
    Allows players to connect without Mojang authentication.

    Example Usage
    ./void-linux-x64 --offline
  • --read-only
    Disables automatically saving changes to the configuration files.

    Example Usage
    ./void-linux-x64 --read-only
  • --interface
    Overrides the listening network interface.

  • --port
    Overrides the listening port for the proxy.

    Example Usage
    ./void-linux-x64 \
    --interface 0.0.0.0 \
    --port 25565
  • --server Registers a server in the format <host>:<port> or <host> (port defaults to 25565). The port must be between 1 and 65535. IPv6 addresses must be enclosed in square brackets.

  • --ignore-file-servers Ignore servers specified in configuration files.

  • --override (short: -o)
    Register an additional server override to redirect players based on the hostname they are connecting with. The format is <hostname>=<server-name>. This allows you to route players to different servers depending on the domain or subdomain they use to connect.

    Example Usage
    ./void-linux-x64 \
    --ignore-file-servers \
    --server 127.0.0.1:25565 \
    --server [2001:db8::1] \
    --server [2001:db8::1]:25566 \
    --server paper-server.default.svc.cluster.local
    Example with Override
    # Redirect players connecting via vanilla.example.org to a specific server
    ./void-linux-x64 \
    --ignore-file-servers \
    --server 127.0.0.1:25565 \
    --override vanilla.example.org=args-server-1
    Example with File-configured Server
    # If you have a server named 'lobby' configured in file
    ./void-linux-x64 \
    --override vanilla.example.org=lobby
  • --forwarding-modern-key Sets the secret key for Modern (Velocity) forwarding.

    Example Usage
    ./void-linux-x64 --forwarding-modern-key YourSecretKeyHere
  • --plugin Allows you to specify plugins to load.

  • --repository Provides a URI to a NuGet repository. You can specify multiple repositories and include credentials in the URI using the format https://username:password@nuget.example.com/v3/index.json.

  • --enable-nuget-logging Enables detailed logging for NuGet operations. This is useful for troubleshooting plugin dependency resolution issues.

    Example Usage
    ./void-linux-x64 \
    --plugin https://example.org/download/YourPlugin1.dll \
    --plugin /home/YourPlugin2.dll \
    --repository https://nuget.example.com/v3/index.json
    Example with Authenticated Repository
    ./void-linux-x64 \
    --plugin /home/YourPlugin.dll \
    --repository https://username:password@nuget.example.com/v3/index.json
    Example with NuGet Logging
    ./void-linux-x64 \
    --plugin /home/YourPlugin.dll \
    --enable-nuget-logging
  • --logging Sets the logging level. Valid values are Trace, Debug, Information, Warning, Error and Critical.

    Example Usage
    ./void-linux-x64 --logging Debug
  • --version
    Displays the current version of Void Proxy.

    Example
    ./void-linux-x64 --version