This is completely new code and as usual there will be some bugs. Please be considerate of this and contact me as fast as possible on discord when you find one so I can patch it and push new update. Thank you.
Also this resource doesn't work with default spigot. You have to use any kind of PaperSpigot with PotionEffectEvent support (eg. MineSpigot). We also offer our custom spigot you can download at Dependencies tab.