/prefab save
Save a prefab
Also available as: /p save
- Only runs when a player executes the command, not from the server console.
Syntax
/prefab save/prefab save <name> [--pack=] [--compressed] [--empty] [--entities] [--overwrite] [--playerAnchor] [--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
/prefab save
Save a prefab
This command has no arguments.
/prefab save <name> [--pack=] [--compressed] [--empty] [--entities] [--overwrite] [--playerAnchor] [--removeSupport] [--setupSupport]
Save a prefab
| Argument | Type | Type | Description |
|---|---|---|---|
name | Required | Text Words, text, numbers, letters | The name of the prefab to save |
--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 | – | Include empty blocks in the prefab |
--entities | Flag | – | Include entities in the prefab |
--overwrite | Flag | – | Overwrite existing files |
--playerAnchor | Flag | – | Use the player's current position as the prefab anchor point |
--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.editor.prefab.manage- 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.