This project isn't yet in a working state.
Ever thought to yourself how silly installing a plugin is? Have you ever read the supposedly simple installation instructions and thought, these aren't simple at all. You have to like...drag and drop something, that's pretty hard in the world of today. There is good news! Once you install PluginNinja, you will never have to manage plugins in such a boring way again.
- Click on "Releases" and find the latest
.phar
file. - Put the file into your plugins folder. Start your server.
- Restart your server. Do not reload.
- Step back, it's alive. PluginNinja will index your plugins and then it will continue with its standard startup.
- PluginNinja starts by creating its environment. The happens in three simple stages
- Install of the invisible loader, this file loads the PluginNinja core.
- Restart of server to stabilize loader.
- Creation of
.ninja
to cache old versions. - Creation the
ninja.json
for dependency management.
- PluginNinja wants all plugins to be tracking a remote source. It will scan through all existing plugins and try to find them in one of the builtin sources. If it can't find the plugin, updates and version control will not be available.
Developers may add new source types, but it is recommended to use an existing one. The following types are built in
NinjaAPI
official repo typePocketMineForums
(extendsWebJSON
)GitHubDirectory
(extends WebDirectory)WebDirectory
(extendsLocalDirectory
)WebJSON
(extendsLocalJSON
)LocalDirectory
LocalJSON
this one is highly impractical
Several sources come built in, they can be modified in the Ninja.json
.
- PocketMine Forums uses
PocketMineForums
with source at http://forums.pocketmine.net/api.php - GitHub uses
GitHubDirectory
with source at https://github.com - Official repo uses
NinjaAPI
with source at ninja.mcpe.me (currently offline)