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

PocketMine-MP 1.4 Completable with PMF reader

Comments in 'Plugin Development' started by swagboy47, Jul 10, 2014.

  1. swagboy47
    Offline

    swagboy47 Active Member

    Joined:
    Jun 10, 2014
    Posts:
    445
    Minecraft User:
    swagking
    hello guys , i have a question it's is the Pocketmine 1.4 can read PMF files ? if yes then how ?
  2. MinecrafterJPN
    Offline

    MinecrafterJPN Active Member Plugin Developer

    Joined:
    Aug 26, 2013
    Posts:
    154
    Plugins:
    9
    Minecraft User:
    MinecrafterJPN
    1.4 can not load PMF.
    But if you make a plugin loader for PMF, it is yes.
    Falk and PEMapModder like this.
  3. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,707
    Plugins:
    22
    Minecraft User:
    Falkirknh
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    You want to use PMF plugins or make them?
  5. swagboy47
    Offline

    swagboy47 Active Member

    Joined:
    Jun 10, 2014
    Posts:
    445
    Minecraft User:
    swagking
    i want to compile my phar plugins into PMF
  6. swagboy47
    Offline

    swagboy47 Active Member

    Joined:
    Jun 10, 2014
    Posts:
    445
    Minecraft User:
    swagking
  7. ServerKart_Rod
    Offline

    ServerKart_Rod Active Member Plugin Developer

    Joined:
    Jul 7, 2014
    Posts:
    110
    Plugins:
    1
    Minecraft User:
    Advocaite
    pmf is easily decodeable I would go a php encoder and just have server owners need loaders to run them if you want to protect your source and or make sure none copy it
  8. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    We had a discussion on this at the General Discussion forum about making code close-source. Our conclusion was that,
    However, this extension doesn't exist among the extensions in PocketMine-MP.

    Also, I don't recommend making plugins close-source as it will make it hard for other plugisn to interact with it. Why do you want your plugins in PMF?
  9. swagboy47
    Offline

    swagboy47 Active Member

    Joined:
    Jun 10, 2014
    Posts:
    445
    Minecraft User:
    swagking
    i am working on very high quality plugin and i don't want anybody to use my codes or methods .
  10. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    "Very high quality". I wonder how high quality it can be.
  11. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Anyway, it is impossible without user-side extensions. (sounds like bcompiler according to @wies)
  12. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    The human race goes on and thrives because the descendents develop basing their knowledge on their ancestors. Otherwise, if Walt disallows anyone to use steam engines after his death, what will happen to us now?

    Moreover, hiding your source isn't necessary. People would not get better than you if they use your code. Moreover, if you are going for a great plugin, you must make it open-source. A great plugin always allows interaction with other plugins.
    Darunia18 likes this.
  13. Darunia18
    Offline

    Darunia18 Staff Member Sectional Moderator

    Joined:
    Aug 23, 2013
    Posts:
    755
    Plugins:
    2
    Minecraft User:
    Darunia18
    I have to agree with this. First of all, if you release your plugin, other people can't steal your code and release it in the repository and, if somehow there is a slip-up, you can just report it and it'll be removed. Second, what's the point in hiding the code? Every great plugin I've ever seen, Bukkit and PocketMine, have been open source, and allowing the community to help fix bugs, give suggestions to the code, etc have only made them better. Third, if you use the aforementioned ways to make it closed-source, it won't be able to be released in the repository. And finally, there's no true way to make anything closed-source. Even if it's extremely difficult to do, if a computer is able to read it, there will be a way to make a program to decompile it to an understandable format. So, all in all, making it closed-source has very little benefits and closes the windows on the many great benefits of open-source.
    PEMapModder likes this.
  14. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    GitHub motto: Build software, Better, Together
    Darunia18 likes this.
  15. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    No. The way MCPE is compiled can make code close source. Just cache the compiled version of the PHP code.
    Darunia18 likes this.
  16. Darunia18
    Offline

    Darunia18 Staff Member Sectional Moderator

    Joined:
    Aug 23, 2013
    Posts:
    755
    Plugins:
    2
    Minecraft User:
    Darunia18
    Hmm ok. I stand corrected :p

    (I was expecting you to do that XD)
  17. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    :D except that, again, it won't get approved on the forum ;)
    Darunia18 likes this.
  18. ServerKart_Rod
    Offline

    ServerKart_Rod Active Member Plugin Developer

    Joined:
    Jul 7, 2014
    Posts:
    110
    Plugins:
    1
    Minecraft User:
    Advocaite
    GOOGLE LOADERS drop in your .so .dll into bin/php and then edit the php.ini file for example
    to use ion cube encoded files you add the loader for the version its encoded by.
    then add this to php.ini
    Code:
    zend_extension_ts = "ioncube_loader_win_5.4.dll"
    Extensions are super easy to install and use if your plugin needs it then add the extension and instruction on how to install it for users.

    You may say why go closed source when open source is better for everyone else.

    I support Open source myself when releasing stuff to public that I intend everyone to use, like I did with my PDO class that I hope people use more :)
    But what if you want to code a plugin for someone and there paying you to do so, you can not sell plugins themselves due to minecraft eula, but you can pay someone to code it for you, that is fine just as long as you don't go selling that plugin.
    Closed source allows you to do this with out worrying someone will just steal that plugin and all that work you put in.
    This is something I support 100% and well is really good way to protect your self as a developer
    swagboy47 likes this.

Share This Page

Advertisement