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 ce431aded4
commit 488eecba07
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.");
}