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?

  • Hmm, I thought the command would work on a Vanilla server. Bukkit Servers have this integrated.
    – Kevin Yap
    Commented Jun 14, 2011 at 0:54
  • @Kevin plain bukkit server or do i need to add a specific mod to bukkit?
    – chandsie
    Commented Jun 14, 2011 at 1:07
  • I think CraftBukkit itself supplies the commands (as in, a plain Bukkit server). However, it might be part of the Essentials plugin.
    – Kevin Yap
    Commented Jun 14, 2011 at 1:24
  • 1
    The command itself does work for vanilla servers (with the possible exception of damage_amount). The problem is different colored wools, wood types, and maps have additional information. For example the /give command will only spawn white wool on a vanilla server.
    – user9983
    Commented Jun 14, 2011 at 2:05
  • @Kevin the last time I tried it without plugins it didn't work, I now use CommandBook
    – Zommuter
    Commented Jun 14, 2011 at 5:07

6 Answers 6


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).


For a vanilla server you have to use

/give [playername] [data-value] [amount] [damage-value]

  • it seems to have changed, you have to use item names now like glass or wool
    – Maslow
    Commented Dec 20, 2015 at 21:29

You have to do this:

/give [name] [blockid] [amount] [damagevalue]

for example, for dark planks do

/give [name] 5 [amount] 1
  • Hi Tobuscusfan, and welcome to Arqade! Unfortunately, your answer doesn't provide any new information that hasn't been stated in other answers. When answering, especially questions that already have a lot of answers, please provide new information instead of restating others' answers.
    – MBraedley
    Commented Jul 20, 2012 at 11:29

Any OP in a vanilla server can give blocks through the syntax "/give player block_id quantity" such as "/give chands 20 64" to give yourself 64 glass. You can use the Bukkit server which allows plugins to be easily installed. I believe the command I'm thinking of is in Bukkit Essentials which allows the following.

  • "/i dirt" - Gives yourself 64 dirt
  • "/i ch dirt" - It would give the first player with that contains 'ch' a stack of 64 dirt.

EDIT: I forgot to mention the official server does not allow damage values which is how the game treats wool, wood, and birches as unique blocks.

There is also a plugin called 'World Edit'. It's a very powerful tool. You select two x/y coordinates and can do many things. Replace, remove, or set a block type. Stack the selected blocks so you can create a repeating pattern (a wall, bridge, etc) and it'll repeat it in the selected direction x amount of times. All sorts of stuff.


Besides the already mentioned Essentials plugin for bukkit, you can also use the CommandBook plugin. Just compare which has the features you prefer - CommandBook (as well as essentials) supports item names, e.g. you can use /give chands Wood:2.

  • +1: I love the fact that you can use item names and don't have to fiddle with item id's! Thanks!
    – chandsie
    Commented Jun 14, 2011 at 22:15

for vanilla it is now: /give player itemname amount dv

at least this is working for me:

/give player stained_glass 63 3 where 3 is light blue

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .