Skip to content
NPCs & Creatures

/entity stats set

Set the value of a specified stat on an entity to a specified value

Also available as: /entity stat set, /entities stats set, /entities stat set

Spelling

  • /entity stats set <statName> <statValue> [--entity=<value>] [--player=<value>] [--radius=<value>] [--world=<value>]
  • Main commandthe command name that starts it all
  • SubcommandSubcommand: an additional word after the command
  • Requiredrequired, in a fixed order
  • Optionaloptional, with --name=value

Arguments

ArgumentTypeTypeDescription
statNameRequired

Text

Words, text, numbers, letters

The name of the stat to set

statValueRequired

Integer

A whole number

The value to set the stat to

--entityOptional

UUID

A UUID representing an entity id

The entity to target

--playerOptional

Player

The name of the player.

An online player

--radiusOptional

Double

A decimal number

Optional radius, if not specified will ray-cast and select entity in front

--worldOptional

World

A world folder name

The world to operate this command on

Permissions

Permission
hytale.system.command.entity.stats.set

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

/entity stats set — Hytale command reference | ZAP-Hosting