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

ZIP to PHAR

Comments in 'Plugin Development' started by AndrojusPL, Jul 4, 2014.

  1. AndrojusPL
    Offline

    AndrojusPL New Member

    Joined:
    Jul 3, 2014
    Posts:
    4
    Hello.
    Unpacked file. Phar using unphar.com and now I do not know how to pack. DevTool: "Invalid plugin name, check the name case.". Are there any other ways?
  2. xpyctum
    Offline

    xpyctum Active Member Plugin Developer

    Joined:
    Jan 13, 2014
    Posts:
    292
    Plugins:
    4
    Minecraft User:
    tylerdisney
    Check your plugin.yml and plugin code
  3. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    You must put the exact plugin name for that. Or, if you put whitespaces, delete them.
  4. MegaSamNinja
    Offline

    MegaSamNinja Active Member

    Joined:
    Sep 13, 2013
    Posts:
    138
    Minecraft User:
    Bamuel
    Well instead of .zip file
    I done it with a ddirectory folder

    but I think it will do the same thing
  5. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
  6. Renzo
    Offline

    Renzo Active Member

    Joined:
    Mar 12, 2014
    Posts:
    96
    Minecraft User:
    Renzo_4
    Why dont you use a folder like @MegaSamNinja said and then use DevTools?
    I did it with a folder and it worked
  7. Darunia18
    Offline

    Darunia18 Staff Member Sectional Moderator

    Joined:
    Aug 23, 2013
    Posts:
    755
    Plugins:
    2
    Minecraft User:
    Darunia18
    To use DevTools to make it a phar again, you have to put it as a normal folder, not a zipped one.
  8. Killman2
    Offline

    Killman2 Active Member Plugin Developer

    Joined:
    May 5, 2014
    Posts:
    81
    Plugins:
    1
    Minecraft User:
    Killman2
    Don't put in ZIP type, lol.
  9. AndrojusPL
    Offline

    AndrojusPL New Member

    Joined:
    Jul 3, 2014
    Posts:
    4
    I tried and zip and folder and nothing. I packed it up and running Eclipse. To close and you packing to the phar also recommend xD And as always sorry for my english :)
  10. Renzo
    Offline

    Renzo Active Member

    Joined:
    Mar 12, 2014
    Posts:
    96
    Minecraft User:
    Renzo_4
    Did you create the PHAR with Eclipse?
  11. AndrojusPL
    Offline

    AndrojusPL New Member

    Joined:
    Jul 3, 2014
    Posts:
    4
    Yes, I created a php project, I imported the plugin files into the program and then export xD
  12. Renzo
    Offline

    Renzo Active Member

    Joined:
    Mar 12, 2014
    Posts:
    96
    Minecraft User:
    Renzo_4
    No it doesnt detect Eclipse PHAR' s
    You need to make a directory and put all the folders you created in the directory you created and then put the the files you made in the right folder
  13. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    It is not necessary to do that.
  14. Renzo
    Offline

    Renzo Active Member

    Joined:
    Mar 12, 2014
    Posts:
    96
    Minecraft User:
    Renzo_4
    I know, but its possible in that way
  15. PluginMastered
    Offline

    PluginMastered Active Member

    Joined:
    Mar 1, 2014
    Posts:
    161
    Minecraft User:
    Flexa33
    Eclipse is a java IDE how did you make a phar with it.:D
    PEMapModder likes this.
  16. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Eclipse plugin/add-on/whatever?
  17. SpiderPig
    Offline

    SpiderPig Active Member

    Joined:
    Sep 21, 2013
    Posts:
    128
    Minecraft User:
    SpiderPig
  18. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,325
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Dutok likes this.
  19. MegaSamNinja
    Offline

    MegaSamNinja Active Member

    Joined:
    Sep 13, 2013
    Posts:
    138
    Minecraft User:
    Bamuel
    PHPStorm cost alot of money
    unless you take the 30 day free trial
    hoyinm14mc likes this.
  20. MegaSamNinja
    Offline

    MegaSamNinja Active Member

    Joined:
    Sep 13, 2013
    Posts:
    138
    Minecraft User:
    Bamuel
    So I use Notepad++
    Renzo likes this.

Share This Page

Advertisement