From 6089caec3117a3e91e4305945199e986eaad8038 Mon Sep 17 00:00:00 2001 From: dyzulk <66510723+dyzulk@users.noreply.github.com> Date: Sun, 18 Jan 2026 16:18:16 +0700 Subject: [PATCH] docs: add plugin manual and update sidebar --- .vitepress/config/sidebars.ts | 2 ++ docs/manual/settings/plugins.md | 34 ++++++++++++++++++++++++++++++ id/docs/manual/settings/plugins.md | 34 ++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 docs/manual/settings/plugins.md create mode 100644 id/docs/manual/settings/plugins.md diff --git a/.vitepress/config/sidebars.ts b/.vitepress/config/sidebars.ts index 322b90f..a46fd94 100644 --- a/.vitepress/config/sidebars.ts +++ b/.vitepress/config/sidebars.ts @@ -51,6 +51,7 @@ export const sidebarEn: DefaultTheme.Sidebar = { text: 'Global Settings', items: [ { text: 'Introduction', link: '/docs/manual/settings/' }, + { text: 'Plugins', link: '/docs/manual/settings/plugins' }, { text: 'Routers', link: '/docs/manual/settings/routers' }, { text: 'Templates', link: '/docs/manual/settings/templates' }, { text: 'Logos', link: '/docs/manual/settings/logos' }, @@ -124,6 +125,7 @@ export const sidebarId: DefaultTheme.Sidebar = { text: 'Pengaturan Global', items: [ { text: 'Pendahuluan', link: '/id/docs/manual/settings/' }, + { text: 'Plugins', link: '/id/docs/manual/settings/plugins' }, { text: 'Router', link: '/id/docs/manual/settings/routers' }, { text: 'Template', link: '/id/docs/manual/settings/templates' }, { text: 'Logo', link: '/id/docs/manual/settings/logos' }, diff --git a/docs/manual/settings/plugins.md b/docs/manual/settings/plugins.md new file mode 100644 index 0000000..7e1be9c --- /dev/null +++ b/docs/manual/settings/plugins.md @@ -0,0 +1,34 @@ +# Plugin Manager + +Mivo v1.2+ introduces a powerful **Plugin System** that allows you to extend the core functionality of the application without modifying the source code. + +## Installing Plugins + +### Method 1: Upload ZIP +If you have a plugin ZIP file (e.g. from a third-party developer), you can install it manually: + +1. Go to **Settings > Plugins**. +2. Click the **Upload Plugin** button. +3. Select your `.zip` file. +4. Mivo will verify the structure (`plugin.php`) and install it. + +### Method 2: Via Registry +You can browse the [Official Registry](/plugins/) to find community-verified plugins: + +1. find the plugin you want in the **Plugins** menu. +2. Click **Download** to get the ZIP file. +3. Upload it via **Settings > Plugins**. + +*(Future updates will allow one-click install directly from the dashboard)* + +## Managing Plugins + +In the **Settings > Plugins** table, you can see all installed extensions. + +- **Status**: Shows if the plugin is active. +- **Actions**: + - **View Config**: Some plugins provide a configuration page. + - **Delete**: Removes the plugin and its files permanently. + +## Creating Plugins +Developers can create custom plugins to add features like new Hotspot themes, payment gateways, or system tools. Check the [Contribution Guide](/docs/guide/contribution) for details. diff --git a/id/docs/manual/settings/plugins.md b/id/docs/manual/settings/plugins.md new file mode 100644 index 0000000..9c8380b --- /dev/null +++ b/id/docs/manual/settings/plugins.md @@ -0,0 +1,34 @@ +# Manajemen Plugin + +Mivo v1.2+ memperkenalkan **Sistem Plugin** yang memungkinkan Anda menambah fitur aplikasi tanpa perlu mengubah kode inti. + +## Cara Install Plugin + +### Metode 1: Upload ZIP +Jika Anda memiliki file plugin (format `.zip`), Anda bisa menginstalnya secara manual: + +1. Buka menu **Pengaturan > Plugins**. +2. Klik tombol **Upload Plugin**. +3. Pilih file `.zip` plugin Anda. +4. Mivo akan memverifikasi struktur file (`plugin.php`) dan menginstalnya. + +### Metode 2: Lewat Registry +Anda bisa menjelajahi [Registry Resmi](/id/plugins/) untuk mencari plugin yang terverifikasi: + +1. Cari plugin yang diinginkan di menu **Plugins**. +2. Klik **Download** untuk mendapatkan file ZIP. +3. Upload file tersebut di **Pengaturan > Plugins**. + +*(Update mendatang akan memungkinkan instalasi satu-klik langsung dari dashboard)* + +## Mengelola Plugin + +Di halaman **Pengaturan > Plugins**, Anda bisa melihat daftar ekstensi yang terpasang. + +- **Status**: Menunjukkan apakah plugin aktif. +- **Aksi**: + - **Konfigurasi**: Beberapa plugin menyediakan halaman pengaturan khusus. + - **Hapus**: Menghapus plugin dan filenya secara permanen. + +## Membuat Plugin +Pengembang (Developer) dapat membuat plugin kustom untuk fitur seperti tema hotspot baru, gateway pembayaran, atau tool sistem. Cek [Panduan Kontribusi](/id/docs/guide/contribution) untuk detailnya.