? DiscordLink - Velocity 和 Paper 的无缝 Discord 集成
DiscordLink 是一款轻量级、现代的插件,为您的 Velocity Minecraft 服务器与 Discord 社区之间提供无缝、实时的集成。
通过 DiscordLink,玩家可以使用 OAuth2 安全地将他们的 Minecraft 账号与 Discord 关联——无需手动输入代码。
✨ 主要功能
-
? 通过 OAuth2 进行账号绑定 玩家可以通过简单的 Discord 授权流程轻松且安全地绑定账号——无需输入代码。
-
⚙️ 高度可配置 轻松调整设置并自定义集成方式,以适应您服务器的需求。
-
? 性能优化 专为 Velocity 设计,以确保最低的资源占用和快速的响应时间。
-
? PlaceholderAPI 支持(仅限 Paper) 您可以自由使用 PlaceholderAPI 中的占位符。DiscordLink 本身提供了用于 Discord 账号名称和 ID 的占位符。
-
? 基于事件的命令 当有人绑定/解绑账号时,您可以定义自己的命令。您也可以使用占位符。
? 依赖要求
- Velocity 或 Paper 服务器
- 服务器上安装了 LuckPerms 插件
- Java 17 或更高版本
- MySQL 或 MariaDB 数据库
- Web 服务器所需端口已开放
- 具有所需权限的 Discord Bot Token
- 已注册的 OAuth2 Discord 应用
? 开源 & 可扩展
DiscordLink 在 MIT 许可证 下开源,并附带专用的 专利许可附录。 我们鼓励您贡献代码、构建自己的版本,或替换捆绑的库以满足您的需求。
? 第三方库
本插件使用了多个第三方库,例如 JDA、Gson、Kotlin 标准库等。完整列表及许可证信息可在随插件提供的 THIRD-PARTY.txt 文件和 licenses/ 文件夹中查看。
? 参与项目
发现问题?有功能建议? 欢迎在项目 GitHub 页面上提交 Issue 或 Pull Request。
? 未来计划
- 聊天同步
- 昵称同步
许可证
本项目受 MIT 许可证 保护。
此外,版权持有人授予单独的 专利许可附录。
有关详细信息,请参阅 LICENSE 和 PATENT-ADDENDUM.txt 文件。
从源码构建
本项目使用 Maven 作为其构建系统。
依赖要求
- Java 17 或更高版本
- Maven 3.6+
构建方法
要构建插件 JAR 包,请运行:
mvn clean package
自定义依赖项
由于使用了 LGPL 授权的库(例如 trove4j),您被允许并鼓励根据需要修改依赖项版本或替换库。
操作方法如下:
- 编辑
pom.xml文件以更改版本或排除/包含依赖项。 - 使用上述 Maven 命令重新构建项目。
这确保了符合 LGPL 许可证条款,允许您替换或更新第三方库并构建您自己的插件版本。
第三方依赖项
本项目捆绑或依赖于多个第三方库,每个库都有其各自的许可证。详情请参阅 THIRD-PARTY.txt 和 licenses/ 文件夹。
专利许可附录(摘要)
除了 MIT 许可证外,版权持有人授予永久的、全球性的、非独占的、免版税的专利许可,允许使用、修改和分发本软件,前提是所提供的软件不可避免地侵犯了版权持有人拥有的专利权。
如需完整的法律文本,请参阅 PATENT-ADDENDUM.txt。
联系方式
如有问题、反馈或贡献意向,请提交 Issue 或联系 [您的邮箱或联系方式]。
? DiscordLink - Seamless Discord Integration for Velocity and Paper
DiscordLink is a lightweight, modern plugin that provides seamless, real-time integration between your Velocity Minecraft server and your Discord community.
With DiscordLink, players can securely link their Minecraft accounts with Discord using OAuth2 — no need to manually enter codes.
✨ Key Features
-
? Account Linking via OAuth2 Players can easily and securely link their accounts through a simple Discord authorization flow — no code entry required.
-
⚙️ Highly Configurable Easily adjust settings and customize the integration to fit your server's needs.
-
? Optimized for Performance Designed specifically for Velocity to ensure minimal resource usage and fast response times.
-
? PlaceholderAPI Support (only on Paper) Feel free to use placeholders from PlaceholderAPI. DiscordLink itself provides placeholders for Discord account name and id.
-
? Event based commands You can define your own commands when someone links / unlinks their account. You can also use placeholders.
? Requirements
- Velocity or Paper Server
- LuckPerms plugin on your server
- Java 17 or newer
- MySQL or MariaDB database
- Open port for web server
- A Discord bot token with the required permissions
- A registered OAuth2 Discord application
? Open Source & Extensible
DiscordLink is open source under the MIT License with a dedicated Patent License Addendum. You are encouraged to contribute, build your own versions, or replace bundled libraries to suit your needs.
? Third-Party Libraries
This plugin uses several third-party libraries such as JDA, Gson, Kotlin Standard Library, and more. Full list and licenses can be found in the THIRD-PARTY.txt and licenses/ folder included with the plugin.
? Get Involved
Found an issue? Have a feature request? Feel free to open an issue or submit a pull request on the project’s GitHub page.
? Future plans
- Chat synchronization
- Nickname synchronization
License
This project is licensed under the MIT License.
Additionally, the copyright holder grants a separate patent license addendum.
See the files LICENSE and PATENT-ADDENDUM.txt for full details.
Building from Source
This project uses Maven as its build system.
Requirements
- Java 17 or newer
- Maven 3.6+
How to Build
To build the plugin JAR, run:
mvn clean package
Customizing Dependencies
Due to the use of LGPL-licensed libraries (e.g., trove4j), you are allowed and encouraged to modify dependency versions or replace libraries as needed.
To do so:
- Edit the
pom.xmlfile to change versions or exclude/include dependencies. - Rebuild the project using the above Maven command.
This ensures compliance with the LGPL license terms, allowing you to replace or update third-party libraries and build your own version of this plugin.
Third-Party Dependencies
This project bundles or depends on several third-party libraries, each with their own licenses. See THIRD-PARTY.txt and the licenses/ folder for details.
Patent License Addendum (Summary)
In addition to the MIT License, the copyright holder grants a perpetual, worldwide, non-exclusive, royalty-free patent license to use, modify, and distribute this software, to the extent patents owned by the copyright holder are necessarily infringed by the software as provided.
For full legal text, see PATENT-ADDENDUM.txt.
Contact
For questions, issues, or contributions, please open an issue or contact [your email or contact info].
下载 DiscordLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DiscordLink
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- Discord 斜杠命令(unlink、admin)
- JDA 获取器
- 修复了 Tab 补全功能
- Link / Unlink 权限
- Admin 命令权限已分离
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧