Skip to content
Building ToolsPlayer only

/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

ArgumentTypeTypeDescription
fileNameArgRequired

Text

Words, text, numbers, letters

Specifies a different save location for the prefab with respect to the servers prefab directory

--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–

If specified, will save air blocks as Empty blocks

--noEntitiesFlag–

If specified, will NOT save entities within the selection (entities are saved by default)

--noUpdateFlag–

If specified, will not update the loaded prefab to have the new path and name

--overwriteFlag–

If specified, will allow overwriting existing files during the save

--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.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.

Back to command reference

/editprefab saveas — Hytale command reference | ZAP-Hosting