TreasureHunt
TreasureHunt 1.1
- Randomly-Generated Chests - Stationary Chests - Money Distribution - Multiple ItemLists - Excessively Configurable - Excessively Fun -
Find that loot!
Message from Taien
I've officially changed the license to Public Domain. I don't have time to maintain the project anymore, obviously. Sorry guys....hopefully someone will take over for me. If you want me to give you official access to the plugin, PM me. I'll pick someone based on their other plugins' quality. I put a lot of work into this plugin and am sorry to have to do this, but I don't even really play MC anymore since I no longer am in contact with all the people I used to play with. Sorry...
Hello everyone. This is my second released plugin for bukkit, but probably my tenth or twelfth overall.
The purpose of TreasureHunt is to give people even more fun things to do in your server. The plugin allows your worlds to randomly generate chests based on very specific settings that you choose. You can use any number of worlds with this plugin, and each can have a different configuration. :) You can also set up specifically enchanted items to appear in your chests, stationary chests that respawn after an interval (with a bit of randomization), and as many custom item lists as you could ever want - to use a separate item list for each world or even for each stationary chest!
For ALL info on how it works, please see the Plugin Tutorial section. :)
Plugins Supported
- PRIOR TO 1.0: Vault (for economy and permissions)
- 1.0+: Vault (for economy and permissions), WorldGuard and Towny (to prevent chests spawning in certain areas)
Note: If you don't use Vault, ops can still do the admin commands. See command list for details.
Help! I can't get any chests to spawn automatically!
Please see Example Configs. :)
Planned Features (Soon)
- Option to create maps centered at the chest location, fully mapped.
- Suggestions?
Next Version (1.2)
Green = Done Red = Not Done Gold = In Progress
- Add support for Residence.
- Config option ChooseChunkFirst - will tell location selection to choose one chunk to perform all of the spawn checks in. This will potentially cause more failed spawns (meaning the spawn attempt would be cancelled until you hit your random chest chance again), but is designed to help out servers which backup their world on a constant basis. (TreasureHunt needs to check certain conditions in each spawn location. This causes the chunk's modified date to update on the server, although I fail to understand why since it's not actually changing anything. To prevent many chunks being "modified" by TreasureHunt, this option will be added.)
- Command for normal players to find out how many of each type of chest (Common, Uncommon, etc) are currently present in the world.
- Change Damage on EnchantedItems entires to MinDamage and MaxDamage, to give you a chance to assign the spawned item a random damage between those values if you wish.
- Cover error messages with the new message system as well.
- Config option to have messages about chests only displayed within the world they originated in.
- Command to view a list of EnchantedItems entries ingame, /th enchlist. Command to view a list of CustomLists entries and one for WorldLists, /th customlists and /th worldlists.
- RandomGen and GenValue options for EnchantedItems entries, to allow the plugin to randomly assign enchantments to the item instead of using the Effects list to be specific.
- Command to view a list of EnchantedItems entries ingame, /th enchlist. Command to view a list of CustomLists entries and one for WorldLists, /th customlists and /th worldlists.
Known Bugs
- See Ticket section.
Changelog
Version 1.1
- Removed TopChestsByValue config option and converted /tophunters to /top and /top values, which displays by chests or by values respectively. /top command is also aliased as /thtop.
- Fixed a bug with PlayerData loading. /top should no longer reset on server restarts.
- Moved other updates to 1.2 due to PlayerData bug needing a fast release.
Version 1.0
Note About 1.0
Be sure to back up your config prior to updating to 1.0. There are changes to the config structure, and to be honest I am not good at writing conversion methods. The changes will be obvious enough once you see the new version of the config compared to the old version, so you should be able to copy/paste old data directly into the new file once you've got it running.
- New optimization for chest spawning. No more lag when a chest location is being selected!
- Connection to WorldGuard to prevent chests spawning in regions where block breaking and chest access are disabled.
- Connection to Towny to prevent chests spawning in town blocks.
- Config option to set the levels at which chests become Uncommon, Rare, Legendary, and Epic. (Currently they are 1500, 2500, 3500, and 4500 respectively.)
- Custom (named) Item Lists, and an ItemList option for each world as well as each stationary chest. (Worlds will only be able to use itemlists from the WorldLists section; Stationary chests will be free to use WorldLists or CustomLists.)
- Complete rewrite of the way configs are handled so as to prevent the 'where's my config file?' issue. Apparently I've been using an outdated method of config usage. :/
- Config option to choose the block left behind after a chest fades (perviously hardcoded to soulsand). Also the ability to say RETURN instead of a block name to have the block return to what it was before the chest spawned.
- Permission node for starthunt commands, in the format of taien.th.starthunt.world (or *). Also taien.th.admin still covers this.
- Permission node for stationary chest commands, in the format of taien.th.stattool.world (or *). Also taien.th.admin still covers this.
- A command to view a list of the top ten chest-finders, with listings of the total value of the chests they have found, as well as a command to clear the list and a config option whether to display by number of chests found or total value of chests found.
- Finish/fix directional text, so that when a player does /hunt(or uses the tool) it will tell them which direction they need to turn to be facing the chest in addition to the distance. Config option to shut off this function already exists.
does this work with 1.10? for me hunts doesnt seem to start automaticly, and /starthunt doesnt work either? :/
(im using jacob_vejvoda's version for 1.9 and Spigot)
Here is a quick attempt at an 1.9 update, leme know if it works: Link Removed: http://www.mediafire.com/download/6l75pzu19g84d3s/TreasureHunt_1.9.jar
report
We miss treasurehunt already :( Someone please make this work for 1.9!
@rplegend
I am the maintainer of the plugin, the plugin for 1.8 is on my page.
i dunno whether it is just me but no matter what i do i keep getting the internal error when doing the /starthunt command and this plugin does not seen to in any way work for me, it doesn't even auto spawn in chests ? ..... is this a compatibility issue with 1.8 ?
please hep me on this issue,
If this plugin gets updated I will bring it back on my server, I'm now running Craftbukkit 1.8.3 lost many players cause I wouldn't update to 1.8 cause to many plugins were not being updated. This plugin was the one that many came to the server for.
I bet I would get the hang of the config but I am not so good with computers ;3. I am trying to make a How To Minecraft based server. I got everything done expect the "dungeons" so I thought this would be perfect. But its hard to figure everything out. If someone could help me or send me a config that matches what I want I would be super appreciated. For my server I want the chests to spawn somewhere between 1k and -1k and with random loot inside and once every hour. I looked on wikis and read a lot of comments but still cant find out how. Thanks in advance.
This is by far one of the most important plugins on my server.. been running it for 3 1/2 years now and its still a huge staple to our gameplay. Thanks for the post and I look forward to a future release! I will happily paypal a donation when I see a new release up :)
@ProsperCraft
Please post your config file on a paste site and reply me the link.
@Mijeman
What do you mean exactly? So that you can replace "COBBLESTONE" with "cs" or something?
Hello people,
Long time no see. I've PMed greeves to see if he'll send me his updated source code...I've heard a lot more people have been using the plugin lately and enjoy it, which is the main reason I stopped making it - I thought no one was using it (or that it wasn't favored on servers) and got discouraged. I'd like to update it for 1.8 and implement some new features that people have been requesting, plus a couple random ideas I had myself. If greeves doesn't want to send me the code, he's welcome to continue his fork and I will rework my copy of the project. Either way, I'll try to have something new for you guys within a week or so.
I also have a request of you guys. I'm currently paying my way through college as I had a child while I was going and had to drop out for a while (and so lost my ability to get student aid). So if you appreciate the plugin, both from the past and with the new things I add in the coming time (and I will be paying attention as the bukkit situation develops and Mojang releases their built-in MineCraft API, and will create TreasureHunt for the new API), please show me your support with a donation to my paypal at [email protected]. I understand that I have not done anything in two years to earn this, but hopefully your enjoyment of the plugin will sway you towards helping me out a bit with the costs of an education. The benefit of this for you is that I have learned a lot since I last worked on this plugin, and will now be able to completely recode it to be more efficient, modular, and just plain awesome. So think about throwing me $1 or $5 or $10. Every little bit helps.
Well, I'd better get to work. ;)
Does anyone know if it's possible to set a custom name to an item in the list?
I have updated the resource for 1.8 here http://www.spigotmc.org/resources/treasure-hunt-for-1-8.4927/
@zizitt
Have you tried http://ge.tt/9ijPPx62 ?
Anyone maintaining this? a dev build somewhere? it was so epic
Could you add a configuration option to prevent unopened chests from fading at all?
http://pastie.org/private/8owbojufwovtahsrvo0cq Doesnt work with WG 6.0 it seems.
@PiEtrov236
I get this with both original and your version- using 1.7.10 cauldron- [02:08:03 INFO]: [me.taien.TreasureHunt]: [TreasureHunt] World 'WorldDW20' has 'Default' listed as its WorldList, but this WorldList doesn't seem to exist. [02:08:03 INFO]: [me.taien.TreasureHunt]: [TreasureHunt] Chest generation will not work in this world until this is resolved!
@wrecktify80
Redone this from scratch, everything should work as intended now: http://ge.tt/9ijPPx62
@wrecktify80
Thanks for feedback, I'll try to take a look at it once more (the generated code was a giant mess, don't want to get back into it anytime soon :D ). Apparently, it is not related to UUID, but to a fact, that an infinite loop occurs.