aboutsummaryrefslogtreecommitdiffstats
path: root/USAGE.md
blob: 9e9969cc20d5ba29453aa07d62da85723a31c533 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
- `l2su instance add <name> [at <directory>] [--force]`
- `l2su instance list`
- `l2su instance remove <name> [--delete]`
- `l2su instance rename <name> <newname>`

- `l2su user add`
- `l2su user remove <username-or-uuid-or-nickname>`
- `l2su user nick <username-or-uuid-or-nickname> [<new-nickname>]` - handy for users with long annoying names like `______HAHA______`
- `l2su user login <username-or-uuid-or-nickname>`
- `l2su user list`

- `l2su version list remote`

- `l2su profile add <name> <instance> <version>`
- `l2su profile delete <name>`
- `l2su profile rename <name> <newname>`
- `l2su profile set <name> <setting> <value>`
- `l2su profile get <name> <setting>`
- `l2su profile info <name>`

- `l2su launch <profile-name> [<user>] [--force] [--detach] [--nodetach] [-- [<vm arguments>]] [++ [<game arguments>]]`
  - `--force`: launches without interaction, even if offline
  - `--detach`: prevents the launcher from staying open (despite profile settings, this is the default)
  - `--nodetach`: keeps the launcher running and printing game logs to stdout/stderr
  - `<vm arguments>`: arguments passed without interpretation (besides checking for `++`) to the JVM
  - `<game arguments>`: arguments passed without interpretation to the game
- `l2su launch2 <instance> <version> <user> [--force] [--detach] [--nodetach] [-- [<vm arguments>]] [++ [<game arguments>]]`

- `l2su version`
- `l2su help`

# profile settings
- `instance`: the instance that this profile 
- `version`: the version of the game to use
- `user`: a user that should be the default selected when using `l2su launch`
- `vm-opts`: VM options to use for the profile
- `runtime`: `null` for mojang-provided launcher, or an absolute path to a java runtime to use
- `launch-method`: `jni` or `traditional`
- `detach`: `true` to return control back to the shell after launching the game successfully
- `resolution`: a value like `1280x720` to pass to the game as a custom resolution value