Français
alta dev
Plays the game in demo with this content, in a temporary copy, read only.
Les descriptions et les sorties sont en anglais, comme la CLI.
Usage
text
alta dev <dir> [--port <n>] [--prepare-only] [--keep]Arguments
| Nom | Description | |
|---|---|---|
dir | requis | The folder (or file) of content to play with. |
Options
| Nom | Type | Défaut | Description |
|---|---|---|---|
--port | number | Défaut: a free port | The port of the game server, 1024 to 65535. |
--prepare-only | flag | Stage the game and stop, without starting the server. | |
--keep | flag | Keep the temporary copy when the server stops. |
Codes de sortie
| Nom | Description |
|---|---|
0 | ok |
1 | problèmes trouvés |
2 | mauvais usage |
3 | pas dans cette version |
Exemples
Play your content in the game
Terminal
sh
alta dev my-packDémarre le serveur du jeu et affiche l'adresse à ouvrir ; arrête-le avec Ctrl+C. Le [démarrage rapide](/fr/quickstart) le montre.
Stage the game only (for a test)
Terminal
sh
alta dev my-pack --prepare-onlySortie
text
staged in <temporary folder>
+ content/quests/dev-quests.json