Wednesday, October 26, 2011

How do I give items like colored wool, different woods, and maps in smp?

Question

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 /giveing 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?

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 you map_1

Note that this syntax also works for the /i command, except it does not require the player_name variable (giving yourself).

No comments:

Post a Comment