Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Protect code

Comments in 'Plugin Development' started by Sergey_D, Dec 9, 2014.

Thread Status:
Not open for further replies.
  1. Sergey_D
    Offline

    Sergey_D Active Member

    Joined:
    Jan 19, 2014
    Posts:
    75
    Minecraft User:
    CLILLZ
    How can confuse code? I want my plugin works, but to read and modify it was extremely difficult.
    P.S. Bad English.
  2. xFlare
    Offline

    xFlare Active Member Plugin Developer

    Joined:
    Sep 28, 2014
    Posts:
    199
    Plugins:
    1
    Minecraft User:
    xFlare
    You can't confuse code. Code is suppose to confuse you. :p
  3. Sergey_D
    Offline

    Sergey_D Active Member

    Joined:
    Jan 19, 2014
    Posts:
    75
    Minecraft User:
    CLILLZ
    You know about the plugins in format PMF in the old version of PocketMine? After translation plugin to format PMF he became unreadable.
  4. xFlare
    Offline

    xFlare Active Member Plugin Developer

    Joined:
    Sep 28, 2014
    Posts:
    199
    Plugins:
    1
    Minecraft User:
    xFlare
    Why are you learning th old API? Its useless now.
  5. Sergey_D
    Offline

    Sergey_D Active Member

    Joined:
    Jan 19, 2014
    Posts:
    75
    Minecraft User:
    CLILLZ
    I studied it when when new was not, in the time of exit API 9
  6. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,706
    Plugins:
    22
    Minecraft User:
    Falkirknh
    Locked. You may be able to obfuscate your code using a variety of tools, this would be highly discouraged by PocketMine, but it is possible. The issue with that is that PHP is an interpreted language and because of this all code loaded onto vanilla PHP is the source code and can easily be studied by an interested party. Now we get into things like http://php.net/manual/en/book.bcompiler.php and others, these are extensions to PHP that PocketMine will not support and inclusion of them in your binary will make updating and getting support harder.
    iksaku, LDX and xFlare like this.
Thread Status:
Not open for further replies.

Share This Page

Advertisement