Prefab Commands
Commands from BuilderToolsPlugin - uses hytale.editor.* namespace
/prefab
Section titled “/prefab”Prefab management and browser.
Aliases: p
Permission Group: Creative
/prefab/prefab save/prefab load <name> [storeType] [storeName] [--children]/prefab delete <name>/prefab list [storeType] [--text]| Subcommand | Arguments | Permission | Description |
|---|---|---|---|
| (default) | - | prefab.use | Open prefab browser |
save | - | prefab.manage | Open save UI to save selection as prefab |
load | <name> [storeType] [storeName] [--children] | prefab.use | Load prefab |
delete | <name> | prefab.manage | Delete prefab |
list | [storeType] [--text] | prefab.use | List prefabs |
/editprefab
Section titled “/editprefab”Prefab editor.
Aliases: prefabedit, pedit
Permission Group: Creative
Permissions:
hytale.editor.prefab.use- Load and use prefabshytale.editor.prefab.manage- Save, create, and delete prefabs
/editprefab select <prefab>/editprefab load <prefab>/editprefab new <name>/editprefab save [--saveAll] [--noEntities] [--empty] [--confirm]/editprefab saveas <name>/editprefab saveui/editprefab info/editprefab exit/editprefab modified/editprefab updatebox/editprefab killentities/editprefab tp| Subcommand | Aliases | Arguments | Permission | Description |
|---|---|---|---|---|
select | - | <prefab> | prefab.use | Select prefab to edit |
load | - | <prefab> | prefab.use | Load prefab |
new | - | <name> | prefab.manage | Create new prefab |
save | - | [flags] | prefab.manage | Save current prefab |
saveas | - | <name> | prefab.manage | Save as new prefab |
saveui | - | - | prefab.manage | Open save UI |
info | - | - | prefab.use | Show prefab info |
exit | - | - | prefab.use | Exit prefab editor |
modified | - | - | prefab.use | Check if modified |
updatebox | - | - | prefab.manage | Update bounding box |
killentities | - | - | prefab.manage | Remove entities |
tp | teleport | - | prefab.use | Teleport to prefab |
/editprefab save Flags:
| Flag | Description |
|---|---|
--saveAll / --all | Save all changes |
--noEntities | Exclude entities |
--empty | Include empty blocks |
--confirm | Skip confirmation |
Prefab path management (for NPC routes, etc).
Permission Group: Creative
Note: Registered by PathPlugin (requires BuilderToolsPlugin).
/path new <name>/path list/path nodes <path>/path add <path>/path edit <path>/path update <path>/path merge <path1> <path2>| Subcommand | Arguments | Description |
|---|---|---|
new | <name> | Create new path |
list | - | List all paths |
nodes | <path> | Show path nodes |
add | <path> | Add node to path |
edit | <path> | Edit path |
update | <path> | Update path |
merge | <path1> <path2> | Merge two paths |
/worldpath
Section titled “/worldpath”World path management.
Permission Group: Creative
Permission: hytale.editor.prefab.manage
/worldpath save <name>/worldpath list/worldpath remove <name>/worldpath builder/prefabspawner
Section titled “/prefabspawner”Prefab spawner management.
Aliases: pspawner
Permission Group: Creative
Permission: hytale.editor.prefab.manage
/prefabspawner get/prefabspawner set <prefab>/prefabspawner weight <weight>