Hi all. I am writing it because I hate 'all copycats' from the internet. They are modding plugin code and claiming that its their work and deceiving the people! Could someone do with that? And how to strict people who are specifically tell people that it is theirs?
The best you can do to protect it is... Putting it on Github, and having all the commits. Remember that the Plugin Reviewers approve each plugin after reviewing the code. If we find that they code is similar to one that we have seen, we start investigating. You can also report a plugin (tell us the reason, and original source!). You can also try doing code obfuscation, but that might break a few things if not done right. I've removed support for that in DevTools for the new API. Also, add a license to your plugin so at least they will have to read about it. Just get known, so everyone knows that code is yours, and report if you find an offending plugin (if we haven't removed it yet!)
Well, I only meant that so you can prove that it's yours. Commits make sense if the author makes them ;P We review them in other ways too.
Build your core plugin part in Zephir, and write a PHP wrapper around your Zephir module. Distribute both Zephir compiled binary and the PHP wrapper.
============ Ow,there are a bit missunderstainding i am telling this because of other players are editing the (already published plugins) and saying that its their work. How to secure php plugin like to decode it to pmf? But in future there will no pmf,only php and smthing else -i herd.
Other people are publishing plugins without permission of creators. ant them are renaiming that the code is theirs (not the oficcial autors)
Tbh I think they should install a php checker to see if any part of the code is the same part as someone elses in the plugin list as that would reduce steals. Protection for the php is probably not needed as if you spot something in their code you can just report it to be deleted.
In my opinion, reusing other peoples' code is fine as the PocketMine API is in the LGPL license. Redistributing without attributing credit is an entirely different matter. It's pretty easy to figure out whether they are reusing or just plain stealing. Ask them what the code is doing. One will know how to code PHP, the other will not. Edit: Changed GPL to LGPL
======== I am not about that, i am tellin just how to secure or convert into somthing php file that anyone had not had code path. like in old pmf or smthing new.
Personally you can't do much about people stealing codes these days. To be honest I can't see much is possible to secure it. If you had a secure plugin code that no one could steal or read pocketmine wouldn't be able to read it. The pocketmine forums have been upgraded recently which means they have made it much easier to report plugins that have stolen codes that get sorted very quickly. If your really worried about someone stealing your code you might as well just not publish it.
Language docs are at: http://zephir-lang.com/ It seems like alot of trouble to prevent theft of your code.