/give
Gives an item to a player
- Działa tylko wtedy, gdy komendę wykonuje gracz, a nie przez konsolę serwera.
Składnia
/give <item> [--durability=<value>] [--metadata=<value>] [--quality=<value>] [--quantity=1]/give <player> <item> [--durability=<value>] [--metadata=<value>] [--quality=<value>] [--quantity=1]
- Polecenie głównenazwa polecenia, od której wszystko się zaczyna
- Wymaganewymagane, w ustalonej kolejności
- Opcjonalnieopcjonalne, w postaci --name=wert
Argumenty
/give <item> [--durability=<value>] [--metadata=<value>] [--quality=<value>] [--quantity=1]
Gives an item to a player
| Argument | Typ | Typ | Opis |
|---|---|---|---|
item | Wymagane | The item to give | |
--durability | Opcjonalnie | Double A decimal number | Item durability |
--metadata | Opcjonalnie | Text Words, text, numbers, letters | Item metadata as a JSON string |
--quality | Opcjonalnie | ItemQuality Asset A reference to an Asset of type ItemQuality | Item quality to use instead of the item's default quality |
--quantity | Z wartością domyślną Domyślny: | Integer A whole number | The quantity of items to give |
/give <player> <item> [--durability=<value>] [--metadata=<value>] [--quality=<value>] [--quantity=1]
Give an item to another player
| Argument | Typ | Typ | Opis |
|---|---|---|---|
player | Wymagane | Player The name of the player. | An online player |
item | Wymagane | The item to give | |
--durability | Opcjonalnie | Double A decimal number | Item durability |
--metadata | Opcjonalnie | Text Words, text, numbers, letters | Item metadata as a JSON string |
--quality | Opcjonalnie | ItemQuality Asset A reference to an Asset of type ItemQuality | Item quality to use instead of the item's default quality |
--quantity | Z wartością domyślną Domyślny: | Integer A whole number | The quantity of items to give |
Podpolecenia (1)
Uprawnienia
- Uprawnienie
hytale.command.give.self- Grupa domyślna
- Builder
Give an item to another player
- Uprawnienie
hytale.command.give.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.