Hello, I am currently interested in learning or starting to learn how to code my first plugin in php which I hope in the future I can apply my knowledge and build my own plugins. That being said, do you guys have any pointers or great references to start out from? Many thanks - Poly
mainly just try to learn PHP without PMMP you will need some time to get used to normal php before you should event attempt to touch PMMP and then try PHP OOP in web too i know like these are not what you wanted to learn but it can surely make your life easier when you understand the basics like you can just play around till you get the hang of it the rest comes naturally once you know OOP+PHP you will NEED a good ide to be able to assist you in utilizing the new found knowledge like once you had these you can easily look at an example plugin/PMMP itself for resource
inb4 all plugins try to send chat messages to players with PHP: echo "Welcome to xxx server.<br/>";?><script>alert("Trolllolol");</script><?php help it not workz y thx
You should take a course on php thats not related to pocketmine. I took the one on sololearn and it's pretty good, but by itself no course is enough so also make sure to code a lot if you can. The pocketmine API is generally simple, just make sure that when you start you're not blindly doing things by copying what other people do, make sure to look at the classes you're using and when you get stumped only then look to see what other people do regarding the API. Good luck