Hello guys, i don't know and i haven't worked with potions or anything related to player effects, i tried to search but i could not find anything, so, can you please help me giving me some code?? thanks the idea is to give the player the effect of a potion
Look around the older docs and you'll find it: http://jenkins.pocketmine.net/job/PocketMine-MP-doc/doxygen/df/d2c/classpocketmine_1_1_player.html