/editprefab command
The commands for editing prefabs and creating new ones. Also typed as /prefabedit and /pedit. It comes from the server's built-in buildertools plugin. Read from the command registry of the Hytale 0.7.7 server.
- Usage 1
- Subcommands 13
- Permissions 14 nodes
- Changes by version 3
Usage
Who can run it by default: WorldEditor and up. Permission node: hytale.buildertools.command.editprefab.
/editprefab<name> is required, [--name=<name>] is optional, [--name] is a flag. Type it in chat with the slash, or in the server console.
Subcommands
| Usage | Also | What it does | Who by default |
|---|---|---|---|
/editprefab exit | – | Exit the prefab editing world, losing any unsaved changes | WorldEditor and up |
/editprefab load <prefabPath> <prefabName…> [--pasteLevelGoal=<pasteLevelGoal>] [--spacing=<spacing>] [--worldgen=<worldgen>] [--blocksAboveSurface=<blocksAboveSurface>] [--stackingAxis=<stackingAxis>] [--alignment=<alignment>] [--recursive] [--noRecursive] [--loadChildren] [--loadEntities] | axis, no-recursive, children, entities | Create an empty world and paste a prefab in it to begin editing | WorldEditor and up |
/editprefab new <prefabName> [--worldgen=<worldgen>] [--numBlocksToSurface=<numBlocksToSurface>] [--prefabPath=<prefabPath>] | – | Create an empty world to build a new prefab in from the ground up | WorldEditor and up |
/editprefab select [--nearest] | – | Select the pre-existing area of the prefab that you are looking at, within 200 blocks | WorldEditor and up |
/editprefab save [--saveAll] [--pack=<pack>] [--noEntities] [--empty] [--confirm] [--removeSupport] [--setupSupport] [--compressed] | all | Save the prefab using the existing area or the currently selected area, also executing any cleanup tasks | WorldEditor and up |
/editprefab saveui | – | Open the save UI to configure and save prefabs in the edit session | WorldEditor and up |
/editprefab kill | – | Despawn all entities in the currently selected prefab | WorldEditor and up |
/editprefab saveas <fileNameArg> [--noEntities] [--overwrite] [--empty] [--noUpdate] [--removeSupport] [--setupSupport] [--compressed] [--pack=<pack>] | – | Save a selected prefab into a different file | WorldEditor and up |
/editprefab setBox [--confirm] | – | Set the bounding box of the currently selected prefab | WorldEditor and up |
/editprefab info | – | Gives general information about the prefab you are selecting | WorldEditor and up |
/editprefab tp | teleport | Open the teleport UI to teleport to a loaded prefab in the edit session | WorldEditor and up |
/editprefab modified | – | List all modified prefabs with unsaved changes | WorldEditor and up |
/editprefab back | – | – | WorldEditor and up |
Permissions
Each node is what the server checks before it runs the command. "Who by default" is worked out from the server code's rules: the groups a command's code names get its node, a group has everything the groups below it have, Admin has every node (*), and players start in Adventurer. The permissions list has every group and node.
To give a node to a group or a player, an admin runs /perm, for example /perm group add hytale:Builder hytale.buildertools.command.editprefab. Changes are stored in permissions.json.
| Node | Checked by | Who by default | Groups named in the code |
|---|---|---|---|
hytale.buildertools.command.editprefab | /editprefab | WorldEditor and up | WorldEditor |
hytale.buildertools.command.editprefab.exit | /editprefab exit | WorldEditor and up | – |
hytale.buildertools.command.editprefab.load | /editprefab load | WorldEditor and up | – |
hytale.buildertools.command.editprefab.new | /editprefab new | WorldEditor and up | – |
hytale.buildertools.command.editprefab.select | /editprefab select | WorldEditor and up | – |
hytale.buildertools.command.editprefab.save | /editprefab save | WorldEditor and up | – |
hytale.buildertools.command.editprefab.saveui | /editprefab saveui | WorldEditor and up | – |
hytale.buildertools.command.editprefab.kill | /editprefab kill | WorldEditor and up | – |
hytale.buildertools.command.editprefab.saveas | /editprefab saveas | WorldEditor and up | – |
hytale.buildertools.command.editprefab.setbox | /editprefab setBox | WorldEditor and up | – |
hytale.buildertools.command.editprefab.info | /editprefab info | WorldEditor and up | – |
hytale.buildertools.command.editprefab.tp | /editprefab tp | WorldEditor and up | – |
hytale.buildertools.command.editprefab.modified | /editprefab modified | WorldEditor and up | – |
hytale.buildertools.command.editprefab.back | /editprefab back | WorldEditor and up | – |
Changes by version
- 0.8.0-pre.7 (pre-release): /editprefab load changed (arguments).
- 0.8.0-pre.6 (pre-release): /editprefab load changed (arguments).
- 0.8.0-pre.5 (pre-release): /editprefab load changed (arguments).
Checked on Hytale 0.7.7, data from 28 November 2026. The page is rebuilt from the server itself with each update.
More
- All 172 Hytale commands
- Hytale permissions list: every group and permission node
- How to run a Hytale server, and hosts that run one for you