2017 © Pedro Peláez
 

library makeplugin

A pure PHP implementation of PocketMine DevTools for packing plugins.

image

sekjun9878/makeplugin

A pure PHP implementation of PocketMine DevTools for packing plugins.

  • Thursday, December 18, 2014
  • by sekjun9878
  • Repository
  • 1 Watchers
  • 5 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

MakePlugin

MakePlugin is a library for packing PocketMine plugins without having to use DevTools and PocketMine itself. Unlike DevTools Console, it also reads plugin configuration files like the full DevTools, and writes it as a phar metadata., (*1)

Usage:, (*2)

use sekjun9878\MakePlugin\MakePlugin;

MakePlugin::makePlugin("/path/to/your/project/SimpleAuth", "/path/to/anywhere/for/the/phar/output", MakePlugin::MAKEPLUGIN_COMPRESS);

The first parameter is for your plugin folder., (*3)

The second parameter is the directory where your .phar file will go. By default, it will make up a filename consisting of the plugin name and version. If you want to override this behaviour (writing directly to the file specified), set the flag MAKEPLUGIN_REAL_OUTPUT_PATH, (*4)

The third and final option are the flags. Possible flags are: - MAKEPLUGIN_REAL_OUTPUT_PATH - described above - MAKEPLUGIN_COMPRESS - compress the resulting phar using the default Phar compression mechanism., (*5)

And that's it!, (*6)

Oh, and there's another function called MakePlugin::getPluginDescription($filename);. You can use this to get the PluginDescription object off of a plugin.yml. (Used internally), (*7)

Have fun!, (*8)

The Versions

18/12 2014

dev-master

9999999-dev https://github.com/sekjun9878/makeplugin

A pure PHP implementation of PocketMine DevTools for packing plugins.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

plugin devtools pocketmine

18/12 2014

v1.0.0

1.0.0.0 https://github.com/sekjun9878/makeplugin

A pure PHP implementation of PocketMine DevTools for packing plugins.

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

plugin devtools pocketmine