ms/packages/bukkit/src/index.ts

20 lines
575 B
TypeScript
Raw Normal View History

/// <reference types="@javatypes/spigot-api" />
import { server } from '@ccms/api'
import { Container } from '@ccms/container'
2020-09-17 09:44:48 +00:00
import { BukkitConsole } from './console'
import './chat'
import './task'
import './event'
import './server'
import { BukkitNativePluginManager } from './plugin'
2020-09-17 09:44:48 +00:00
import './command'
import './channel'
import './particle'
export default function BukkitImpl(container: Container) {
2020-09-17 09:44:48 +00:00
container.bind(server.Console).toConstantValue(BukkitConsole)
container.rebind(server.NativePluginManager).toConstantValue(new BukkitNativePluginManager())
}