/prefabspawner command
View and edit properties on a prefab spawner block. Also typed as /pspawner. Read from the command registry of the Hytale 0.7.7 server.
- Usage 1
- Subcommands 3
- Permissions 4 nodes
- Changes by version 3
Usage
Who can run it by default: WorldEditor and up. Permission node: hytale.prefabspawnermodule.command.prefabspawner.
/prefabspawner<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 |
|---|---|---|---|
/prefabspawner get | – | Print the properties of the target prefab spawner block | WorldEditor and up |
/prefabspawner set <prefab> [--fitHeightmap=<fitHeightmap>] [--inheritSeed=<inheritSeed>] [--inheritHeightCheck=<inheritHeightCheck>] [--defaultWeight=<defaultWeight>] | – | Sets a prefab path for a BlockSpawner block you look at | [heightMap]: Sets if a prefab should attempt to follow the heightmap | [inheritSeed]: Sets if a prefab should inherit its parent's worldgen-id | [inheritHeightCheck]: Sets if a prefab should use its parent's HeightCondition | [defaultWeight] Sets the default weight that is assigned to prefabs that do not have a weight mapping assigned | WorldEditor and up |
/prefabspawner weight <prefab> <weight> | – | Sets the weight of an individual prefab file when the spawner's path points to a folder of prefabs | <prefab> The name of the prefab file excluding the file extension | <weight> The weight value to assign to the prefab or -1 to remove the weight | 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.prefabspawnermodule.command.prefabspawner. Changes are stored in permissions.json.
| Node | Checked by | Who by default | Groups named in the code |
|---|---|---|---|
hytale.prefabspawnermodule.command.prefabspawner | /prefabspawner | WorldEditor and up | WorldEditor |
hytale.prefabspawnermodule.command.prefabspawner.get | /prefabspawner get | WorldEditor and up | – |
hytale.prefabspawnermodule.command.prefabspawner.set | /prefabspawner set | WorldEditor and up | – |
hytale.prefabspawnermodule.command.prefabspawner.weight | /prefabspawner weight | WorldEditor and up | – |
Changes by version
- 0.8.0-pre.7 (pre-release): /prefabspawner set changed (description).
- 0.8.0-pre.6 (pre-release): /prefabspawner set changed (description).
- 0.8.0-pre.5 (pre-release): /prefabspawner set changed (description).
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