/player effect apply
Apply an entity effect to the player
- Działa tylko wtedy, gdy komendę wykonuje gracz, a nie przez konsolę serwera.
Składnia
/player effect apply <effect> [--duration=100.0]/player effect apply <player> <effect> [--duration=100.0]
- Polecenie głównenazwa polecenia, od której wszystko się zaczyna
- PodpoleceniePodpolecenie: kolejne słowo po poleceniu
- Wymaganewymagane, w ustalonej kolejności
- Opcjonalnieopcjonalne, w postaci --name=wert
Argumenty
/player effect apply <effect> [--duration=100.0]
Apply an entity effect to the player
| Argument | Typ | Typ | Opis |
|---|---|---|---|
effect | Wymagane | EntityEffect Asset A reference to an Asset of type EntityEffect | The entity effect to apply |
--duration | Z wartością domyślną Domyślny: | 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 | Typ | Typ | Opis |
|---|---|---|---|
player | Wymagane | Player The name of the player. | An online player |
effect | Wymagane | EntityEffect Asset A reference to an Asset of type EntityEffect | The entity effect to apply |
--duration | Z wartością domyślną Domyślny: | Float A floating-point number | The duration of the effect in seconds |
Uprawnienia
- Uprawnienie
hytale.command.player.effect.apply.self- Grupa domyślna
- Builder
Apply an entity effect to another player
- Uprawnienie
hytale.command.player.effect.apply.other- Grupa domyślna
- WorldEditor
Grupy tworzą hierarchię: Adventurer, Builder, WorldEditor, ServerEditor, Admin. Wyższa grupa dziedziczy uprawnienia niższych; nowi gracze trafiają do grupy Adventurer, a administratorzy (OP) mogą robić wszystko.