kotori-plugin-adapter-minecraft
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

@kotori-bot/kotori-plugin-adapter-minecraft

Base on mcwss package for Minecraft Bedrock Edition, support private and group scope.

Config

export const config = Tsu.Object({
  nickname: Tsu.String().default('Romi').describe('Bot\'s name'),
  template: Tsu.Union(Tsu.Null(), Tsu.String()).default('<%nickname%> %msg%').describe('The template of bot sent message ')
})

Supports

Events

  • on_message (MessageScope.PRIVATE and MessageScope.GROUP)

Api

  • sendPrivateMsg

Elements

  • text
  • mention
  • mentionAll

TODO

Todo Events

  • on_group_increase
  • on_group_decrease
  • on_group_ban

Todo Api

  • getGroupMemberInfo
  • getGroupMemberList
  • setGroupAdmin
  • setGroupBan
  • setGroupKick

Other

Adapter server LeviLamina and Java Edition.

Reference

Package Sidebar

Install

npm i kotori-plugin-adapter-minecraft

Weekly Downloads

3

Version

2.0.1

License

GPL-3.0

Unpacked Size

49.6 kB

Total Files

11

Last publish

Collaborators

  • biyuehu