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.
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...
Thank you for all your work and time. Best luck on all your future projects!
Pretty much working without any issues on 1.7.2 so far. Sad to see you go, this is by far one of our most exciting plugins on the server. Towny survival/pvp can get stale when people dont venture out of their towns, and this plugin helps with that. Hope to see someone help pick this up and possibly make it even better!
Much respect for your work
@ABCTACOZ
Hi ABC, long time no see.
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...
@Ironic8b49
I had this running till 1.6.4 and is was PRETTY FUN!! Hope someone grab it...
I have this running in 1.6.4 could be the reason not all things work, can't get any admin commands to work. The chest do spawn and the hunt and claiming of chest works. /top and /top value work. what am I doing wrong for permissions of admins, I use permissionbukkit got taien.th.admin set to true. I was mistaken it works without bugs. I have the override min player to true didn't see the bugs, when I try to change back to false then save and reload config it didn't seem to reload so I rebooted server and config changed back to true, Today I added Vault to see if that would help with the admin permission problem, the plugin stopped working, had the remove Vault to get it to work.
Any plans on updating this for 1.6.4?
Your info that you have a plugin better then mcmmo... must see this. Dev link please, of course we donate for quality, as you already know ;)
Excellent plugin, I must say. It really adds a level of excitement in the world, letting people compete to get to the chest first. It's especially fun when you're running it in a pvp world. I would love to see console support for changing worlds, though. That'd be really useful when I have ssh access, but not necessarily any way to manually edit the config. When I'm on my phone and far from the machine, a quick command to change where chests spawn could come in handy. Console support for commands in general would be great, too :D
Hey im just wondering if there is a tutorial to set up this plugin on minecraft 1.6.4, and will there be new releases later on for this plugin? im just wondering since i havent seen other than 1.4.7 version of it :/
@Taien1
Yeah, that's exactly what I was referring to. If a chunk is completely unsuitable, maybe try selecting another chunk within the same region file. (Or even anywhere else in the world, it would still be much better than the current way.) I'd be happy to help out with implementing this in any way I can. Thanks for considering it. :)
Any chance of adding a player cooldown to prevent players from finding too many chest?
Everyone see the message above please, thank you!
@Mysticell
Are you referring to essentially having it choose one chunk first, and then choose a random point within that chunk? I can see your point and will try to work with you. The way the location selection code works now, it'll probably need to be reworked a bit to work with that, but I think I can pull it off. The issue being that once location selection has begun, the plugin checks a certain number of times per tick (set in config) until it hits the cap (also in config). If it can't find a location before the cap it gives up and prints a message to console. Now if it's choosing one chunk to look inside of, and that whole chunk is inside a worldguard or something, it's going to fail every time until it hits the cap, and then the spawn attempt will be cancelled until the random number gen hits again on the chance number you set. So I'll have to figure out a way around that to make your idea work...will give it more thought. ;)
@maddyn99
Also some of the commands will be getting reworked before I release another version. Been hearing this one a lot and not quite sure why it's happening, but I'm going to fix that.
@brian163b
Yes, just been having more issues IRL. I am really going to try to get back to this very soon. I am very sorry for all the delays, but as far as I know it should still work as of 1.6.4. Most of the issues people are having seem to be with the configs. If you have issues and haven't yet checked the other Pages under this plugin, I urge you to do so. Tons of information in there. I'll probably add a more detailed complete example config to one of those pages very soon so you can see what it looks like.
it doesnt work fine on 1.6.4. it works SOME of the time. Quite often i get errors and most of the time manual commands such as /starthunt just dont work.
Songs not working plugin together with World Border, chests grentzen are outside the limits.
Unfortunately, I have characterized the chests set itself as necessary for even a plugin?
@wrecktify80
Great, thanks for the reply!
works fine for me on 1.6.4