Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Setup repository

Toby edited this page Feb 16, 2022 · 2 revisions

Setup Release.json file

{
    "label": "thebigcrafter/APM",
    "description": "Official thebigcrafter's APM repository"
}

label is the repository name.
description is the repository description.

Setup Plugins.json

[
    {
        "icon": "Icon URL",
        "name": "Plugin name",
        "author": "Author name",
        "version": "Plugin version",
        "description": "Plugin decription",
        "file": "URL to phar file",
        "md5": "MD5 hash of phar file",
        "sha1": "SHA1 hash of phar file",
        "sha256": "SHA256 hash of phar file",
        "sha512": "SHA512 hash of phar file"
    }
]

icon is an icon URL for our PocketMine plugins website (we are developing it).
file must be an URL.

Upload Release.json and Plugins.json to your host

You can use GitHub Pages or another host providers. Add your repository to APM by using this command apm add-repo <url>

Clone this wiki locally