Are you an LLM? You can read better optimized documentation at /plugin/command.md for this page in Markdown format
Plugin Commands β
Plugin Extension Initialization Command β
DANGER
MineAdmin 2.0 already includes the plugin extension and initialization by default. No need to repeat the initialization process.
This command will publish the configuration and language files for app-store.
shell
php bin/hyperf.php mine-extension:initial1
Query Remote Plugin List (from MineAdmin Official Extension Source) β
shell
php bin/hyperf.php mine-extension:list1
Parameters β
| Parameter | Type | Default | Remarks |
|---|---|---|---|
| --type | string | all | Filter by extension type |
| --name | string | None | Filter by extension name |
Query All Local Plugins (including uninstalled ones) β
shell
php bin/hyperf.php mine-extension:local-list1
Download Remote Plugin to Local β
shell
php bin/hyperf.php mine-extension:download1
Parameters β
| Parameter | Type | Default | Remarks |
|---|---|---|---|
| --name | string | None | Required |
Install Specified Plugin β
shell
php bin/hyperf.php mine-extension:install {path} --yes1
Parameters β
| Parameter | Type | Default | Remarks |
|---|---|---|---|
| path | string | None | Required, plugin directory |
| --yes | bool | false | Disable installation confirmation |
Uninstall Specified Plugin β
shell
php bin/hyperf.php mine-extension:uninstall {path} --yes1
Parameters β
| Parameter | Type | Default | Remarks |
|---|---|---|---|
| path | string | None | Required, plugin directory |
| --yes | bool | false | Disable uninstallation confirmation |
Create a Plugin β
shell
php bin/hyperf.php mine-extension:create1
Parameters β
| Parameter | Type | Default | Remarks |
|---|---|---|---|
| path | string | Required | Creation path, e.g., zds/app-store |
| --name | string | example | Plugin name |
| --type | string | mixed | Plugin type, options: mixed, frontend, backend |
| --author | string | Optional | Author name, fills into minejson.author |
| --description | string | Optional | Plugin description, fills into minejson.description |