2020-06-22 02:44:17 +00:00
|
|
|
/// <reference types="@javatypes/spigot-api" />
|
2019-09-19 10:58:01 +00:00
|
|
|
|
2020-05-02 16:14:47 +00:00
|
|
|
import { server } from '@ccms/api'
|
|
|
|
import { Container } from '@ccms/container'
|
2019-09-07 04:23:15 +00:00
|
|
|
|
2020-09-17 09:44:48 +00:00
|
|
|
import { BukkitConsole } from './console'
|
|
|
|
import './chat'
|
|
|
|
import './task'
|
|
|
|
import './event'
|
|
|
|
import './server'
|
2020-12-07 03:12:49 +00:00
|
|
|
import { BukkitNativePluginManager } from './plugin'
|
2020-09-17 09:44:48 +00:00
|
|
|
import './command'
|
|
|
|
import './channel'
|
2020-12-07 03:12:49 +00:00
|
|
|
import './particle'
|
2019-09-07 04:23:15 +00:00
|
|
|
|
2020-01-31 18:46:06 +00:00
|
|
|
export default function BukkitImpl(container: Container) {
|
2020-09-17 09:44:48 +00:00
|
|
|
container.bind(server.Console).toConstantValue(BukkitConsole)
|
2020-12-07 03:12:49 +00:00
|
|
|
container.rebind(server.NativePluginManager).toConstantValue(new BukkitNativePluginManager())
|
2020-01-31 18:46:06 +00:00
|
|
|
}
|