CoopTweaks
同步进度、Discord 聊天中继等功能。查看 此处 获取最新构建版本。
简介
本项目受 CooperativeAdvancements 模组启发,我的目标是在一个整合包中提供更多功能,以增强我从 CooperativeAdvancements 中享受到的合作体验。
本模组的部分功能源自我的另一个模组 Fred。
功能
- 将 Discord 频道与 Minecraft 服务器聊天桥接,实现双方互通。
- 从服务器向 Discord 发送事件,如进度达成、加入/离开服务器、死亡等。
- 同步进度完成状态,所有玩家共享相同的进度进展。
- 提供 Discord 命令以获取服务器相关信息。
- 在聊天中链接物品。
待办
- 提供更多选项以启用/禁用模组的特定部分。
- 添加 Discord 命令以获取服务器的一般信息、TPS 等数据。
- 或许使用小型数据库库进行存储,因为这可能对其他想法有用。
配置
配置文件位于名为 cooptweaks 的文件夹中,包含以下内容:
saves/:包含玩家已达成进度(advancements)的文件夹,文件以世界种子命名。advancements.toml:进度模块的配置。discord.toml:与 Discord 相关功能的配置。
Discord 机器人需要创建斜杠命令以及 MESSAGE_CONTENT 和 GUILD_MEMBERS 意图的权限。
客户端
键位绑定
左 Shift + 左 Alt:链接玩家悬停的物品。
命令
shrug: 耸肩。flip: 掀桌子。unflip: 把桌子扶正。coords: 在聊天栏发送玩家所在维度的坐标信息。
服务器端
命令
所有命令均以 /cooptweaks 为前缀。
advancements <子命令>
progress:显示世界的进度。
link
在聊天中将玩家手持的物品链接出来。
Discord 命令
/status:显示服务器的信息,如 MOTD、运行时间、地址等。
CoopTweaks
Sync advancements, chat relay for Discord and more. Check here for the latest builds.
About
This project is inspired by the CooperativeAdvancements mod, my goal with this is to add on the coop experience I really enjoyed from CooperativeAdvancements by giving more features in just one package.
Some features in this mod come from my other mod, Fred.
Features
- Bridges a Discord channel to the Minecraft server chat, allowing for chat between the two.
- Send events like advancements, join/leave, death, from the server to Discord.
- Sync advancements completion, all players share the same advancement progress.
- Discord commands to retrieve information about the server.
- Link items in the chat.
TODO
- More options to enable/disable certain parts of the mod.
- Add Discord commands to retrieve general information about the server, TPS, etc.
- Maybe use a small database library for storage as it might be useful for other ideas.
Configuration
Configuration is located in a folder called cooptweaks, contains the following:
saves/: Folder containing the advancements reached by the players, files are named by the world seed.advancements.toml: Configuration for the advancement module.discord.toml: Configuration for Discord related features.
The Discord bot requires the permission to create slash commands and MESSAGE_CONTENT and GUILD_MEMBERS intents.
Client
Keybinds
Left Shift + Left Alt: Links the item being hovered by the player.
Commands
shrug: Shrugs.flip: Flips the table.unflip: Unflips said table.coords: Sends the player's coordinates in a dimension in chat.
Server
Commands
All commands are prefixed with /cooptweaks.
advancements <subcommand>
progress: Shows the advancement progress of the world.
link
Links the item being held by the player in the chat.
Discord Commands
/status: Shows information about the server like motd, uptime, address, etc.
下载 CoopTweaks
下载 CoopTweaks
下载 CoopTweaks
下载 CoopTweaks
下载 CoopTweaks
下载 CoopTweaks
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧