/give
Gives an item to a player
- Only runs when a player executes the command, not from the server console.
Syntax
/give <item> [--durability=<value>] [--metadata=<value>] [--quality=<value>] [--quantity=1]/give <player> <item> [--durability=<value>] [--metadata=<value>] [--quality=<value>] [--quantity=1]
- Main commandthe command name that starts it all
- Requiredrequired, in a fixed order
- Optionaloptional, with --name=value
Arguments
/give <item> [--durability=<value>] [--metadata=<value>] [--quality=<value>] [--quantity=1]
Gives an item to a player
| Argument | Type | Type | Description |
|---|---|---|---|
item | Required | The item to give | |
--durability | Optional | Double A decimal number | Item durability |
--metadata | Optional | Text Words, text, numbers, letters | Item metadata as a JSON string |
--quality | Optional | ItemQuality Asset A reference to an Asset of type ItemQuality | Item quality to use instead of the item's default quality |
--quantity | With Default Value Default: | 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 | Type | Type | Description |
|---|---|---|---|
player | Required | Player The name of the player. | An online player |
item | Required | The item to give | |
--durability | Optional | Double A decimal number | Item durability |
--metadata | Optional | Text Words, text, numbers, letters | Item metadata as a JSON string |
--quality | Optional | ItemQuality Asset A reference to an Asset of type ItemQuality | Item quality to use instead of the item's default quality |
--quantity | With Default Value Default: | Integer A whole number | The quantity of items to give |
Subcommands (1)
Permissions
- Permission
hytale.command.give.self- Default group
- Builder
Give an item to another player
- Permission
hytale.command.give.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.