QuestLogs
一款适用于 Minecraft Spigot 服务器的综合任务与挑战插件。
功能特性
任务系统
为玩家创建多种类型的任务:
- 探索:移动 5000 格以解锁奖励
- 挖矿:开采 50 个钻石矿石或 100 个铁矿石
- 战斗:击杀 25 只僵尸或 15 只骷髅
- 合成:合成 64 根木棍或 32 支火把
- 建筑:放置 500 块圆石
任务通过箱子 GUI 界面展示。玩家可使用 /questbook 追踪进度,并在推进任务时获得通知。
任务前置条件
设置任务链,要求玩家完成前一个任务后才能解锁下一个。例如:
新手矿工 → 学徒矿工 → 专家矿工 → 大师矿工
玩家统计
所有玩家活动均记录在本地 SQLite 数据库中:
- 总游戏时长(当前会话 + 累计)
- 探索、挖掘、破坏、放置的方块数量
- 按类型分类的合成物品
- 按类型分类的击杀生物
- 已完成的任务
- 参与并获胜的挑战
使用 /queststats 查看自己的统计数据,或使用 /queststats <player> 查看其他玩家的统计。
限时挑战
插件自动运行全服竞赛事件。默认配置包含 10 个挑战,每小时运行一次,每次持续 5 分钟:
- 石头挖掘冲刺:挖掘最多的石头
- 钻石冲刺:挖掘最多的钻石矿石
- 僵尸狩猎:击杀最多的僵尸
- 极速建造:放置最多的方块
- 还有更多 6 个挑战...
前三名玩家将获得奖励。奖励包括物品、附魔书(精准采集 III、丝绸之触、经验修补等)以及经验值。
奖励
使用 YAML 格式配置奖励:
rewards:
DIAMOND: 5
IRON_INGOT: 16
ENCHANTED_BOOK:
enchantments:
FORTUNE: 3
xp_reward: 500
支持任意物品、任意等级的任意附魔以及经验值奖励。
命令
玩家可用:
/questbook - 打开任务 GUI
/queststats [player] - 显示统计数据
/challenge - 显示当前活跃的挑战信息
管理员可用:
/questadmin reload - 重新加载配置文件
/questadmin complete <quest> <player> - 为某玩家完成任务
/challengeadmin start <challenge> - 启动特定挑战
/challengeadmin list - 列出所有可用挑战
所有命令均支持 Tab 补全。
配置
插件完全使用 YAML 文件进行配置:
config.yml - 主要设置和通知间隔
quests.yml - 所有任务定义
challenges.yml - 挑战池与调度安排
progress.yml - 玩家任务进度(自动生成)
内置 12 个以上示例任务文件,助你快速上手。
GUI 自定义
设置任务的自定义位置和图标:
gui_slot: 10 # 放置在特定的物品栏槽位
gui_icon: DIAMOND_PICKAXE # 使用自定义物品作为图标
技术信息
- Minecraft: 1.21+
- 服务器端: Spigot 或 Paper
- Java: 21+
- 数据库: SQLite(已打包,无需额外设置)
- 依赖项: 无
就是这样。插件会在首次运行时自动创建所有必要的文件,并提供可用的示例。
如需更多信息、文档和源代码,请访问 GitHub 仓库。
QuestLogs
A comprehensive quest and challenge plugin for Minecraft Spigot servers.
Features
Quest System
Create quests for your players with multiple types:
- Exploration: Travel 5000 blocks to unlock rewards
- Mining: Mine 50 diamond ore or 100 iron ore
- Combat: Kill 25 zombies or 15 skeletons
- Crafting: Craft 64 sticks or 32 torches
- Building: Place 500 cobblestone blocks
Quests are displayed in a chest GUI interface. Players track progress with /questbook and get notifications as they progress.
Quest Prerequisites
Set up quest chains where players must complete one quest before accessing the next. For example:
Novice Miner → Apprentice Miner → Expert Miner → Master Miner
Player Statistics
All player activity is tracked in a local SQLite database:
- Total playtime (current session + lifetime)
- Blocks explored, mined, broken, placed
- Items crafted by type
- Mobs killed by type
- Quests completed
- Challenges won and participated in
View stats with /queststats or check other players with /queststats <player>.
Timed Challenges
The plugin runs server-wide competitive events automatically. Default setup includes 10 challenges that run every hour for 5 minutes each:
- Stone Mining Sprint: Mine the most stone
- Diamond Dash: Mine the most diamond ore
- Zombie Hunt: Kill the most zombies
- Speed Builder: Place the most blocks
- And 6 more...
Top 3 players get rewards. Rewards include items, enchanted books (Fortune III, Silk Touch, Mending, etc.), and experience points.
Rewards
Configure rewards in YAML format:
rewards:
DIAMOND: 5
IRON_INGOT: 16
ENCHANTED_BOOK:
enchantments:
FORTUNE: 3
xp_reward: 500
Supports any item, any enchantment at any level, and XP rewards.
Commands
For Players:
/questbook - Opens the quest GUI
/queststats [player] - Shows statistics
/challenge - Shows active challenge info
For Admins:
/questadmin reload - Reloads config files
/questadmin complete <quest> <player> - Completes a quest for a player
/challengeadmin start <challenge> - Starts a specific challenge
/challengeadmin list - Lists all available challenges
All commands have tab completion.
Configuration
The plugin uses YAML files for everything:
config.yml - Main settings and notification intervals
quests.yml - All quest definitions
challenges.yml - Challenge pool and scheduling
progress.yml - Player quest progress (auto-generated)
Includes 12+ example quest files to help you get started.
GUI Customization
Set custom positions and icons for quests:
gui_slot: 10 # Place in specific inventory slot
gui_icon: DIAMOND_PICKAXE # Use custom item as icon
Technical Info
- Minecraft: 1.21+
- Server: Spigot or Paper
- Java: 21+
- Database: SQLite (bundled, no setup required)
- Dependencies: None
That's it. The plugin creates all necessary files on first run with working examples.
For more information, documentation, and source code, check out the GitHub repository.
评论 0
登录后参与评分
还没有评论,来抢沙发吧