/dcstack

Syntax: /dcstack [amount] [items] /dcstack is used to "stack" a particuar item in your inventory - i.e. give or take items such that  is left in a single inventory slot. It differs from the /dcgive command in that it is only able to operate on items already in possession (it will do nothing if you specify an item you don't have), and it can take items away as well as giving more.

Both paramters are optional;  specifies the quantity of items to stack to. This is value in the range of 0 - 64. specifies the items to operate on. You must have the corresponding items in your inventory, otherwise the command will do nothing. If  is omitted, whatever is currently being held in hand is used. If  is omitted as well, the current in-hand item will be stacked to 64. /dcstack works on items that normally do not stack, such as most types of food and tools as well as exceed the limit for items that normally stack less than 64 (e.g. snowballs and cookies).

The  parameter can be any valid format describing an item, such as a ID number or symbolic name, with optional damage value, or item alias as defined in Items.yml. See /dcgive for a more detailed description of how this works.

/take Alias
A special case of /dcstack is - by default - aliased to /take. This is a shortcut command for, and when used will strip you of the currently held item.

Examples
To stack the currently held item to 64: /dcstack Stack the currently held item to 8: /dcstack 8 Stack an item aliased by  to 32: /dcstack 32 foo

Permissions Nodes
dc.stack Allows use of this command.