TreasureHunt 1.3.6

Add some treasure's on your server!

  1. Gnusmas
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.13
    Languages Supported:
    All languages
    With that plugin you can add spawnable treasure's on your server. You can customize some spawn conditions, items, rarety, permission's needed to find treasure! So go on to explain some config file's to understand the opportunities of the plugin!


    First, config.yml file:

    Spawn:
    Delay: 60 - sets the delay between spawn attempts(in seconds)
    Chance: 1 - chance of spawn any treasure in time of delay(from 0 to 100 in %)
    DefaultTreasureOptions: - there are some settings to prevent some issue's with treasure configs. If you forgot to add some of this settings to you treasure, settings will be automaticly set by this default settings
    LifeTime: 10
    Variety: 5
    OOLimit: 2
    MinPlayers: 1
    HuntTool: ROTTEN_FLESH
    MaxRadius: 3000
    MinRadius: 200
    MaxHeight: 100
    MinHeight: 20
    MaxLight: 15
    MinLight: 0
    CheckDelay: 5 - delay how often players can check distance to treasure's(in seconds)
    Destroy:
    DestroyDelay: 2 - delay of destroying treasure after any player find it(in minutes)

    So, the second is the treasure's itself(in Chests directory).
    For example: noob_treasure.yml (you can choose name you want)

    Name: '&9Noob' - name of the chest, also, you can add color tags
    MinValue: 500 - minimal value of treasure
    MaxValue: 1000 - maximum value of treasure
    MinMoney: 50 - minimum of money in treasure
    MaxMoney: 90 - maximum of mone in treasure
    LifeTime: 1 - time of life, after that, treasure will be despawned
    Variety: 8 - the variety of item's in treasure(how many different item's can be in it)
    OOLimit: 2 - the variety of item's from OnlyOnce section in treasure
    MaxLight: 15 - maximum level of light to spawn
    MinLight: 0 - minimum level of light to spawn
    Chance: 20 - with that parameter you can correct the rarity of treasure's. To create rare treasure you should reduce this parameter(from 0 to 100 in %)
    Permission: noob.common - permission that need player to check distance to it(whithout that permission player cannot check distance to it and broadcast of spawn will not be showned to player, but also he claim it(if you have 100% of luck))
    MinPlayers: 1 - not used on that version, but soon
    Worlds: - world where treasure can spawn
    - world
    - world_the_end
    HuntTool: ROTTEN_FLESH - item by clicking whom with LMC will show the distance to it
    world: - settings to every world
    MinRadius: 0 - minimum radius from 0
    MaxRadius: 3000 - maximum radius from 0
    MaxHeight: 100 - minimum hight
    MinHeight: 20 - maximim hight
    world_the_end:
    MinRadius: 100
    MaxRadius: 2000
    MaxHeight: 55
    MinHeight: 20
    Items: - item's that can spawn in it with values respectively
    GOLD_INGOT: 20
    IRON_INGOT: 10
    COOKED_BEEF: 10
    OBSIDIAN: 25
    BOOK: 20
    GUNPOWDER: 10
    GLASS: 5
    GLOWSTONE: 10
    SMOOTH_QUARTZ: 10
    MELON: 25
    EMERALD: 125
    LAPIS_LAZULI: 4
    DIAMOND: 100
    WHITE_WOOL: 5
    SLIME_BALL: 8
    PUMPKIN_PIE: 9
    EXPERIENCE_BOTTLE: 15
    BRICKS: 4
    OnlyOnce: - items, that can be spawned only in one instance
    GOLDEN_HORSE_ARMOR: 150
    GOLDEN_APPLE: 100
    MM_Banknote: 200 - with prefix MM_ you can add items from MythicMobs
    MM_FortuneBook1: 200
    MM_TreasureBook4: 250
    MM_TreasureBook6: 250
    Common_PickAxe: 200 - that items configured in other configuration file(the explanation is below)
    Common_Axe: 200
    Common_Shovel: 200
    Common_Sword: 300

    Also you can add some enchanted items, if you want(in EnchantedItems directory)
    For exaple: EnchantedItems.yml (you can made how much file's as you want and can name them as you want)


    Uncommon_PickAxe: - internal name of item used in config's of treasure's
    Type: IRON_PICKAXE - type of it
    Enchantments: - enchantments and level's of it respectively
    DIG_SPEED: 2
    DURABILITY: 1
    Uncommon_Axe:
    Type: IRON_AXE
    Enchantments:
    DAMAGE_ALL: 2
    DURABILITY: 1

    And the last one config file is localization.yml:

    SpawnedChest: '&fA <name> &ftreasure chest (Value:<value>) appeared in &9<worldname>&f!' - string that broadcast player's about spawning of treasure, possible parameters: <name>, <value>, <worldname>, <remainingTime>, <money>,<location>.
    PlayerCloseToChest: '&fA player is very close to the <name> value <value> &fchest!' - not used now
    YouAreClosest: '&aYou are now the closest player to the <name> value <value> &achest!' - not used now
    NoLongerClosest: '&cYou are no longer the closest player to the <name> value <value> &cchest!' - not used now
    PlayerFoundChest: '&fThe chest of value &a<value> &fhas been claimed by &2<pname> &fat &a<location>&f!' - string that broadcast that some player found some treasure, possible parameter's: <name>, <value>, <worldname>, <remainingTime>, <money>,<location>,<pname>
    MoneyFound: '&aYou found <money> in the chest!' - is displayed how much money player got from founding treasure(private message): <name>, <value>, <worldname>, <remainingTime>, <money>,<location>,<pname>
    UnfoundChest: ' &fThe chest of value &a<value> &fhas &cfaded &fwithout being found!' - broadcast after treasure despawned due to that it's life is out of time: <name>, <value>, <worldname>, <remainingTime>, <money>,<location>,<pname>
    AlreadyClaimed: '&7This <name> &7chest has already been claimed by &a<pname>&7!' - is displayed if player try to open already finded treasure: <name>, <value>, <worldname>, <remainingTime>, <money>,<location>,<pname>
    ClosestChest: '&7The closest chest (of <numhunts>) is currently &9<distance> &7blocks away.' - is displayed by checking distance to closest treasure: <distance>,<numhunts>
    NoChests: '&7No hunts are currently active in this world!' - is displayed if player don't have treasure's to find
    FastCheckLocation: '&4You can check distance every <checkdelay> seconds!' - displayed if player check distance to often

    Supported plugins:
    MythicMobs
    Vault
    WorldEdit
    WorldGuard
    EssentialsX


    Support of worldguard added to prevent spawning of treasure's in regions. With MythicMobs you can add some items from it. Vault is to obtain some money from finding. Hook's of plugins is displayed in console.
    Also i have some example's of configuration's to avoid problems with configuriing.
    Commands and permission's to them:

    /huntstart [here] - forced spawn of random treasure. [here] - is the argument to spawn treasure in your location(spawn conditions will be ignored). Command only for players, permission: th.spawn
    /huntlist - display all the active treasure on server, permission: th.huntlist
    /huntreload - reloading of plugin, permission: th.reload

    Please, report the bug's that you have to my private message's.
    Also you can donate to support me and my product. Like all the programmer's i drink a lot of coffee :D
    Donation link in qiwi: w.qiwi.com/p/375298029753

    Uncommon_PickAxe:
    Type: IRON_PICKAXE
    Enchantments:
    DIG_SPEED: 2
    DURABILITY: 1
    Uncommon_Axe:
    Type: IRON_AXE
    Enchantments:
    DAMAGE_ALL: 2
    DURABILITY: 1
    Uncommon_Shovel:
    Type: IRON_SHOVEL
    Enchantments:
    DIG_SPEED: 3
    DURABILITY: 1
    Uncommon_Bow:
    Type: BOW
    Enchantments:
    ARROW_DAMAGE: 2
    DURABILITY: 1

    Name: '&9Noob'
    MinValue: 500
    MaxValue: 1000
    MinMoney: 50
    MaxMoney: 90
    LifeTime: 1
    Variety: 8
    OOLimit: 2
    MaxLight: 15
    MinLight: 0
    Chance: 20
    Permission: noob.common
    MinPlayers: 1
    Worlds:
    - world
    - world_the_end
    HuntTool: ROTTEN_FLESH
    world:
    MinRadius: 0
    MaxRadius: 3000
    MaxHeight: 100
    MinHeight: 20
    world_the_end:
    MinRadius: 100
    MaxRadius: 2000
    MaxHeight: 55
    MinHeight: 20
    Items:
    GOLD_INGOT: 20
    IRON_INGOT: 10
    COOKED_BEEF: 10
    OBSIDIAN: 25
    BOOK: 20
    GUNPOWDER: 10
    GLASS: 5
    GLOWSTONE: 10
    SMOOTH_QUARTZ: 10
    MELON: 25
    EMERALD: 125
    LAPIS_LAZULI: 4
    DIAMOND: 100
    WHITE_WOOL: 5
    SLIME_BALL: 8
    PUMPKIN_PIE: 9
    EXPERIENCE_BOTTLE: 15
    BRICKS: 4
    OnlyOnce:
    GOLDEN_HORSE_ARMOR: 150
    GOLDEN_APPLE: 100
    MM_Banknote: 200
    MM_FortuneBook1: 200
    MM_TreasureBook4: 250
    MM_TreasureBook6: 250
    Common_PickAxe: 200
    Common_Axe: 200
    Common_Shovel: 200
    Common_Sword: 300
    superexpert likes this.

Recent Reviews

  1. superexpert
    superexpert
    5/5,
    Version: 1.0
    Dieses Plug-In ist sehr interessant. Er lässt den Spieler zu, die Truhen mit den Preisen zu suchen. Der Spielprozess von diesem Plug-In verbessert sich nur.
  2. SavvyZOR
    SavvyZOR
    5/5,
    Version: 1.0
    Quite good plugin, you can mix up server economy with this one. Also adding a challenge moment for all players to find random prize.