I know items such as these have data values and damage values associated with them, but I don't know how to set the damage value while /give
ing these items to players.
I have seen the /give player data_value:damage_amount quantity
notation used before but that doesn't work on a vanilla server. What mods/plugins do I need for this to work?
Best Answer
The
damage_amount
part of the/give player data_value:damage_amount quantity
notation only works when you install the Essentials plugin for Bukkit.For example:
/give player_name 35:1 quantity
gives you orange wool/give player_name 35:2 quantity
gives you magenta wool/give player_name 44:3 quantity
gives you cobblestone slabs/give player_name 358:1 quantity
gives youmap_1
Note that this syntax also works for the
/i
command, except it does not require theplayer_name
variable (giving yourself).