/player effect apply
Apply an entity effect to the player
- Fonctionne uniquement lorsqu’un joueur exécute la commande, pas depuis la console du serveur.
Syntaxes
/player effect apply <effect> [--duration=100.0]/player effect apply <player> <effect> [--duration=100.0]
- Commande principalele nom de la commande, par lequel tout commence
- Sous-commandeSous-commande : un autre mot après la commande
- Obligatoireobligatoire, dans un ordre fixe
- Facultatiffacultatif, avec --name=wert
Arguments
/player effect apply <effect> [--duration=100.0]
Apply an entity effect to the player
| Argument | Type | Type | Description |
|---|---|---|---|
effect | Obligatoire | EntityEffect Asset A reference to an Asset of type EntityEffect | The entity effect to apply |
--duration | Avec valeur par défaut Standard: | 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 | Obligatoire | Player The name of the player. | An online player |
effect | Obligatoire | EntityEffect Asset A reference to an Asset of type EntityEffect | The entity effect to apply |
--duration | Avec valeur par défaut Standard: | Float A floating-point number | The duration of the effect in seconds |
Autorisations
- Autorisation
hytale.command.player.effect.apply.self- Groupe par défaut
- Builder
Apply an entity effect to another player
- Autorisation
hytale.command.player.effect.apply.other- Groupe par défaut
- WorldEditor
Les groupes sont hiérarchisés : Adventurer, Builder, WorldEditor, ServerEditor, Admin. Chaque groupe supérieur hérite des permissions des groupes inférieurs ; les nouveaux joueurs sont Adventurer, et les admins (OP) peuvent tout faire.