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).
gaming.stackexchange.com/users/None/
For a vanilla server you have to use /give
[playername] [data-value]
[amount]
[damage-value]
gaming.stackexchange.com/users/15679/chucky95
You have to do this: /give
[name]
[blockid]
[amount]
[damagevalue] for example, for dark planks do /give
[name] 5 [amount] 1
gaming.stackexchange.com/users/28662/Tobuscusfan
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.
Bukkit's Main page Bukkit Essentials
gaming.stackexchange.com/users/8195/akaGrim
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 .
gaming.stackexchange.com/users/88/Zommuter
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
gaming.stackexchange.com/users/4090/Maslow
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?
How do I give items like colored wool, different woods, and maps in smp?
gaming.stackexchange.com
<minecraft-java-edition>
gaming.stackexchange.com/questions/24524
gaming.stackexchange.com/users/8736/chandsie
The damage_amount part only works when you install the Essentials plugin. You can also use the CommandBook plugin. It is possible to give items in smp, mainly on a vanilla server.
Straightforward instructions are provided, mainly for a vanilla server.