跳到主要内容

Launch Options

This page describes configuring JVM launch arguments for a game profile using preconfigured parameters and Authlib Injector settings.

JVM Arguments for Authlib Injector​

In the game profile, you can specify your own JVM arguments, as well as others preconfigured in the libraries and client.

JVM ArgumentDescriptionAvailable Values
-Dauthlibinjector.mojangNamespaceWhether to enable the Mojang namespace (suffix @mojang).default, enabled, disabled
-Dauthlibinjector.legacySkinPolyfillUse the legacy skin API, specifically:
GET /skins/MinecraftSkins/{username}.png.
default, enabled, disabled
-Dauthlibinjector.debugEnable Authlib Injector debug modeverbose (Detailed log)
authlib (Mojang authlib log)
dumpClass (Output of modified classes)
printUntransformed (Output of unmodified classes)
-Dauthlibinjector.disableHttpdDisable Mojang namespace and legacy API support for fetching textures
-Dauthlibinjector.noShowServerNameDisable displaying the authentication server name on the Minecraft menu screen
Game ArgumentsDescriptionApplicable Versions
--server [ip] --port [port]Automatically connect to a server on game launch. Legacy method.1.7.2 - 1.19.4
--quickPlayMultiplayer [ip]:[port]Automatically connect to a server on game launch. New method replacing --server and --port.1.20 and above