Sueta

TreasureHunt

2.1-R

Add some treasure's on your server!

·Plugin
  1. 2.1-RlatestLittle integration with Discord!Apr 1, 2022
    What's new? 1. Discord integration with your server! When you install new version, you will got theese two new options in main config: How did you guess, in Token section you should place token of your bot and in ChannelName section you should specify name of channel you want the bot to write to. Some info... I know about problems with 5.0 MythicMobs, but i can't fix it in nearly feature (use builtin tools to create items). Also i know that doc is missing and already partly incorrect, please be patient, i will try to solve problems as soon as possible!​
    7 downloads
  2. 2.0-RA lot of refactoring and nation-zone fixAug 16, 2021
    Hi! There are no any brand-new features, only a lot of code improvements, bugfix of nation-zones and one little bugfix of spawning items in chests. It is highly recommended to install update. I will do some more updates...​
    335 downloads
  3. 1.5.8-RBugfix of critical bugSep 15, 2020
    What's new? 1. Fixed bug, that spread on chests with anti-x-ray protection. (should help with "Asynchronous block remove!" error in console) Some info... Little by little I am returning to maintaining and creating new features, plugins and so on, so you can expect some updates in the near future.​
    357 downloads
  4. 1.5.7-RA lot of suggestions and some bugfixingJul 14, 2020
    What's new?​ 1. Added alternative way to spawn chests 2. Added ability to include chance of execution command after opening of chest 3. Added ablility to exclude some blocks from spawning chests on them 4. Added random slot filling in chests 4. Added more TownyAPI integration to avoid spawning nation zones 4. Fixed bug with &l color code 5. Fixed bug with absent validation of worlds ​ How to use new features?​ 1. Due to too big randomized spawn of chests i added alternative way to spawn them. Just look and main config, there is a new section: It works defining random time to spawn random chest in interval of Max and Min seconds (specified on screenshot). To enable alternative spawn just fill section Enabled with true value. 2. For the suggestion i added chance of execution of command. Just add section like on screenshot in any chest config: It measured on percents from 0 to 100. 3. For another suggestion i added ability to exclude blocks from spawning on them chests:
    96 downloads
  5. 1.5.6-RMultiple hunttools, custom hunttools, behaivour and beta function of underground spawning.Feb 5, 2020
    What's new?​ 1. Added ability to add multiple HuntTools to one treasure 2. Added ability to add custom HuntTools 3. Added ability to regulate behaviour of different HuntTools 4. Added ability to spawn treasures "underground"​ How to use it? ​ 1. First of all, format of HuntTools changed. Let's see how it looks now. For example with that configuration you can find that chest with rotten flesh, with custom clocks or iron blocks. Easy? Pretty 2. How to use custom items as HuntTools? Look up and you can see unusual item with name GoldClock. That item is from EnchantedItems configs of plugin and it looks like this Plugin will check lore of item and list of enchantments to determine is it a hunttool to search or not. OF COURSE, you can add some items from MythicMobs. It works the same as items in chest, like this: MM_INTERNALNAME (with MM_ prefix). 3. As you seen in new config format of HuntTools, there is some numbers. Their meaning is simple. They regulate amount of per-hit items taken from player while searching. 0 mean that item is limitless. 4. There are two new possible sections to add to chest config: What does they do? They make chest to spawn "underground" like buried chests. MinUnderGroundLevel means minimum of blocks from surface to possible spawn of chest. MaxUnderGroundLevel means maximum of blocks from surface to possible spawn of chest. It is more BETA functionality due to complexity of determing level of surface. Using it, responsibility rests on your shoulders. But if you high interested in that function, I will try to bring to mind faster. IMPORTANT. DUE TO CHANGING OF FORMAT OF HUNTTOOLS, YOU SHOULD REFORM YOUR CONFIGS ACCORDING TO NEW FORMAT. ​ ENJOY! ​
    191 downloads
  6. 1.5.5-Rhallelujah, i updated pluginDec 1, 2019
    What's new?​ 1. You can add lore and display name to config of enchanted items. 2. Added Towny hook to prevent spawning in cities 3. Added placeholders for X, Y and Z coordinates while spawning of treasure 4. I prevented using /huntstart here by console (it is invalid using at all) How to use? ​ 1. Lore and display name: Pretty easy, yep? 2. Treasures will not spawn in cities at all (Towny hook) 3. To display location of treasure (that just spawned), you can use <treasureX>, <treasureY>, <treasureZ>. (applicable to SpawnedChest, PlayerFoundChest, AppearMessage) What about "pretty big feature"? I decided to make separate plugin for this Why so long for update? I almost wrote new plugin for simple quests, and i think pretty soon i will release it. So, you can subscribe to not miss anything.
    116 downloads
  7. 1.5.4-RBugfixOct 29, 2019
    What's new? ​ 1. Bugfix. Bug appears after appearing of any treasure in world.
    107 downloads
  8. 1.5.3-RBugfix, API and some improvementsOct 19, 2019
    What's new?​ 1. Commands huntstart and hunttestloc can be autofilled with TAB 2. Fixed bug with hiding chests from x-ray 3. Work out of the box (from 1st installation) 4. Command /huntstart now can be used from console 5. Event API for developers
    83 downloads
  9. 1.5.1-RUpdate of command executionOct 15, 2019
    What's new?​ 1. You can set in commands player name by using %name% How to use?​ Construction %player% dynamicaly replaced with player name, who opened the chest result: ENJOY!​
    101 downloads
  10. 1.5.0-RRegion rules and item tables!Oct 12, 2019
    What's new? ​ - Selectable WorldGuard regions to spawn chests - Item tables based on max amount per chest and chance - New command to test item generation /hunttestpop How to use new features? ​ 1. Selectable regions of WG: There are 2 new possible sections on every world Yep, it is RegionRule and RegionNames So, let's see what RegionRules we have: STRICT - chest can spawn ONLY in listed regions(listed in RegionNames) EXCLUDE - excludes listed regions from spawning of chest in them(but also chest can spawn in other regions, wich are not listed) EXCLUDE_ALL - excludes ALL regions from spawning in them(by default if you are not using new sections) INCLUDE - includes listed regions into possible spawning area of chest INCLUDE_ALL - includes ALL regions into possible spawning area of chest(i.e. ignores regions at all) 2. Item tables: Once you install new version, you should see new folder: In that folder are located ItemTables. Have you been visited by a thought that it will be good to configure chance of every item in chest and max amount of certain item per chest? So with that tables you can do it! How it looks? .SpoilerTarget">Spoiler: noobEpicItemTable.yml Code (YAML): GOLD_INGOT: Value : 20 MaxAmount : 15 Chance : 20 IRON_INGOT: Value : 10 Chance : 20 COOKED_BEEF: Value : 10 OBSIDIAN: Value : 25 BOOK: Value : 20 GUNPOWDER: Value : 10 GLASS: Value : 5 GLOWSTONE: Value : 10 SMOOTH_QUARTZ: Value : 10 MELON: Value : 25 EMERALD: Value : 125 Chance : 20 LAPIS_LAZULI: Value : 4 Chance : 20 DIAMOND: Value : 100 MaxAmount : 20 Chance : 5 WHITE_WOOL: Value : 5 SLIME_BALL: Value : 8 PUMPKIN_PIE: Value : 9 EXPERIENCE_BOTTLE: Value : 15 Chance : 20 BRICKS: Value : 4 Common_PickAxe: Value : 120 MaxAmount : 1 Common_Axe: Value : 100 MaxAmount : 1 I think it fully understandable. If you have some questions, you may ask in thread. How to add it to chest? Simple Does it support MythicMobs and enchanted items from TreasureHunt? Yes, format is the same as old. Does old format works? Yes, it fully works Should i now configure chests to new format of items? As you want, old format works as before. How works Variety and OOLimit with item tables? It works the same as with old format. (OOLimit will impact on total various items with MaxAmount: 1 in item tables) What if i add item table in chest and the old format is present in it? Item table will override old format, and plugin will use items ONLY from item table and will ignore old format. 3. New command /hunttestpop: To test item generation of any chest right in the game type: /hunttestpop [name_of_treasure] EXAMPLE: /hunttestpop rare ENJOY!​
    64 downloads
  11. 1.4.2-RAnti X-Ray featureSep 24, 2019
    I took suggestions to add anti x-ray feature so i added it. How to use it?​ Just add some new sections in world settings of any treasure(settings defined to each world you want to protect and can be different to each world and treasure): Hidden parameter defines to hide treasure from x-ray or not Material - what block type will be instead of chest AppearAfter - distance after wich chest will appear as chest block How it works? ​ If distance (after checking distance to chest or, in other words after LMC with HuntTool) to chest will be less then AppearAfter distance, chest will appear as chest block. So players with x-ray lose advantages on little distances to chest.
    135 downloads
  12. 1.4.0-RSelectable biomes!Sep 20, 2019
    Now you can select biomes in wich treasure can spawn! Just add section to some treasures: (full config example down in update post ) Code (Text): Biomes: - MOUNTAINS - FOREST - THE_END - NETHER Available biomes: .SpoilerTarget">Spoiler: biomes Code (Text): OCEAN, PLAINS, DESERT, MOUNTAINS, FOREST, TAIGA, SWAMP, RIVER, NETHER, THE_END, FROZEN_OCEAN, FROZEN_RIVER, SNOWY_TUNDRA, SNOWY_MOUNTAINS, MUSHROOM_FIELDS, MUSHROOM_FIELD_SHORE, BEACH, DESERT_HILLS, WOODED_HILLS, TAIGA_HILLS, MOUNTAIN_EDGE, JUNGLE, JUNGLE_HILLS, JUNGLE_EDGE, DEEP_OCEAN, STONE_SHORE, SNOWY_BEACH, BIRCH_FOREST, BIRCH_FOREST_HILLS, DARK_FOREST, SNOWY_TAIGA, SNOWY_TAIGA_HILLS, GIANT_TREE_TAIGA, GIANT_TREE_TAIGA_HILLS, WOODED_MOUNTAINS, SAVANNA, SAVANNA_PLATEAU, BADLANDS, WOODED_BADLANDS_PLATEAU, BADLANDS_PLATEAU, SMALL_END_ISLANDS, END_MIDLANDS, END_HIGHLANDS, END_BARRENS, WARM_OCEAN, LUKEWARM_OCEAN, COLD_OCEAN, DEEP_WARM_OCEAN, DEEP_LUKEWARM_OCEAN, DEEP_COLD_OCEAN, DEEP_FROZEN_OCEAN, THE_VOID, SUNFLOWER_PLAINS, DESERT_LAKES, GRAVELLY_MOUNTAINS, FLOWER_FOREST, TAIGA_MOUNTAINS, SWAMP_HILLS, ICE_SPIKES, MODIFIED_JUNGLE, MODIFIED_JUNGLE_EDGE, TALL_BIRCH_FOREST, TALL_BIRCH_HILLS, DARK_FOREST_HILLS, SNOWY_TAIGA_MOUNTAINS, GIANT_SPRUCE_TAIGA, GIANT_SPRUCE_TAIGA_HILLS, MODIFIED_GRAVELLY_MOUNTAINS, SHATTERED_SAVANNA, SHATTERED_SAVANNA_PLATEAU, ERODED_BADLANDS, MODIFIED_WOODED_BADLANDS_PLATEAU, MODIFIED_BADLANDS_PLATEAU; .SpoilerTarget">Spoiler: epic.yml Code (Text): DisplayName: '&dEpic' Name: epic MinValue: 1500 MaxValue: 3500 MinMoney: 250 MaxMoney: 350 LifeTime: 40 Variety: 8 MinPlayers: 4 OOLimit: 4 Chance: 50 MaxLight: 15 MinLight: 0 Worlds: - world Biomes: - MOUNTAINS - FOREST - THE_END - NETHER HuntTool: ROTTEN_FLESH world: MinRadius: 100 MaxRadius: 7000 MaxHeight: 60 MinHeight: 12 world_the_end: MinRadius: 1000 MaxRadius: 3500 MaxHeight: 80 MinHeight: 30 Items: GOLD_BLOCK: 40 IRON_BLOCK: 30 DIAMOND_ORE: 70 DIAMOND: 30 DIAMOND_BLOCK: 100 EMERALD_BLOCK: 80 OnlyOnce: WITHER_SKELETON_SKULL: 150 ELYTRA: 150 Epic_Axe_2: 150 Epic_PickAxe: 150 Epic_PickAxe2: 150 Epic_Sword: 150 Epic_Shovel: 100 Epic_Bow: 100
    76 downloads
  13. 1.3.8-RCommand execution, new command and anit-abuse calculation of distance.Jul 5, 2019
    1). For the suggestions i added command execution to my plugin. Now you can execute command while player opening the certain chest. How to do it? Just add two these section(an examples): Command: broadcast Cool! CommandExecutor: console (broadcast to all players/execution performed by console) Command: speed 2 CommandExecutor: player (speed up player who found a chest/execution performed by player) Command: broacast Very cool! (broadcast to all players/if CommandExecution section no specified, command try to execute by console by default) There are only to command executors: player and console. 2). One more cool improvement. One of the problems of plugin - is that players may simply calculate the coordinates of chest having three points and distances to chest. To prevent such leak of gameplay, i wrote some algorithm that masks real distance, but it still nice playable. To turn on this algorithm fill section ImprovedDistanceCalc in config.yml by true value( false setted by default). 3). One new command: /huntcreate [amount]. Simply generated empty .yml files in chest directory. Permission needed - th.huntcreate.
    77 downloads
  14. 1.3.6Per day statisticsJun 1, 2019
    Update bring up per day statistics about spawining of every chest, total claimed chests and total not claimed chests. All statistics files stored in Statistics directory of plugin.
    84 downloads
  15. 1.3.5Returning of MinPlayers and some refactoring...May 3, 2019
    -Option MinPlayers now works -Some code refactoring
    61 downloads
  16. 1.3.4More bugfixesApr 27, 2019
    -Increased stability of item population algorithm and fixed some bugs in it
    56 downloads
  17. 1.3.3More fixed bugsApr 21, 2019
    - Fix of not correct money
    48 downloads
  18. 1.3.2More validation and fixing some bugsApr 21, 2019
    - Fix of bug with 0 money - More validation to MaxValue and MinValue
    33 downloads
  19. 1.3.1Fix of one critical bug, localization of /hunttop and /huntstatApr 20, 2019
    - Fixed one bug that may cause server crash - Added localization and customization for /hunttop and /huntstat. New strings in localization.yml: HuntTop - possible arguments - <position>(position of player in top 10), <pname>(name of player on that position), <totalAmount>, <totalValue> PersonalStat - possible arguments - <pname>, <totalAmount>, <totalValue> DontHaveStat - display that player dont have any claimed chest.
    39 downloads
  20. 1.3Update that carry on tests and other cool enhancementsApr 19, 2019
    SOOOO... Finally, i decided to update my plugin on spigot. So let's see what i've done to this update. NEW: - Plugin now grab some statistics about grabing chests by players. To see top-10 player's sorted by total amount of grabbed chests type /hunttop. To see top-10 players sorted by total value type /hunttop value . To see your own statistics type /huntstat. - Now strings YouAreClosest and PlayerCloseToChest in localization.yml works! Players can see if someone else will be very close to chest! - To define distance after wich player will be very close to some chest and after wich other players can see that some other player is very close i've added parameter ClosestAfter in config.yml. It measured in blocks. By default it will be 200 blocks. - Parameter CheckDelay in config.yml migrate to Search section. - I've improove /huntlist. Now you can see permission for each chest! - Command /huntreload now works correctly. It reloads all configuration files. - Some changes in configs of treasure's. Now every treasure must have Name and DisplayName parameters. DisplayName - name that will be displayed to players in game. Name - plug-in name that can be used in tests and command to spawn certain treasure. - I added new possible parameter in treasures configs. AppearMessage can override default message about spawning of treasure. If it described in config, that message will be used for broadcast to players about it's spawining. - Now you can spawn certain treasure using /huntstart. Example: /huntstart noob_epic - will spawn treasure with Name: noob_epic. Example: /huntstart here noob_epic - will spawn treasure with Name: noob_epic and with location where you are. Tests I added some cool features to calibrate spawn chances of different treasures and some other options. Command /hunttest [amount] - is a simple test that can be used to see the sample of [amount] treasures. For example - /hunttest 100 - will choose 100 chests to fake spawn and you can see an amount of each treasure in this sample of 100 treasures. Permission - th.test Command /hunttestloc [name] [amount] - is advanced test that checks not only chances, but location too. Thus that test is harder for the machine and i recommend to set amount no more than 15. Example - /hunttestloc noob_epic 10 - try to fake spawn 10 times treasure with Name: noob_epic. Example - /hunttestloc 10 - try to fake spawn random treasures due to its chances. Permission - th.testloc Each test stored in folder Tests. And name of each - date of the test.
    40 downloads
  21. 1.0Feb 22, 2019
    54 downloads

Similar projects

Plugin →