Making Items Non-Stackables

Discussion in 'Plugin Development' started by Shad, May 27, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Shad

    Hi, I've been having difficulty making no items stackable, especially when it comes to moving items around in the inventory. When items are picked up, they don't stack but I can't seem to figure out how to make it so they don't stack when shifting items in the inventory.

    Any help would be greatly appreciated.
     
  2. Offline

    Jogy34

    Try an InventoryClickEvent to find out when the clicks happen. From there it will probably be a lot of trial and error to find out what works for stopping stacking. You can get if it was a shift click and right or left click from that event.
     
  3. Offline

    Shad

    I've been trying this to no resolve. Can you tell me on what I should do? Nothing I try effectively stops players from stacking any items.
     
  4. Offline

    Jogy34

    If you don't want them to be able to stack any item you can set the server item stack max to 1.
     
Thread Status:
Not open for further replies.

Share This Page