Ahh thanks for clarifying. I'm currently looking into how to get the player who launched the snowball.
Ahh good you are still online ! I have completed the plugin , and tested it .. although I have over done it by spamming snowballs everywhere and my server is flooded with purrs .. Dropbox download link : https://dl.dropboxusercontent.com/u/28622475/Mods/OcelotBall.jar PS: I used a workaround for the heart effects so you may notice some ghost wolves .. but I think they are removed too quick to be displayed on the client side . If you want to verify the integrity of the contents , even though I am honest , feel free to use JD-GUI to open it up. But if you want the source code, I can upload to Github. EDIT : I forgot to mention , the permission to use the snowball and be tracked is 'OcelotBall.Use'
Okay , bugs mostly have been fixed . For those else who wants this plugin, link here : https://dl.dropboxusercontent.com/u/28622475/Mods/OcelotBall.jar As of 25th November , the version is 1.0.6. Remaining bug(s): - You can give yourself hearts by hitting the snowball at yourselves , be it head or toes (forever alones ?)