/editprefab saveas
Save a selected prefab into a different file
Également accessible sous: /pedit saveas, /prefabedit saveas
- Fonctionne uniquement lorsqu’un joueur exécute la commande, pas depuis la console du serveur.
Notation
/editprefab saveas <fileNameArg> [--pack=] [--compressed] [--empty] [--noEntities] [--noUpdate] [--overwrite] [--removeSupport] [--setupSupport]
- Commande principalele nom de la commande, par lequel tout commence
- Sous-commandeSous-commande : un autre mot après la commande
- Obligatoireobligatoire, dans un ordre fixe
- Facultatiffacultatif, avec --name=wert
- CommutateurCommutateur sans valeur
Arguments
| Argument | Type | Type | Description |
|---|---|---|---|
fileNameArg | Obligatoire | Text Words, text, numbers, letters | Specifies a different save location for the prefab with respect to the servers prefab directory |
--pack | Avec valeur par défaut | Text Words, text, numbers, letters | Target asset pack to save into |
--compressed | Commutateur | – | If specified, saves as a compressed .lpf file regardless of block count |
--empty | Commutateur | – | If specified, will save air blocks as Empty blocks |
--noEntities | Commutateur | – | If specified, will NOT save entities within the selection (entities are saved by default) |
--noUpdate | Commutateur | – | If specified, will not update the loaded prefab to have the new path and name |
--overwrite | Commutateur | – | If specified, will allow overwriting existing files during the save |
--removeSupport | Commutateur | – | If specified, marks blocks as decorative so they ignore physics like hand-placed blocks |
--setupSupport | Commutateur | – | If specified, sets up and bakes block support values into the prefab |
Autorisations
- Autorisation
hytale.buildertools.command.editprefab.saveas- Groupe par défaut
- WorldEditorde la commande parente
Les groupes sont hiérarchisés : Adventurer, Builder, WorldEditor, ServerEditor, Admin. Chaque groupe supérieur hérite des permissions des groupes inférieurs ; les nouveaux joueurs sont Adventurer, et les admins (OP) peuvent tout faire.