feat: add download and getPluginsFolder
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
@ -4,7 +4,7 @@ export namespace plugin {
|
||||
*/
|
||||
export const Plugin = Symbol("Plugin");
|
||||
/**
|
||||
* MiaoScript Plugin
|
||||
* MiaoScript Plugin Folder
|
||||
*/
|
||||
export const PluginFolder = Symbol("PluginFolder");
|
||||
/**
|
||||
|
@ -26,6 +26,7 @@ export namespace server {
|
||||
getService(service: string): any;
|
||||
dispatchCommand(sender: string | any, command: string): boolean;
|
||||
dispatchConsoleCommand(command: string): boolean;
|
||||
getPluginsFolder(): string;
|
||||
sendJson(sender: string | any, json: object | string): void;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user