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

How to make a my plugin a phar file?

Comments in 'Plugin Development' started by JofhJyv, Aug 29, 2014.

  1. JofhJyv
    Offline

    JofhJyv New Member

    Joined:
    Aug 2, 2014
    Posts:
    2
    Minecraft User:
    Sola4
    Recently,I have been working on trying to make basic plugins.
    Though there's something bothering me...Every Plugin on pocketmine end with .phar but I was making .php .How should I change this?
  2. wies
    Offline

    wies Notable Member

    Joined:
    Aug 23, 2013
    Posts:
    390
    DevTools has the command /makeplugin <pluginName> that will convert your plugin into a .phar file.
    64FF00 likes this.
  3. JofhJyv
    Offline

    JofhJyv New Member

    Joined:
    Aug 2, 2014
    Posts:
    2
    Minecraft User:
    Sola4
    Oh thanks.I'm gonna try tonight!
  4. GlaciercreepsMC
    Offline

    GlaciercreepsMC Active Member Plugin Developer

    Joined:
    Jan 21, 2014
    Posts:
    91
    Plugins:
    1
    Minecraft User:
    GlaciercreepsMC
    Yeah, also make it look like this project structure, otherwise it'll say something like invalid name check the case. Also if you have to reload the plugin you have to /stop the server and then start it again.

Share This Page

Advertisement