Hello, I am new to coding but I don't know how to code plugins... By "new to coding" I mean that I know and understand the basics but I'm assuming its different for plugins... Can anyone give me a link to go to a website or post so I can check that out, or if you know how to code plugins for PE if you have any basics that I might need to know you can just comment them. Also do you guys know any 1v1 plugins other than 1vs1 ??
firstly, you need to learn PHP no exceptions you must know the basic of PHP secondly, you need to learn OOP for PHP no exceptions same as the first Both steps are very important and crucial so do not skip them thirdly, Boom you now magically know how to make pm plugin, weather from looking into the source code OR looking into other users plugins you should have absuletly no problem at all reading or understanding PM once you finished step one and two And the best thing is there a website for everything you need to know in order to learn PHP, it's PHP.net And here is a handy link http://php.net/manual/en/langref.php just learn every chapter/resume off from where you last left off and you should be all set not every thing is needed to understand PM, but it is essential to optimize PHP to it's fullest potential
I never learned PHP, same as i never learned JavaScript. Well, i did learn but it was litterally trial and error and copying code. I started with ModPE because its so simple and moved to java from that.
but if you have learn PHP you wont be just blindly copying code, you actually KNOW what it does which make a difference from copying and coding
I know what stuff does NOW, its just in the beginning copy and pasting and editing other plugins was how i learnt.
By "learning" we don't mean going to a particular website or college or buying a book to learn it. As long as it is in-depth understanding, it is OK. Many people claim to have "learnt" PHP, but they don't really understand why we need to use classes at all. As a matter of fact, many of us here have never learnt PHP properly, but managed to create legend by pure talent. To be exact, "first you need to learn PHP" is the simple answer we give to people who ask the broad question "how to write plugins". All roads lead to Rome -- how would we know which method is the best for you, an individual?