Update 'README.md'

This commit is contained in:
Fierelier 2021-03-28 02:42:08 +00:00
parent fc358a1445
commit 6f43132cf4

View File

@ -32,4 +32,6 @@ Just start Minecraft. **Does not download assets.**
The script will parse variables within settings values, the variables are sourced from the script itself. `$+var$` for global variables, `$var$` for local variables. `$+sp$` gives you the script's path, for example.
# Commandline:
You can automatize entering the data or change settings by using commandline arguments. Each argument works like this: `key=value` - These act like the settings in the ini, and will replace corresponding settings in the ini. However, settings you set via this method will not have the aforementioned variable support enabled, use console variables instead.
You can automatize entering the data or change settings by using commandline arguments. Each argument works like this: `key=value` - These act like the settings in the ini, and will replace corresponding settings in the ini. However, settings you set via this method will not have the aforementioned variable support enabled, use console variables instead.
**Example:** `offline-minecraft-launcher.py name=fier version=1.16.5` - Launch Minecraft `1.16.5` as `fier`.