Aller au contenu
En Markdown

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 ​

NomDescription
dirrequisThe folder (or file) of content to play with.

Options ​

NomTypeDéfautDescription
--portnumberDéfaut: a free portThe port of the game server, 1024 to 65535.
--prepare-onlyflagStage the game and stop, without starting the server.
--keepflagKeep the temporary copy when the server stops.

Codes de sortie ​

NomDescription
0ok
1problèmes trouvés
2mauvais usage
3pas dans cette version

Exemples ​

Play your content in the game

Terminal
sh
alta dev my-pack

Dé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-only
Sortie
text
staged in <temporary folder>
  + content/quests/dev-quests.json

Voir aussi ​

Le standard, le SDK et la CLI sont sous Apache-2.0 ; Alta System OS et Alta World sous FSL-1.1-ALv2.