How do I give items like colored wool, different woods, and maps in smp?
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?
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 the player_name
variable (giving yourself).
For a vanilla server you have to use
/give [playername] [data-value] [amount] [damage-value]
You have to do this:
/give [name] [blockid] [amount] [damagevalue]
for example, for dark planks do
/give [name] 5 [amount] 1