StackControl
***This plugin is deprecated in favor of the much more powerful StackableItems! I wasn't aware of StackableItems when I wrote StackControl but StackableItems offers much more flexibility and fewer bugs; I recommend it instead and am no longer maintaining StackControl.
StackControl - control stacking of inventory items
StackControl is a simple plugin to let you change how items stack in inventories.
Usage
Acquire several of the items specified in the configuration. Move them around in your inventory. They will or will not stack depending on how StackControl is configured.
Using the default config, feathers should not stack (see below for how to change).
Permissions
None
Commands
None
Configuration
The "fields" entry maps unobfuscated names to Bukkit's internal field names, which may or may not be obfuscated. The default fields listing is for 1.2.3, it is likely to require changes as Minecraft updates, but should otherwise need not be modified.
The "items" entry is a list of maps of the items you want to alter. The "id" field can either be a numeric value or Material name, the other fields can be any instance variable field name from the net.minecraft.server.Item class, translated through the fields map if present.
The example default config is:
items:
- id: feather
maxStackSize: 1
hasSubtypes: true
Limitations
StackControl only changes how the server stacks items; it does not alter the client.
Unstackable items cannot be made stackable, only the reverse.
Attempting to stack unstackable items may be glitchy, as the server updates the client. This is normal.
See also
This plugin was made on request: A Stack Controller Plugin
A more powerful alternative: StackableItems