Skip to content
PlayersPlayer only

/player effect apply

Apply an entity effect to the player

  • Only runs when a player executes the command, not from the server console.

Syntax

  • /player effect apply <effect> [--duration=100.0]
  • /player effect apply <player> <effect> [--duration=100.0]
  • 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

/player effect apply <effect> [--duration=100.0]

Apply an entity effect to the player

ArgumentTypeTypeDescription
effectRequired

EntityEffect Asset

A reference to an Asset of type EntityEffect

The entity effect to apply

--durationWith Default Value

Default: 100.0

Float

A floating-point number

The duration of the effect in seconds

/player effect apply <player> <effect> [--duration=100.0]

Apply an entity effect to another player

ArgumentTypeTypeDescription
playerRequired

Player

The name of the player.

An online player

effectRequired

EntityEffect Asset

A reference to an Asset of type EntityEffect

The entity effect to apply

--durationWith Default Value

Default: 100.0

Float

A floating-point number

The duration of the effect in seconds

Permissions

Permission
hytale.command.player.effect.apply.self
Default group
Builder

Apply an entity effect to another player

Permission
hytale.command.player.effect.apply.other
Default group
WorldEditor

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

/player effect apply — Hytale command reference | ZAP-Hosting