AstralBot (AstralBot)
AstralBot是一个Minecraft模组和Discord机器人的组合。最初是为了Create: Astral模组包而制作的,旨在提供易于使用的功能,并且可由非技术性的服务器管理员使用,同时也为高级用户提供真正的复杂性。
特点
AstralBot的核心功能包括:
- Discord和Minecraft账户链接,可以选择要求进行白名单验证
- Discord和Minecraft聊天同步
- 使用Markdown文件的FAQ命令,无需重新启动服务器即可更新
依赖关系
该模组有一些依赖关系,其中一些未直接指定,因为它们从技术上讲是可选的:
- 您正在运行的平台的Kotlin实现。(例如,[Kotlin For Forge](
- Forge配置API(包含在Forge中,[Fabric的额外模组](
- SQLite数据库驱动程序。(这在[Ledger](
实现
- [JDA](
- Kotlin用于相对于Java的改进开发体验
- Architectury用于多平台开发
- [JetBrains Exposed](
配置
以下内容将是可配置的:
- 必要的链接进行白名单验证(默认:关闭)
- 与模拟Discord用户的聊天同步:
1. 不模拟用户(机器人将以自己的名义写入消息)
2. (如果可能)模拟Minecraft用户(将使用Minecraft用户名和头像来发送消息)
3. (仅在需要链接进行白名单验证时可用)模拟Discord用户(消息将以链接的Discord名称发布)
默认:不模拟用户
- 通过命令界面管理FAQ(默认:关闭)
- 数据库连接。默认使用SQLite数据库
状态
- [x] 白名单验证
- [ ] FAQ命令
- [x] 读取Markdown文件
- [x] 更新建议而无需重新启动
- [ ] 通过命令进行管理/创建
- [ ] 聊天同步
- [x] 从Minecraft到Discord
- [x] 从Discord到Minecraft
- [ ] 在Discord上模拟用户
运行
此Bot/模组没有公共实例可用。要使用它,请在[Discord开发者门户网站](
复制机器人令牌并将其存储在安全位置(例如密码管理器)中,不要向其他人显示。为确保机器人读取令牌,它必须位于[环境变量](
`startmc.sh`: java ... # 启动服务器的Java命令 或 shell 启动服务器后,您可以在Discord开发者门户网站上的OAuth2 URL生成器中生成一个URL,其中包含`bot`和`applications.command`权限。使用生成的URL让机器人加入您的服务器。
shell
export DISCORD_TOKEN=
DISCORD_TOKEN=截图:
版本&下载
AstralBot 1.5.5 Fabric 1.18.2
AstralBot 1.5.5 Fabric 1.20.1
AstralBot 1.5.5 Forge 1.20.1
AstralBot 1.5.5 Forge 1.19.2
AstralBot 1.5.5 Fabric 1.19.2
AstralBot 1.5.5 NeoForge 1.21.1
AstralBot 1.5.5 Fabric 1.21.1
AstralBot 1.5.4 Fabric 1.18.2
AstralBot 1.5.4 Forge 1.18.2
AstralBot 1.5.4 Fabric 1.20.1
AstralBot 1.5.4 Forge 1.20.1
AstralBot 1.5.4 Forge 1.19.2
AstralBot 1.5.4 Fabric 1.19.2
AstralBot 1.5.3 NeoForge 1.21.1
- Update Dependencies
- Show better error message if FAQ is too long
- Limit the autocomplete suggestion return value length to fix no options showing up
- Added the `/listfaq` command
- Fixed the config wrongly storing guild and role id
- Fixed the config getting synced to the client (You may need to move the config from `world/serverconfig` to `config`)
- Headpat command now outputs a GIF thanks to @femmeromanticAstralBot 1.5.3 Fabric 1.21.1
- Update Dependencies
- Show better error message if FAQ is too long
- Limit the autocomplete suggestion return value length to fix no options showing up
- Added the `/listfaq` command
- Fixed the config wrongly storing guild and role id
- Fixed the config getting synced to the client (You may need to move the config from `world/serverconfig` to `config`)
- Headpat command now outputs a GIF thanks to @femmeromanticAstralBot 1.5.2 Fabric 1.21
AstralBot 1.5.2 NeoForge 1.21
AstralBot 1.5.2 Forge 1.18.2
AstralBot 1.5.2 Forge 1.19.2
AstralBot 1.5.2 Fabric 1.18.2
AstralBot 1.5.2 Fabric 1.19.2
AstralBot 1.5.2 Fabric 1.20.1
AstralBot 1.5.2 Forge 1.20.1
AstralBot 1.5.2 Fabric 1.20.4
AstralBot 1.5.2 NeoForge 1.20.4
AstralBot 1.5.1 Forge 1.19.2
AstralBot 1.5.1 Forge 1.20.1
AstralBot 1.5.1 Fabric 1.19.2
AstralBot 1.5.1 Fabric 1.20.1
AstralBot 1.5.1 Forge 1.18.2
AstralBot 1.5.1 Fabric 1.18.2
AstralBot 1.5.0 Fabric 1.20.4
**IMPORTANT INFO**: If you don't want to manually set the webhook URL, the
bot needs to have the MANAGE_WEBHOOKS permissionAstralBot 1.5.0 NeoForge 1.20.4
**IMPORTANT INFO**: If you don't want to manually set the webhook URL, the
bot needs to have the MANAGE_WEBHOOKS permissionAstralBot 1.4.0 Forge 1.18.2
- Removed Forge as a supported Platform for Minecraft > 1.20.1
- JiJ SQLite and Commonmark dependencies, allowing better compatibility and removing the SQLite JDBC dependency
- Handle messages sent by commands too (i.e. `say hello`)AstralBot 1.4.0 Fabric 1.18.2
- Removed Forge as a supported Platform for Minecraft > 1.20.1
- JiJ SQLite and Commonmark dependencies, allowing better compatibility and removing the SQLite JDBC dependency
- Handle messages sent by commands too (i.e. `say hello`)AstralBot 1.4.0 Forge 1.19.2
- Removed Forge as a supported Platform for Minecraft > 1.20.1
- JiJ SQLite and Commonmark dependencies, allowing better compatibility and removing the SQLite JDBC dependency
- Handle messages sent by commands too (i.e. `say hello`)AstralBot 1.4.0 Fabric 1.19.2
- Removed Forge as a supported Platform for Minecraft > 1.20.1
- JiJ SQLite and Commonmark dependencies, allowing better compatibility and removing the SQLite JDBC dependency
- Handle messages sent by commands too (i.e. `say hello`)
- Removed Forge as a supported Platform for Minecraft > 1.20.1
- JiJ SQLite and Commonmark dependencies, allowing better compatibility and removing the SQLite JDBC dependency
- Handle messages sent by commands too (i.e. `say hello`)
- Removed Forge as a supported Platform for Minecraft > 1.20.1
- JiJ SQLite and Commonmark dependencies, allowing better compatibility and removing the SQLite JDBC dependency
- Handle messages sent by commands too (i.e. `say hello`)AstralBot 1.4.0 Forge 1.20.1
- Removed Forge as a supported Platform for Minecraft > 1.20.1
- JiJ SQLite and Commonmark dependencies, allowing better compatibility and removing the SQLite JDBC dependency
- Handle messages sent by commands too (i.e. `say hello`)AstralBot 1.4.0 NeoForge 1.20.4
- Removed Forge as a supported Platform for Minecraft > 1.20.1
- JiJ SQLite and Commonmark dependencies, allowing better compatibility and removing the SQLite JDBC dependency
- Handle messages sent by commands too (i.e. `say hello`)AstralBot 1.3.0 Fabric
- Fix `/link` Minecraft command not being registered on Forge
- Implement Markdown parsing for Discord to Minecraft message sync
- Implement automatically converting URLs to clickable links in Minecraft chat
- Replace blocked URLs before sending Minecraft chat to Discord
AstralBot 1.3.0 Forge
- Fix `/link` Minecraft command not being registered on Forge
- Implement Markdown parsing for Discord to Minecraft message sync
- Implement automatically converting URLs to clickable links in Minecraft chat
- Replace blocked URLs before sending Minecraft chat to Discord
AstralBot 1.3.0 Fabric
- Fix `/link` Minecraft command not being registered on Forge
- Implement Markdown parsing for Discord to Minecraft message sync
- Implement automatically converting URLs to clickable links in Minecraft chat
- Replace blocked URLs before sending Minecraft chat to Discord
AstralBot 1.3.0 Forge
- Fix `/link` Minecraft command not being registered on Forge
- Implement Markdown parsing for Discord to Minecraft message sync
- Implement automatically converting URLs to clickable links in Minecraft chat
- Replace blocked URLs before sending Minecraft chat to Discord
AstralBot 1.3.0 Fabric
- Fix `/link` Minecraft command not being registered on Forge
- Implement Markdown parsing for Discord to Minecraft message sync
- Implement automatically converting URLs to clickable links in Minecraft chat
- Replace blocked URLs before sending Minecraft chat to Discord
AstralBot 1.3.0 Forge
- Fix `/link` Minecraft command not being registered on Forge
- Implement Markdown parsing for Discord to Minecraft message sync
- Implement automatically converting URLs to clickable links in Minecraft chat
- Replace blocked URLs before sending Minecraft chat to Discord
AstralBot 1.2.1 Fabric
AstralBot 1.2.1 Fabric
AstralBot 1.2.1 Forge
AstralBot 1.2.1 Forge
AstralBot 1.2.1 Fabric
AstralBot 1.2.1 Forge
AstralBot 1.2.0 Fabric
- Customizable text for basically anything
- `/headpat` command
- More graceful shutdown
- `/link` as a Minecraft command for people who want to be linked but are already whitelisted by another way
- Exception handling for commands server side, resulting in less commands that don't get a response
AstralBot 1.2.0 Forge
- Customizable text for basically anything
- `/headpat` command
- More graceful shutdown
- `/link` as a Minecraft command for people who want to be linked but are already whitelisted by another way
- Exception handling for commands server side, resulting in less commands that don't get a response
AstralBot 1.2.0 Fabric
- Customizable text for basically anything
- `/headpat` command
- More graceful shutdown
- `/link` as a Minecraft command for people who want to be linked but are already whitelisted by another way
- Exception handling for commands server side, resulting in less commands that don't get a response
AstralBot 1.2.0 Forge
- Customizable text for basically anything
- `/headpat` command
- More graceful shutdown
- `/link` as a Minecraft command for people who want to be linked but are already whitelisted by another way
- Exception handling for commands server side, resulting in less commands that don't get a response
AstralBot 1.2.0 Fabric
- Customizable text for basically anything
- `/headpat` command
- More graceful shutdown
- `/link` as a Minecraft command for people who want to be linked but are already whitelisted by another way
- Exception handling for commands server side, resulting in less commands that don't get a response
AstralBot 1.2.0 Forge
- Customizable text for basically anything
- `/headpat` command
- More graceful shutdown
- `/link` as a Minecraft command for people who want to be linked but are already whitelisted by another way
- Exception handling for commands server side, resulting in less commands that don't get a response
- `/tps`
- `/usage`
- `/stop`
- `/uptime`
- Stop Minecraft usernames being formatted as Markdown on Discord
- Rework enabled commands config
- `/tps`
- `/usage`
- `/stop`
- `/uptime`
- Stop Minecraft usernames being formatted as Markdown on Discord
- Rework enabled commands config
- `/tps`
- `/usage`
- `/stop`
- `/uptime`
- Stop Minecraft usernames being formatted as Markdown on Discord
- Rework enabled commands config
- `/tps`
- `/usage`
- `/stop`
- `/uptime`
- Stop Minecraft usernames being formatted as Markdown on Discord
- Rework enabled commands config
- `/tps`
- `/usage`
- `/stop`
- `/uptime`
- Stop Minecraft usernames being formatted as Markdown on Discord
- Rework enabled commands config
- `/tps`
- `/usage`
- `/stop`
- `/uptime`
- Stop Minecraft usernames being formatted as Markdown on Discord
- Rework enabled commands config
- Fix empty whitelist Database handling
- Fix empty whitelist Database handling
- Fix empty whitelist Database handling
- Fix empty whitelist Database handling
- Async bot startup
- Make /reload command remove no longer registered commands
- Update dependencies
- Make SQLite driver an external dependency, allowing compatibility with [Ledger](https://modrinth.com/mod/ledger)
- Async bot startup
- Make /reload command remove no longer registered commands
- Update dependencies
- Make SQLite driver an external dependency, allowing compatibility with [Ledger](https://modrinth.com/mod/ledger)
- Async bot startup
- Make /reload command remove no longer registered commands
- Update dependencies
- Make SQLite driver an external dependency, allowing compatibility with [Ledger](https://modrinth.com/mod/ledger)
- Async bot startup
- Make /reload command remove no longer registered commands
- Update dependencies
- Make SQLite driver an external dependency, allowing compatibility with [Ledger](https://modrinth.com/mod/ledger)
收录






