Ready to give your players a reason to explore the world?
https://www.youtube.com/watch?v=ZcyF2M9QjXk
settings:
positive-sound: "ENTITY_PLAYER_LEVELUP"
negative-sound: "BLOCK_ANVIL_BREAK"
allow-pvp-near-treasure: false
allow-flight-near-treasure: false
allow-god-near-treasure: false
allow-elytra-near-treasure: false
disable-griefing-protection: false
protection-radius: 50 #The radius in which the griefing protection works. ATTENTION! You should NOT set this to 0!
min-players-online: 15 #Minimum players to have a chance to spawn a treasure
protect-mobs-from-sun: true #Should zombies not set on fire from the sun?
potion-effect-radius: 20 #How close you need to be to the treasure in order to be affected by the potion effects
broadcast-to-all-worlds: false #Send the actionbar message to all the worlds. If multiple treasures are started only one treasure will appear in the actionbar.
winner-cooldown: 5 #How long in minutes, a treasure winner has to wait before claiming another treasure
max-players-looting: 3 #How many players can access the inventory at once
click-cooldown: 1 #How much time to take another item in ms
obfuscate-rewards: false
obfuscated-reward-item:
item: DIRT
name: "???"
lore:
- "What is this?"
fall-protection:
duration: 1200
level: 2
actionbar:
enabled: true
refresh: 2 #Refresh rate in ticks
blacklisted-commands:
- "heal"
blacklisted-biomes:
- "COLD_OCEAN"
- "DEEP_OCEAN"
- "DEEP_DARK"
- "DEEP_FROZEN_OCEAN"
- "DEEP_LUKEWARM_OCEAN"
- "FROZEN_OCEAN"
- "FROZEN_RIVER"
- "ICE_SPIKES"
- "LUKEWARM_OCEAN"
- "OCEAN"
- "RIVER"
effects-particles: #You should change these only if they cause compatibility issues.
dust: DUST
wax_off: WAX_OFF
soul: SOUL
soul-fire-flame: SOUL_FIRE_FLAME
warped-spore: WARPED_SPORE
crit: CRIT
lava: LAVA
flame: FLAME
treasure-spawn-particle: EXPLOSION
treasure-fall-particle: CAMPFIRE_SIGNAL_SMOKE
treasure-remove-particle: EXPLOSION_EMITTER
updater: true
bstats: true
messages:
no-permission: "&6&lTreasure&e&lHunt &fYou don't have permission to use this command."
wrong-command: "&6&lTreasure&e&lHunt &fWrong command! Run &6/hunt help &ffor more info."
inexistent-world: "&6&lTreasure&e&lHunt &fHunts are not enabled in this world"
inexistent-treasure: "&6&lTreasure&e&lHunt &fNo treasure found with this identifier"
hunt-already-active: "&6&lTreasure&e&lHunt &fThere is already a hunt active in this world"
hunt-not-active: "&6&lTreasure&e&lHunt &fThere is no hunt active at the moment"
generating-treasure: "&6&lTreasure&e&lHunt &fis being generated.."
treasure-generated: "&6&lTreasure&e&lHunt &fgenerated successfuly!"
treasure-generated-confirmation: "&6&lTreasure&e&lHunt &fwas generated @ {world}, X: {x}, Z: {z}"
treasure-stopped-confirmation: "&6&lTreasure&e&lHunt &fwas stopped @ {world}, X: {x}, Z: {z}"
hunt-stopped: "&6&lTreasure&e&lHunt &fYou stopped the treasure hunt"
cannot-place-near-treasure: "&6&lTreasure&e&lHunt &fCan't place blocks near a treasure!"
cannot-break-near-treasure: "&6&lTreasure&e&lHunt &fCan't break blocks near a treasure!"
cannot-attack-near-treasure: "&6&lTreasure&e&lHunt &fCan't attack players near a treasure!"
no-hunt-in-this-world: "&6&lTreasure&e&lHunt &fThere are no hunts in this world"
full-inventory: "&6&lTreasure&e&lHunt &fYou have a full inventory, so you've dropped {amount} {item}"
full-inventory-opening-treasure: "&6&lTreasure&e&lHunt &fYou have a full inventory! Drop some items and then open the chest!"
actionbar: "&8(&2❖&8) &fTreasure despawning in &7{time} &8| &7X: &f{x} &7Z: &f{z}"
actionbar-all-mobs-dead: "&8(&2❖&8) &fAll the Treasure Keepers are dead! Go and open the treasure!"
actionbar-mobs-remaining: "&8(&2❖&8) &fThere are still {remaining_mobs} Treasure Keepers alive!"
actionbar-mobs-tracker: "&8(&2❖&8) &fA Treasure Keeper is located at &7X: &f{x}, &7Y: &f{z} &7Z: &f{z}"
treasure-icon-text: "&8(&2❖&8) &aTreasure &7 | Click"
winner-console: "&6&lTreasure&e&lHunt &f{player} has claimed the treasure @ X: {x}, Z: {z}"
winner-message: "&6&lTreasure&e&lHunt &fSweet! The treasure is all yours"
winner-cooldown: "&6&lTreasure&e&lHunt &fYou need to wait {time} before claiming another treasure"
config-reload: "&6&lTreasure&e&lHunt &fConfig reloaded!"
no-creative: "&6&lTreasure&e&lHunt &fYou can't break Treasures in Creative mode"
participating: "&6&lTreasure&e&lHunt &fYou are now participating in this TreasureHunt!"
participating-cleared-mobs: "&6&lTreasure&e&lHunt &fYou killed all the Treasure Keepers! The reward is all yours!"
player-not-found: "&6&lTreasure&e&lHunt &fThis player is not online!"
world-not-found: "&6&lTreasure&e&lHunt &fThis world doesn't exist!"
cooldown-reset: "&6&lTreasure&e&lHunt &fYou successfully reset the player's cooldown!"
remaining-clicks: "&6&lTreasure&e&lHunt &fKeep on clicking! ({current_clicks}/{needed_clicks})"
starting-clicks: "&6&lTreasure&e&lHunt &fHmm, it seems locked! Try opening again! ({needed_clicks} clicks remaining)"
clicking-too-fast: "&6&lTreasure&e&lHunt &fYou're clicking too fast, chill out!"
no-key: "&6&lTreasure&e&lHunt &fThis treasure requires a key!"
interact-with-key: "&6&lTreasure&e&lHunt &fYou can only use this key on a Treasure Chest!"
minutes-before-pickup-not-passed: "&6&lTreasure&e&lHunt &fThe treasure cannot be opened yet! You need to wait {time} to open the treasure!"
not-number: "&6&lTreasure&e&lHunt &fYou need to enter a number!"
received-key: "&6&lTreasure&e&lHunt &fYou received a treasure key!"
reload-with-hunt-active: "&6&lTreasure&e&lHunt &fYou cannot reload the plugin while a treasure is active!"
blacklisted-command: "&6&lTreasure&e&lHunt &fThis command cannot be used while near a treasure!"
only-right-click: "&6&lTreasure&e&lHunt &fYou can only open the treasure by right-clicking it"
treasure-locked: "&c&lLOCKED"
treasure-unlocked: "&a&lUNLOCKED"
menu-yes: "Yes"
menu-no: "No"
days: "day(s)"
hours: "hour(s)"
minutes: "minute(s)"
max-players-looting: "&6&lTreasure&e&lHunt &fThere are too many players already looting!"
treasure-reward-menu-title: "Treasure Rewards"
showcase-key-menu-title: "Treasure Key"
active-hunts-menu:
title: "Active Hunts"
name: "&a&l&o{treasure_name}"
lore:
- ""
- " &a⏰ &fRemaining time: &a{time}"
- " &a⛨ &fTreasure Keepers: &a{keepers}"
- " &a➷ &fX: &a{x}&f, Y: &a{y}"
- " &a🗺 &fWorld: &a{world}"
- " &a⚔ &fParticipants: &a{participants}"
- " &a🔑 &fRequires key: &a{key}"
- ""
showcase-hunts-menu:
title: "Available hunts"
name: "&a&l&o{treasure_name}"
lore:
- ""
- " &a⛨ &fTreasure Keepers: &a{keepers}"
- " &a➷ &fRewards: {rewards}"
- " &a➷ &fDuration: {duration}"
- " &a➷ &fRequire mobs dead: {requires_mobs_dead}"
- " &a➷ &fDebuff: {debuff}"
- " &a🗺 &fWorld: &a{world}"
- " &a🔑 &fRequires key: &a{requires_key}"
- ""
- " &a&l&oLEFT CLICK &fto see the rewards"
- " &a&l&oRIGHT CLICK &fto see the treasure keepers"
- ""
other-buttons:
home:
item: "BOOK"
name: "&a&l&oHOME"
rewards:
item: "EMERALD"
name: "&a&l&oREWARDS"
keepers:
item: "DIAMOND_SWORD"
name: "&a&l&oKEEPERS"
key:
item: "TRIPWIRE_HOOK"
name: "&a&l&oKEY"
showcase-rewards-menu:
title: "Hunt rewards"
reward-item-name: "&a&l&o{reward_name}"
reward-item-lore:
- ""
- " &a⛨ &fItem: &a{item}"
- " &a➷ &fAmount: {amount}"
- " &a➷ &fChance: {chance}"
- ""
command-item: "COMMAND_BLOCK"
command-item-name: "&a&l&o{reward_name}"
command-item-lore:
- ""
- " &a⛨ &fCommand: {command}"
- " &a➷ &fChance: {chance}"
- ""
showcase-keepers-menu:
title: "Treasure Keepers"
name: "&a&l&o{keeper_name}"
lore:
- ""
- " &a⛨ &fEntity: {entity}"
- " &a➷ &fMyhicMob: {mythic}"
- " &a➷ &fBuffed: {buffed}"
- " &a➷ &fRange: {range}"
- " &a➷ &fHealth: {health}"
- ""
winner-broadcast:
- ""
- "&6&lTreasure &e&lHunt"
- ""
- "&fThe mysterious treasure was found by"
- "&6{player}"
- "&fCongratulations, adventurer!"
- ""
announce-treasure:
- ""
- "&6&lTreasure &e&lHunt"
- ""
- "&fA {alias} is rumored to appear!"
- "&fX: &7{x} &fZ: &7{z}"
- "&fGood luck finding it!"
- ""
- "&7&o((Tip: The treasure will spawn soon))"
- ""
treasure-hologram:
- "&6&l{alias}"
- "&fStatus: {status}"
- "&fRequires Key: {requires-key}"
- ""
- "&fDespawning in {time}"
- "&fThere are {remaining_mobs} Treasure Keepers"
- "&fstill alive"
- "&fClick to open"
- "#ICON: EMERALD"
hunt-message:
- ""
- "&6&lTreasure &e&lHunt"
- ""
- "&fA {alias} has just emerged!"
- "&fX: &7{x} &fZ: &7{z}"
- "&fLet the hunt begin!"
- ""
- "&7&o((Tip: The treasure will dissapear in {duration} minutes))"
- ""
need-to-kill-all-mobs:
- ""
- "&6&lTreasure&e&lHunt &fThe treasure is protected by a magic spell!"
- "&6&lTreasure&e&lHunt &fGet rid of the Treasure Keepers in order to claim it's belongings!"
- ""
debuff-reached:
- ""
- "&6&lTreasure&e&lHunt &fThe treasure is protected by a magic spell!"
- "&6&lTreasure&e&lHunt &fGet rid of the Treasure Keepers in order to claim it's belongings!"
- ""
unlocked-treasure:
- "&6&lTreasure&e&lHunt &fYou unlocked the treasure! Now everyone can access it!"
##########################################
# #
# HEADER #
# #
##########################################
main: com.Moshu.Main
name: MysticTreasures
version: 2.7
description: The world is full of treasures!
author: Moshu
website: mc.b-zone.ro
softdepend: [Vault, WorldGuard, ChunkyBorder, EssentialsX, Citizens, LuckPerms, MythicMobs, ItemsAdder, Oraxen, DecentHolograms, FancyHolograms, Nexo, ProtocolLib, MMOItems, packetevents]
api-version: "1.13"
commands:
hunt:
description: "Interact with the plugin"
permissions:
mystictreasures.hunt:
default: true
description: Use the main command
mystictreasures.admin:
default: op
mystictreasures.bypass:
default: op