kotori-plugin-adapter-minecraft
Version:
Adapter For Minecraft Bedrock Edition
54 lines (34 loc) • 993 B
Markdown
Base on `mcwss` package for Minecraft Bedrock Edition, support `private` and `group` scope.
```typescript
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 ')
})
```
- on_message (`MessageScope.PRIVATE` and `MessageScope.GROUP`)
- sendPrivateMsg
- text
- mention
- mentionAll
- on_group_increase
- on_group_decrease
- on_group_ban
- getGroupMemberInfo
- getGroupMemberList
- setGroupAdmin
- setGroupBan
- setGroupKick
Adapter server [LeviLamina](https://github.com/LiteLDev/LeviLamina/) and Java Edition.
- [Kotori Docs](https://kotori.js.org/)
- [McWss](https://github.com/biyuehu/mcwss)