/locate prefab
Locate the nearest prefab by name.
- Only runs when a player executes the command, not from the server console.
Spelling
/locate prefab <name> [--nearest=<value>] [--radius=<value>] [--skip=<value>] [--tp]
- 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
| Argument | Type | Type | Description |
|---|---|---|---|
name | Required | Text Words, text, numbers, letters | The prefab name to search for. |
--nearest | Optional | Integer A whole number | List the N nearest matches (e.g. --nearest 5). |
--radius | Optional | Integer A whole number | The maximum search radius in blocks (default: 6400). |
--skip | Optional | Integer A whole number | Skip the first N results (e.g. --skip 1 for the second nearest). |
--tp | Flag | – | Teleport to the found location. |
Permissions
- Permission
hytale.command.locate.prefab
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.