/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
| Argument | Type | Type | Description |
|---|---|---|---|
effect | Required | EntityEffect Asset A reference to an Asset of type EntityEffect | The entity effect to apply |
--duration | With Default Value Default: | 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
| Argument | Type | Type | Description |
|---|---|---|---|
player | Required | Player The name of the player. | An online player |
effect | Required | EntityEffect Asset A reference to an Asset of type EntityEffect | The entity effect to apply |
--duration | With Default Value Default: | 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.