feat: add download and getPluginsFolder

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-02-29 22:28:43 +08:00
parent 85b3bba5d0
commit 27b5642047
6 changed files with 30 additions and 5 deletions

View File

@ -29,6 +29,9 @@ export class BungeeServer implements server.Server {
dispatchConsoleCommand(command: string): boolean {
return Bungee.getPluginManager().dispatchCommand(Bungee.getConsole(), command)
}
getPluginsFolder(): string {
return Bungee.getPluginsFolder().getCanonicalPath();
}
sendJson(sender: string | any, json: string): void {
throw new Error("Method not implemented.");
}