PluginMIT
PresentsHunt
Let the players find holiday heads and get rewards for it. Christmas, Halloween, Easter, and custom mode.
38
Downloads
1
Followers
2 months ago
Updated
📦
3
Versions
📖About PresentsHunt
🎁 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.
✨ Features
- 🎄 Themed Modes: Christmas, Halloween, Easter, and custom mode
- 🏆 Achievement System: Players collect gifts to earn rewards
- 📊 Leaderboard: Player rankings with PlaceholderAPI integration
- 🎯 Administrative Tools: Easy management and cleanup of gifts (no need to remember exact locations)
- 🔊 Effects: Particles and sounds when interacting with gifts
- 📝 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 gifts need to be found to get a reward
totalPresents: 30
# Commands for each found gift 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 gift heads in the world
- Right-click the head to collect it
- Collect gifts to earn rewards
- Use
/presentshunt statsto view statistics
For Administrators
/presentshunt give - Get a gift head
/presentshunt stats - Show plugin statistics
/presentshunt reload - Reload configuration
/presentshunt locate [radius] - Find gifts within radius
/presentshunt cleanup [radius] - Remove gifts within radius
/presentshunt resetplayer <player> - Reset player data
/presentshunt resetall - Reset all player data
Placing Gifts
- Get a head with
/presentshunt givecommand - Place the head anywhere in the world
- The head is automatically marked as a collectible gift
📊 PlaceholderAPI
The plugin supports PlaceholderAPI with the following placeholders:
%presentshunt_found% - Number of found gifts
%presentshunt_total% - Total number of gifts
%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 - Use of gifts (default: true)
presentshunt.admin - Administrative commands (default: op)
📥 Installation
Installation Steps
- Download the latest version
- Place the
PresentsHunt.jarfile in theplugins/folder - Restart the server
- Configure the configuration file
plugins/PresentsHunt/config.ymland apply changes with the/presentshunt reloadcommand - Use the
/presentshunt givecommand to get a gift head