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

New API - Plugin Patern

Comments in 'Plugin Development' started by Guillaume351, Jul 1, 2014.

  1. Guillaume351
    Offline

    Guillaume351 Active Member Plugin Developer

    Joined:
    Oct 11, 2013
    Posts:
    150
    Plugins:
    1
    Minecraft User:
    Guillaume351
    Hello, can somebody give me a link to a patern for the new API : I want to convert my plugin RealTime to this new API, but I don't understand how many files we have to create ect.. (I'm french). I know that there is a tutorial for that, but I want to see what are you supposed to have at the end of this tutorial.

    Thank you very much.
  2. Renzo
    Offline

    Renzo Active Member

    Joined:
    Mar 12, 2014
    Posts:
    96
    Minecraft User:
    Renzo_4
    Look at some example plugins
  3. Guillaume351
    Offline

    Guillaume351 Active Member Plugin Developer

    Joined:
    Oct 11, 2013
    Posts:
    150
    Plugins:
    1
    Minecraft User:
    Guillaume351
    How to open a phar file ? Sometimes it work with PHPstorm, sometime no.. I also tried to extract with Devtools but it don't work. Thx
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Look at the many threads about extracting phar on the forum.
  5. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    New API plugins cannot be ported automatically from old API plugins. However, this may help you a bit if you need it to learn.
  6. tschrock
    Offline

    tschrock New Member Plugin Developer

    Joined:
    May 3, 2014
    Posts:
    22
    Plugins:
    3
    Minecraft User:
    tschrock
    Guillaume351 likes this.
  7. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    I surely downvote this. "All files"?
  8. jython234
    Offline

    jython234 Notable Member Plugin Developer

    Joined:
    Nov 4, 2013
    Posts:
    324
    Plugins:
    1
    Minecraft User:
    jython234
    Dutok recommends unphar.com
    PEMapModder and Darunia18 like this.
  9. tschrock
    Offline

    tschrock New Member Plugin Developer

    Joined:
    May 3, 2014
    Posts:
    22
    Plugins:
    3
    Minecraft User:
    tschrock
    Sorry for the overgeneralization, but you should be able to tell what I meant. :cool:
  10. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,132
    Plugins:
    4
    Minecraft User:
    iksaku
    Try using DevTools to extract PHAR plugins ;)
  11. jython234
    Offline

    jython234 Notable Member Plugin Developer

    Joined:
    Nov 4, 2013
    Posts:
    324
    Plugins:
    1
    Minecraft User:
    jython234
    Unphar.com:
    That's it. It's JUST THAT EASY!
    PEMapModder, Darunia18 and Tuff like this.
  12. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,132
    Plugins:
    4
    Minecraft User:
    iksaku
    Meh, Devtools still easier for me
  13. Guillaume351
    Offline

    Guillaume351 Active Member Plugin Developer

    Joined:
    Oct 11, 2013
    Posts:
    150
    Plugins:
    1
    Minecraft User:
    Guillaume351
    Thank you, I already saw your long tutorial, but with my english, I can't understand everythink. I'm going to try to port my plugin to the new API without following it :/
    PEMapModder likes this.
  14. jython234
    Offline

    jython234 Notable Member Plugin Developer

    Joined:
    Nov 4, 2013
    Posts:
    324
    Plugins:
    1
    Minecraft User:
    jython234
    I like command line tools.
    PEMapModder and iksaku like this.

Share This Page

Advertisement