Skip to content
Su-Yong edited this page Sep 13, 2023 · 5 revisions

Plugin

Alspotron plugin is a zip file. it must include manifest.json that shows informations if the plugin.

Plugin.zip
 - manifest.json
 - some-plugin-files...

manifest.json

manifest.json must include this field

{
  "id": "plugin-id",
  "name": "name",
  "author": "author",
  "versionCode": 1,
  "manifestVersion": 1,
}
  • id: String id of the plugin. Recommend use uuid v4
  • name: Name of the plugin.
  • author: Author of the plugin.
  • versionCode: Integer value. Version code of the plugin. A plugin is overrided by same id of plugin that version code is higher.
  • manifestVersion: Integer value. It indicate which API plugin use.

Optional Field

  • description: Description of the plugin.
  • version: String value like 0.1.0

API

Versions

Clone this wiki locally