一个寻宝活动插件。在地图中隐藏随机数量的宝箱,让玩家在限定时间内寻找。提供提示功能、持久化的排行榜以及供管理员配置所有设置的内置 GUI。
工作原理
在活动开始时,会在出生点周围指定半径内的安全地表位置(无水域、无洞穴、相互间隔)随机隐藏一定数量的宝箱(数量在你的配置范围内)。
右键点击宝箱会立即将其破坏,将战利品掉落至地面,并触发一道光柱和音效。
玩家每找到一个宝箱即可获得积分。积分会在多次活动中保留,并显示在已保存的排行榜中。
使用 /th hint 命令可在冷却结束后获取最近宝藏的方向(指南针指示)和距离。
当时间耗尽或所有宝箱都被找到时,活动会自动结束,并宣布获胜者。
命令
/th star 开始活动
/th stop 提前停止活动
/th setup 打开 GUI 以在活动开始前配置持续时间、半径、宝箱数量、积分和提示冷却时间
/th hint 获取指向最近宝藏的提示
/th top 查看按积分排名的前 10 名玩家
/th reload 重新加载 config.yml
别名:/treasurehunt, /treasure
权限
treasurehunt.admin (默认: op)
treasurehunt.use (默认: everyone)
A treasure hunt event plugin. Hides random loot chests around the map for players to find within a time limit, with hints, a persistent leaderboard, and an in-game GUI for admins to configure everything.
How it works
On start, a random number of chests (within your configured range) are hidden at safe surface locations within a set radius of spawn — no water, no caves, spaced apart.
Right-clicking a chest breaks it instantly, drops the loot on the ground, and triggers a light beam + sound effect.
Players earn points per chest found. Points persist across events in a saved leaderboard.
/th hint gives the nearest treasure's direction (compass) and distance, on a cooldown.
The event ends automatically when time runs out or all chests are found, announcing a winner.
Commands
/th star Start the event
/th stop Stop the event early
/th setup Open a GUI to configure duration, radius, chest count, points, and hint cooldown before starting
/th hint Get a hint toward the nearest treasure
/th top View the top 10 players by points
/th reload Reload config.yml
Aliases: /treasurehunt, /treasure
Permissions
treasurehunt.admin (default: op)
treasurehunt.use (default: everyone)
评论 0
登录后参与评分
还没有评论,来抢沙发吧