Skip to content
Teleportation & LocationsPlayer only

/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

ArgumentTypeTypeDescription
nameRequired

Text

Words, text, numbers, letters

The prefab name to search for.

--nearestOptional

Integer

A whole number

List the N nearest matches (e.g. --nearest 5).

--radiusOptional

Integer

A whole number

The maximum search radius in blocks (default: 6400).

--skipOptional

Integer

A whole number

Skip the first N results (e.g. --skip 1 for the second nearest).

--tpFlag–

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.

Back to command reference

/locate prefab — Hytale command reference | ZAP-Hosting