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

cannot make .phar with DevTools

Comments in 'Plugin Development' started by Snail_P, May 12, 2015.

  1. Snail_P
    Offline

    Snail_P New Member

    Joined:
    May 11, 2015
    Posts:
    2
    Minecraft User:
    Hanmaree
    I did

    /extractplugin AdminJoin

    and it said

    [INFO] Source plugin AdminJoin v1.3.0 has been created on
    /storage/emulated/0/PocketMine/plugins/DevTools//AdminJoin_v.1.3.0/

    and then, I did

    /makeplugin AdminJoin

    however it said

    [INFO] Plugin AdminJoin is not in folder structure.

    What is going on?
  2. Asidert
    Offline

    Asidert Active Member Plugin Developer

    Joined:
    Oct 21, 2014
    Posts:
    123
    Plugins:
    1
    Minecraft User:
    Asidert
    Place AdminJoin source code to /plugins and restart server.
    EvolSoft likes this.
  3. Snail_P
    Offline

    Snail_P New Member

    Joined:
    May 11, 2015
    Posts:
    2
    Minecraft User:
    Hanmaree
    source code?
  4. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    Go on plugins/DevTools and rename AdminJoin_v... in AdminJoin. Then move AdminJoin folder in plugins directory. Now you can do /makeplugin AdminJoin
  5. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    /extractplugins extracts the desired plugin that is loaded from phar into a new folder created in .../plugins/DevTools
    DevTools, upon server start, loads all source plugins inside .../plugins, not recursively. It has nothing to do with the .../plugins/DevTools folder.
    /makeplugin packs the source files loaded from source into a new .phar file created in .../plugins/DevTools.

Share This Page

Advertisement