? AliienCommunityQuests
使用 AliienCommunityQuests 来组织你的服务器!这款高性能、完全异步的插件添加了全局目标,玩家必须互相协作才能获得奖励。无论是挖掘方块、击杀怪物还是合成物品,你的社区都需要团队合作才能获取惊人的奖励!
该插件专为现代 Minecraft 服务器(Java 21+)从头构建,支持大规模玩家群体、实时目标追踪,并与 Folia 完美兼容,主线程零延迟。
✨ 主要特性
- 动态任务轮换: 采用自动后台逻辑,无缝追踪任务过期时间,清理旧数据,并从配置池中生成新的目标,无需任何管理员干预。
- 离线战利品仓库: 为社区目标做出贡献但在任务完成时离线的玩家不会错过奖励!他们的奖励会安全存储在可领取的菜单仓库中,供下次登录时领取。
- 可选深层矿石检测: 轻松切换选项,自动将深层矿石变体计入标准矿石目标。
- 100% 可自定义 GUI: 完全分页的菜单,原生支持自定义模型数据、扩展列表占位符、原生十六进制颜色以及实时进度追踪——所有功能均受到严格的 Shift 点击和防重复锁定保护。
- 多数据库支持: 原生支持 H2, SQLite, MySQL 和 MariaDB(仅限单服务器)。每一次读取、写入和奖励分发查询都异步执行,确保你的服务器永远不会跳过任何刻。
- 丰富的目标类型: 无缝挂钩至原版事件。为社区设定方块破坏、实体击杀、熔炼、繁殖、钓鱼、驯服等目标!
⚙️ 配置预览
AliienCommunityQuests 旨在极其易于配置,同时提供深度自定义。以下是设置轮换任务的简单示例:
quests.yml 示例片段:
quests:
weekly-miner:
settings:
duration: 7d
objectives-amount: 1
objective-format: "&8- &f%target%: %current%/%amount%"
priority: 1
menu-options:
name: "&d&lWeekly Mining Goal &r&7(%time_left%)"
lore:
- "&7Work together to mine these blocks"
- "&7before the week ends!"
- ""
- "&dStatus: %status%"
- ""
- "&dObjectives:"
- "%active_objectives%"
- ""
- "&dRewards:"
- "&8- &f$25,000 for all participants"
material: DIAMOND_PICKAXE
objectives:
1:
type: BLOCK_BREAK
target: DIAMOND_ORE
amount: 1500
rewards:
- "eco give %player% 25000"
settings.yml 示例片段:
# Display formats for the GUI
time-display: SHORT
status:
completed: "&a&lCOMPLETED"
in-progress: "&e&lIN PROGRESS"
# Should deepslate ores automatically count towards regular ore objectives?
count-deepslate-ores: true
? 快速入门
前置要求
- Java 21 或更高版本。
- Paper / Folia 1.21 或更高版本。
安装步骤
- 将
AliienCommunityQuests.jar 放入服务器的 plugins 文件夹。
- 启动服务器以生成默认配置文件。
- 在
settings.yml 中配置你的数据库凭据和显示偏好。
- 在
quests.yml 中定义你的自定义目标和奖励。
- 重启服务器或运行
/cq admin reload 以应用更改!
? 命令与权限
| 命令 |
权限 |
描述 |
/cq |
aliien.communityquests.menu |
打开主要活跃任务菜单。 |
/cq admin reload |
aliien.communityquests.admin.reload |
重新加载配置和消息,无需重启。 |
/cq admin reset <id> |
aliien.communityquests.admin.reset |
强制清除一个活跃任务并触发新任务。 |
/cq admin resetall |
aliien.communityquests.admin.resetall |
清除所有活跃任务并立即生成新任务。 |
注意:授予 aliien.communityquests.admin 权限即可访问所有管理员子命令。
? 文档与支持
关于创建自定义任务、格式化菜单和配置数据库的详细指南,请访问我们的官方 Wiki。
? 在此阅读官方 Wiki
需要帮助配置任务,或发现了 Bug?加入我们的社区!
? 加入 Aliien's Plugins Discord 服务器
🪐 AliienCommunityQuests
Get your server together with AliienCommunityQuests! This high-performance, fully asynchronous plugin adds global goals where players must collaborate with each other to earn rewards. Whether it's mining blocks, slaying mobs, or crafting items, your community will have to work as a team to get amazing rewards!
Built from the ground up for modern Minecraft servers (Java 21+), it supports massive player bases, real-time objective tracking, and flawless Folia compatibility with zero main-thread lag.
✨ Key Features
- Dynamic Quest Rotations: Made with an automated background logic to seamlessly track quest expirations, purge old data, and generate fresh objectives from your configuration pool without any admin intervention.
- Offline Loot Stash: Players who contribute to a community goal but are offline when the quest is completed won't miss out! Their rewards are safely stored in a claimable menu stash for the next time they log in.
- Optional Deepslate Ores Detection: Easily toggle an option to automatically count deepslate variations of ores toward standard ore objectives.
- 100% Customizable GUI: A fully paginated menu that natively supports custom model data, expanding list placeholders, native hex colors, and real-time progress tracking—all protected by strict shift-click and dupe-protection locks.
- Multi Databases Support: Natively supports H2, SQLite, MySQL, and MariaDB (Single-server only). Every single read, write, and reward distribution query is executed asynchronously to ensure your server never skips a tick.
- Extensive Objective Types: Hooks seamlessly into vanilla events. Set community goals for Block Breaking, Entity Killing, Smelting, Breeding, Fishing, Taming, and more!
⚙️ Configuration Previews
AliienCommunityQuests is designed to be incredibly easy to configure while offering deep customization. Here is a quick look at how simple it is to set up a rotating quest:
Example quests.yml snippet:
quests:
weekly-miner:
settings:
duration: 7d
objectives-amount: 1
objective-format: "&8- &f%target%: %current%/%amount%"
priority: 1
menu-options:
name: "&d&lWeekly Mining Goal &r&7(%time_left%)"
lore:
- "&7Work together to mine these blocks"
- "&7before the week ends!"
- ""
- "&dStatus: %status%"
- ""
- "&dObjectives:"
- "%active_objectives%"
- ""
- "&dRewards:"
- "&8- &f$25,000 for all participants"
material: DIAMOND_PICKAXE
objectives:
1:
type: BLOCK_BREAK
target: DIAMOND_ORE
amount: 1500
rewards:
- "eco give %player% 25000"
Example settings.yml snippet:
# Display formats for the GUI
time-display: SHORT
status:
completed: "&a&lCOMPLETED"
in-progress: "&e&lIN PROGRESS"
# Should deepslate ores automatically count towards regular ore objectives?
count-deepslate-ores: true
🚀 Getting Started
Prerequisites
- Java 21 or higher.
- Paper / Folia 1.21 or higher.
Installation
- Drop the
AliienCommunityQuests.jar into your server's plugins folder.
- Start the server to generate the default configuration files.
- Configure your database credentials and display preferences in
settings.yml.
- Define your custom objectives and rewards in
quests.yml.
- Restart the server or run
/cq admin reload to apply changes!
💻 Commands & Permissions
| Command |
Permission |
Description |
/cq |
aliien.communityquests.menu |
Opens the main active quests menu. |
/cq admin reload |
aliien.communityquests.admin.reload |
Reloads configurations and messages without restarting. |
/cq admin reset <id> |
aliien.communityquests.admin.reset |
Forcefully wipes an active quest and triggers a new one. |
/cq admin resetall |
aliien.communityquests.admin.resetall |
Clears all active quests and generates new ones immediately. |
Note: Granting aliien.communityquests.admin provides access to all admin subcommands.
📚 Documentation & Support
Detailed guides on creating custom quests, formatting your menus, and configuring your database can be found on our official Wiki.
👉 Read the Official Wiki Here
Need help configuring your quests, or found a bug? Join our community!
👉 Join the Aliien's Plugins Discord Server
评论 0
登录后参与评分
还没有评论,来抢沙发吧