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.
Nice work PiEtrov236
Only thing I noticed is /top is messed up and not displaying stats correctly. Probably needs an update for uuid support?
@LoreMisfitMC @wrecktify80 Here is an updated version (generated from decompiled code relinked with WG 6 and fixed to compile with newer versions of Bukkit API), supports 1.8. BEWARE: It has not been thoroughly tested, chest generation and hunt are known to work though. Use at your own risk (backing your configs up would not hurt).
http://ge.tt/7Ev12k62/v/0
We miss /th already :/ Hope someone picks this up with an update for 1.8
Has anyone been able to get in touch with Taien1? My server team is hoping to update the plugin to be compatible with the new Spigot 1.8 patch (issue looks to be the WorldGuard 6.0 update), but have been unable to reach him via PM.
@maddyn99
I am definetly interested in an updated version of this!
/starthunt 4000 or whatever doesn't seem to work, and the chests don't auto-spawn every x minutes
Hey, is there any way to disable players getting vasts amount of money when claiming chests?
Cheers, Mason
I am considering paying a plugin dev to upgrade this to 1.7.9 If you are interested in an updated but unofficial version send me a PM. I will post again once its done and tested.
I love this plugin, I have it running on the newest craftbukkit 1.7.5_3032. I took it out when I was getting many errors on my server to find out it was not this plugin. I messed up and forgot to make backup. I can't figure out how to stop the broadcast about the chest de-materializing.
Hi,
I've tried everything in this plugin on a 1.7.5 server and all but one thing works.
When I try to make a stationary chest for my dungeons using "/stattool 750 10 60 Default" to create a chest of value 750, with a refill time between 10 and 60 minutes, that pulls items from the "default" list it says "argument (default) is not a valid worldlist/customlist"
Weirdly enough, the "default" list works fine for generating the randomly spawning chests.
Can anyone help me out?
@Taien1: I want to personally thank you for your work. I played with this plugin all of 2011, it kept me company through a lot of insomnia, and i've used it as a server operator for the 2 years since then. This plugin is (and hopefully will continue to be) one of the major driving forces of the whole SMP experience. It was a very worthwhile effort (and i imagine rolling mojang updates made it quite an effort) and i hope you take some pride in having created it. sorry to hear u don't keep in touch with your minecaft friends, but there's still millions of people playing that would love to be friends with the creator of TreasureHunt. :)
BE VERY CAREFUL USING THIS MOD!
This mod caused A LOT of issues for me. I'm using the latest bukkit build. What happened was that it would spawn chests in, then mess up the region world files that the chest was placed in. This caused severe memory leaks, which required me to remove the regions completely so that they'd regenerate!
BE CAREFUL!!!!
Same here, works fine on spigot 1.7.2 This plugin has been a major part of our wilderness experience Running a towny server keeps people in protected zones Most of the server PVP is focused around people competing for treasure chests I hope this plugin gets picked up by someone
@chris678945
I just want to second that. Latest craftbukkit-1.7.2-R0.3-beta-3020 and brand new TH install. I did fairly extensive testing of config options, commands, and treasure hunting with several players and discovered not a single problem. I even successfully tweaked the various lighting, altitude, and radius settings to create a "surface only" treasure hunt in a WorldGuard world that does not permit users to build. (If you can't build you can't break blocks. If you can't break blocks, you can't dig... Useful for specialty worlds where you don't want the kids tearing up your lawn. ;-) )
(In case this is ever useful to anyone, you have to set the WorldGuard global (a/k/a "world") region to allow chest access for TH to work.)
This is such an enjoyable plug-in I hope that remains true for forthcoming releases. Like so many others I wish I had the coding chops to step in and take this over. <sigh>
Thanks to the author for "giving us what we got". ;-)
@VariousArtist
Works for me. 198.24.166.242:25731
I hope somebody grabs this...
I would take over myself but I lack enough experience.
Maybe later... :P
@VariousArtist
Obviously the plugin is outdated and if you read the description you'd see that it isn't being updated anymore.
I know this project isnt being supported anymore. but this thing doesnt configure right. you can adjust chest spawn settings all you like. it still spits out a new chest every minute until you have like 20 of em. and no config changes ever fix it.
After updating our server to 1.7.2 no new treasure chest spawn as it did before. So far not worked out whats going on. Im a sad panda now!
@rasnyderiii
We are sorry to see you go! Great work on the plugin, it's my all time favorite and I hope it will live on for a long time! I would take up development of this but I don't think I have time, and keeping up to date with MC version may become annoying. Hopefully someone else picks it up should it stop working in the future, does anyone know if it works in 1.7?
Thanks :)