? PresentsHunt - 礼物狩猎
一款添加了激动人心的主题模式礼物狩猎的插件。玩家在世界中搜寻隐藏的礼物头颅,收集它们即可获得奖励。
? 版本兼容性
| 插件版本 |
支持的 Paper |
Java |
1.3.0+ |
1.20.1 – 26.3 |
25 |
1.2.1 |
1.20.1 – 1.21.11 |
21 |
✨ 功能特性
- ? 主题模式:圣诞节、万圣节、复活节以及自定义模式
- ? 成就系统:玩家收集活动物品以获取奖励
- ? 排行榜:支持 PlaceholderAPI 集成的玩家排名
- ? 管理工具:轻松管理和清理活动物品(无需记住确切位置)
- ? 特效:与活动物品交互时产生粒子效果和音效
- ? 可配置消息:支持 MiniMessage 格式
- ? API 集成:支持 PlaceholderAPI 以与其他插件集成
✨ 依赖项
可选 - PlaceholderAPI
⚙️ 配置
主要设置位于 config.yml 中:
# 模式选择 (HALLOWEEN, CHRISTMAS, EASTER, CUSTOM)
presentsMode: CHRISTMAS
# 需要找到多少个活动物品才能获得奖励
totalPresents: 30
# 每次找到活动物品时的命令,以及当玩家找齐所有物品时的命令
# 在这些命令中,您可以使用变量 %player%、%found% 和 %total%。
commands:
foundCommands: [ ]
rewardCommands:
- "give %player% diamond 10"
leaderboard:
maxPlayersCount: 100 # 排行榜中将存储多少名玩家以显示其在顶部的排名
# 与头颅交互时的音乐
sounds:
found: "block.pumpkin.carve"
alreadyFound: "entity.zombie.ambient"
complete: "entity.firework_rocket.blast"
# 与头颅交互时的特效
particles:
found: "SWEEP_ATTACK"
alreadyFound: "SQUID_INK"
头颅纹理
每种模式都有预配置的纹理:
- CHRISTMAS:新年礼物
- HALLOWEEN:万圣节南瓜
- EASTER:复活节彩蛋
- CUSTOM:自定义头颅(配置您自己的纹理)
? 使用方法
对于玩家
- 在世界中找到隐藏的活动物品头颅
- 右键点击活动物品以收集它
- 收集活动物品以赚取奖励
- 使用
/presentshunt stats 查看统计数据
对于管理员
/presentshunt give - 获取一个头颅(活动物品)
/presentshunt stats - 显示插件统计信息
/presentshunt reload - 重新加载配置
/presentshunt locate [radius] - 在半径内查找活动物品
/presentshunt cleanup [radius] - 移除半径内的活动物品
/presentshunt resetplayer <player> - 重置玩家数据
/presentshunt resetall - 重置所有玩家数据
/presentshunt setmode [mode] - 设置新的活动模式
/presentshunt replace [mode] [radius] - 在半径内将所有选定活动的物品替换为当前的
放置礼物
- 使用
/presentshunt give 命令获取头颅
- 将头颅放置在世界的任何位置
- 头颅会自动标记为可收集的活动物品
? PlaceholderAPI
该插件支持 PlaceholderAPI,包含以下占位符:
%presentshunt_found% - 已找到的活动物品数量
%presentshunt_total% - 活动物品总数
%presentshunt_mode% - 当前狩猎模式
%presentshunt_completed% - 完成狩猎的玩家数量
%presentshunt_players% - 有数据的玩家数量
%presentshunt_position% - 排名位置
%presentshunt_status% - 完成状态(已完成/进行中/未开始)
%presentshunt_top_1_status% - 第 1 名玩家的状态
%presentshunt_top_2_status% - 第 2 名玩家的状态
... 以此类推直到第 10 名
? 权限
presentshunt.use - 收集活动物品(默认:true)
presentshunt.admin - 管理命令(默认:op)
? 安装
安装步骤
- 下载最新版本
- 将
PresentsHunt.jar 文件放入 plugins/ 文件夹
- 重启服务器
- 配置配置文件
plugins/PresentsHunt/config.yml 并使用 /presentshunt reload 命令应用更改
- 使用
/presentshunt give 命令获取活动头颅
? PresentsHunt - Gift Hunt
A plugin that adds an exciting gift hunt with different themed modes. Players search for hidden gift heads throughout the world and receive rewards for collecting them.
? Version Compatibility
| Plugin version |
Supported Paper |
Java |
1.3.0+ |
1.20.1 – 26.3 |
25 |
1.2.1 |
1.20.1 – 1.21.11 |
21 |
✨ Features
- ? Themed Modes: Christmas, Halloween, Easter, and custom mode
- ? Achievement System: Players collect event items to earn rewards
- ? Leaderboard: Player rankings with PlaceholderAPI integration
- ? Administrative Tools: Easy management and cleanup of event items (no need to remember exact locations)
- ? Effects: Particles and sounds when interacting with event items
- ? Configurable Messages: Support for MiniMessage format
- ? API Integration: PlaceholderAPI support for integration with other plugins
✨ Dependencies
Optional - PlaceholderAPI
⚙️ Configuration
Main settings in config.yml:
# Mode Selection (HALLOWEEN, CHRISTMAS, EASTER, CUSTOM)
presentsMode: CHRISTMAS
# How many event items need to be found to get a reward
totalPresents: 30
# Commands for each found event item and when a player finds all
# In these commands, you can use the variables %player%, %found%, and %total%.
commands:
foundCommands: [ ]
rewardCommands:
- "give %player% diamond 10"
leaderboard:
maxPlayersCount: 100 # How many players will be stored in the leaderboard to display the position in the top
# Music when interacting with the head
sounds:
found: "block.pumpkin.carve"
alreadyFound: "entity.zombie.ambient"
complete: "entity.firework_rocket.blast"
# Effects when interacting with the head
particles:
found: "SWEEP_ATTACK"
alreadyFound: "SQUID_INK"
Head Textures
Pre-configured textures available for each mode:
- CHRISTMAS: New Year gift
- HALLOWEEN: Halloween pumpkin
- EASTER: Easter egg
- CUSTOM: Custom head (configure your own texture)
? Usage
For Players
- Find hidden event item heads in the world
- Right-click the event item to collect it
- Collect event items to earn rewards
- Use
/presentshunt stats to view statistics
For Administrators
/presentshunt give - Get a head (event item)
/presentshunt stats - Show plugin statistics
/presentshunt reload - Reload configuration
/presentshunt locate [radius] - Find event items within radius
/presentshunt cleanup [radius] - Remove event items within radius
/presentshunt resetplayer <player> - Reset player data
/presentshunt resetall - Reset all player data
/presentshunt setmode [mode] - Set a new event mode
/presentshunt replace [mode] [radius] - Replace all items of the selected event with the current one in the radius
Placing Gifts
- Get a head with
/presentshunt give command
- Place the head anywhere in the world
- The head is automatically marked as a collectible event item
? PlaceholderAPI
The plugin supports PlaceholderAPI with the following placeholders:
%presentshunt_found% - Number of found event items
%presentshunt_total% - Total number of event items
%presentshunt_mode% - Current hunt mode
%presentshunt_completed% - Number of players who completed the hunt
%presentshunt_players% - Number of players with data
%presentshunt_position% - Ranking position
%presentshunt_status% - Completion status (Completed/In Progress/Not Started)
%presentshunt_top_1_status% - Status of player in 1st place
%presentshunt_top_2_status% - Status of player in 2nd place
... and so on up to 10th place
? Permissions
presentshunt.use - Collecting Event Items (default: true)
presentshunt.admin - Administrative commands (default: op)
? Installation
Installation Steps
- Download the latest version
- Place the
PresentsHunt.jar file in the plugins/ folder
- Restart the server
- Configure the configuration file
plugins/PresentsHunt/config.yml and apply changes with the /presentshunt reload command
- Use the
/presentshunt give command to get a event head
评论 0
登录后参与评分
还没有评论,来抢沙发吧