ms/packages/bungee/src/index.ts
MiaoWoo ad85c3bc9b feat: 新增Native插件管理
Signed-off-by: MiaoWoo <admin@yumc.pw>
2020-12-07 11:12:49 +08:00

18 lines
539 B
TypeScript

/// <reference types="@javatypes/bungee-api" />
import { server } from '@ccms/api'
import { Container } from '@ccms/container'
import { BungeeConsole } from './console'
import './task'
import './event'
import './server'
import { BungeeNativePluginManager } from './plugin'
import './command'
import './channel'
export default function BungeeImpl(container: Container) {
container.bind(server.Console).toConstantValue(BungeeConsole)
container.rebind(server.NativePluginManager).toConstantValue(new BungeeNativePluginManager())
}