Skip to content
Building ToolsPlayer only

/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

ArgumentTypeTypeDescription
nameRequired

Text

Words, text, numbers, letters

The name of the prefab to save

--packWith Default Value

Text

Words, text, numbers, letters

Target asset pack to save into

--compressedFlag–

If specified, saves as a compressed .lpf file regardless of block count

--emptyFlag–

Include empty blocks in the prefab

--entitiesFlag–

Include entities in the prefab

--overwriteFlag–

Overwrite existing files

--playerAnchorFlag–

Use the player's current position as the prefab anchor point

--removeSupportFlag–

If specified, marks blocks as decorative so they ignore physics like hand-placed blocks

--setupSupportFlag–

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.

Back to command reference

/prefab save — Hytale command reference | ZAP-Hosting