Appearance
@loontail/minecraft-kit v0.5.0 / LAUNCH_PLACEHOLDERS
Variable: LAUNCH_PLACEHOLDERS
ts
const LAUNCH_PLACEHOLDERS: {
${assets_index_name}: "Asset index id from the manifest.";
${assets_root}: "Assets root (`<directory>/assets`).";
${auth_access_token}: "Yggdrasil/MSA access token.";
${auth_player_name}: "Player display name.";
${auth_session}: "Legacy session token (`token:<token>:<uuid>`).";
${auth_uuid}: "Player UUID (no dashes).";
${auth_xuid}: "Xbox user id.";
${classpath_separator}: "OS-specific classpath separator (`:` / `;`).";
${classpath}: "Joined classpath of libraries + version jar.";
${clientid}: "MSA client id.";
${game_assets}: "Legacy virtual assets directory.";
${game_directory}: "Per-target directory.";
${launcher_name}: "Launcher brand string.";
${launcher_version}: "Launcher version string.";
${library_directory}: "Per-target libraries directory.";
${natives_directory}: "Extracted natives directory.";
${path}: "Path to the log4j config file (logging.client.argument only).";
${resolution_height}: "Window height (feature-gated).";
${resolution_width}: "Window width (feature-gated).";
${user_properties}: "User properties JSON (often `{}`).";
${user_type}: "`msa` | `mojang` | `legacy`.";
${version_name}: "Resolved Minecraft version id.";
${version_type}: "Channel string, e.g. `release`.";
};All ${...} tokens substituted into JVM and game arguments.
This map drives both substitution at launch time and documentation generation.
Type declaration
| Member | Type | Value |
|---|---|---|
${assets_index_name} | "Asset index id from the manifest." | "Asset index id from the manifest." |
${assets_root} | "Assets root (`<directory>/assets`)." | "Assets root (`<directory>/assets`)." |
${auth_access_token} | "Yggdrasil/MSA access token." | "Yggdrasil/MSA access token." |
${auth_player_name} | "Player display name." | "Player display name." |
${auth_session} | "Legacy session token (`token:<token>:<uuid>`)." | "Legacy session token (`token:<token>:<uuid>`)." |
${auth_uuid} | "Player UUID (no dashes)." | "Player UUID (no dashes)." |
${auth_xuid} | "Xbox user id." | "Xbox user id." |
${classpath_separator} | "OS-specific classpath separator (`:` / `;`)." | "OS-specific classpath separator (`:` / `;`)." |
${classpath} | "Joined classpath of libraries + version jar." | "Joined classpath of libraries + version jar." |
${clientid} | "MSA client id." | "MSA client id." |
${game_assets} | "Legacy virtual assets directory." | "Legacy virtual assets directory." |
${game_directory} | "Per-target directory." | "Per-target directory." |
${launcher_name} | "Launcher brand string." | "Launcher brand string." |
${launcher_version} | "Launcher version string." | "Launcher version string." |
${library_directory} | "Per-target libraries directory." | "Per-target libraries directory." |
${natives_directory} | "Extracted natives directory." | "Extracted natives directory." |
${path} | "Path to the log4j config file (logging.client.argument only)." | "Path to the log4j config file (logging.client.argument only)." |
${resolution_height} | "Window height (feature-gated)." | "Window height (feature-gated)." |
${resolution_width} | "Window width (feature-gated)." | "Window width (feature-gated)." |
${user_properties} | "User properties JSON (often `{}`)." | "User properties JSON (often `{}`)." |
${user_type} | "`msa` | `mojang` | `legacy`." | "`msa` | `mojang` | `legacy`." |
${version_name} | "Resolved Minecraft version id." | "Resolved Minecraft version id." |
${version_type} | "Channel string, e.g. `release`." | "Channel string, e.g. `release`." |