2020-06-22 02:44:17 +00:00
|
|
|
/// <reference types="@javatypes/bungee-api" />
|
2020-01-15 08:43:00 +00:00
|
|
|
|
2020-05-02 16:14:47 +00:00
|
|
|
import { server } from '@ccms/api'
|
|
|
|
import { Container } from '@ccms/container'
|
2020-01-15 08:43:00 +00:00
|
|
|
|
2020-12-07 03:12:49 +00:00
|
|
|
import { BungeeConsole } from './console'
|
|
|
|
import './task'
|
|
|
|
import './event'
|
|
|
|
import './server'
|
|
|
|
import { BungeeNativePluginManager } from './plugin'
|
|
|
|
import './command'
|
|
|
|
import './channel'
|
2020-01-15 08:43:00 +00:00
|
|
|
|
2020-01-31 18:46:06 +00:00
|
|
|
export default function BungeeImpl(container: Container) {
|
2020-12-07 03:12:49 +00:00
|
|
|
container.bind(server.Console).toConstantValue(BungeeConsole)
|
|
|
|
container.rebind(server.NativePluginManager).toConstantValue(new BungeeNativePluginManager())
|
2020-01-31 18:46:06 +00:00
|
|
|
}
|