Stackable Potions

Discussion in 'Spigot Plugin Help' started by ShaunNottz, Aug 12, 2018.

  1. Okay, so I am wondering how certain servers have been making potions stack automatically without having to run a command, for example I currently have the command /pot to stack potions in my inventory but some servers have it so they stack automatically, if anyone knows how this is done please let me know.
     
  2. Hmm, I don't know if that is possible. Most servers give you stacked potions in kits or such. I have never seen a server allow you to pile positions like you would stack any other item.
     
  3. okay, thank you anyways
     
  4. Not sure if this plugin exists, but I believe if you code using PlayerPickUpItemEvent, then you can check if it is a potion and stack it up in the player's inventory. Of course, unless you know how to code, this might have been a little useless.