/editprefab saveas
Save a selected prefab into a different file
Also available as: /pedit saveas, /prefabedit saveas
- Only runs when a player executes the command, not from the server console.
Spelling
/editprefab saveas <fileNameArg> [--pack=] [--compressed] [--empty] [--noEntities] [--noUpdate] [--overwrite] [--removeSupport] [--setupSupport]
- Main commandthe command name that starts it all
- SubcommandSubcommand: an additional word after the command
- Requiredrequired, in a fixed order
- Optionaloptional, with --name=value
- FlagFlags without values
Arguments
| Argument | Type | Type | Description |
|---|---|---|---|
fileNameArg | Required | Text Words, text, numbers, letters | Specifies a different save location for the prefab with respect to the servers prefab directory |
--pack | With Default Value | Text Words, text, numbers, letters | Target asset pack to save into |
--compressed | Flag | – | If specified, saves as a compressed .lpf file regardless of block count |
--empty | Flag | – | If specified, will save air blocks as Empty blocks |
--noEntities | Flag | – | If specified, will NOT save entities within the selection (entities are saved by default) |
--noUpdate | Flag | – | If specified, will not update the loaded prefab to have the new path and name |
--overwrite | Flag | – | If specified, will allow overwriting existing files during the save |
--removeSupport | Flag | – | If specified, marks blocks as decorative so they ignore physics like hand-placed blocks |
--setupSupport | Flag | – | If specified, sets up and bakes block support values into the prefab |
Permissions
- Permission
hytale.buildertools.command.editprefab.saveas- Default group
- WorldEditorfrom the parent command
The groups build on one another: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Higher groups inherit the permissions of lower ones; new players are Adventurers, and admins (OP) can do everything.