Msh Help

Package Manager

Installing plugins from plugins website

Command: pkg install [name] (source)

Param (required) name: Plugin name (on website) or slug

Param source: Currently supports Modrinth and Hangar, default to Modrinth

This command will send requests to Modrinth/Hangar API, to fetch latest version and check server compatibility, and install the plugin if compatible

When installation completed, you need to restart the server, or you can reload server or load plugin with PlugManX (Not recommended)

Installing plugins from Git (Build from source)

Command: pkg install [Repository URL] build

Param (required) Repository URL: Example https://github.com/GrimAnticheat/Grim.git

This command will clone the Git repository to a temporary directory, then build source

Currently, it supports Gradle only

When installation completed, you need to restart the server, or you can reload server or load plugin with PlugManX (Not recommended)

Cloned repository will be saved to ~/cache/msh, you can delete this folder anytime

Logs will be saved to ~/plugins/Msh/BuildInstallLogs

List plugins installed by Msh package manager

Command: pkg list

Update plugins installed by Msh package manager

Command: pkg install [name]

Param (required) name: Name used in pkg install command, updating plugins that are not installed by the Msh package manager is currently not supported

This command will send requests to Modrinth/Hangar API, to fetch latest version and check server compatibility, and update the plugin if compatible

When installation completed, you need to restart the server

Last modified: 07 八月 2024