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.
-
View User Profile
-
Send Message
Posted Dec 27, 2012@HerrGrim
Definitely. It's actually already in the works.
@Necrofeariac
You can also use /th for all commands related to this plugin.
@wrecktify80
Once I figure out how to make the chests generate in another thread, yes. Until then...no. :( Sorry. :(
@zizitt
Yes, I will update soon. I've been going through an extremely rough patch IRL lately...practically a midlife crisis (as I am 30 now). But my mood has been improving lately...so I'll try to get more stuff done with it. :)
-
View User Profile
-
Send Message
Posted Dec 25, 2012Is there any way this kick ass plugin will update, at least a dev build, to 1.4.6 anytime soon? Would love to add this again.. Please hurry :D
-
View User Profile
-
Send Message
Posted Dec 10, 2012I use Tekkit so I have to use version .9. It works fine, except only the Op gets the broadcasts. I've set set perms to taien.th.notify.* but still nothing.
-
View User Profile
-
Send Message
Posted Nov 19, 2012I get some lag every time a chest generates. Any way to make it more smooth?
-
View User Profile
-
Send Message
Posted Nov 11, 2012I went to add this to my server and am also using monster hunt. I realized the the command lists overlap. I've also noticed a few other plugins that use /hunt * as way to call up commands. Any chance you can make this one more unique? /thunt? Just my 2 cents. Please and thanks.
-
View User Profile
-
Send Message
Posted Nov 11, 2012Hi, and thanks for this mod, we love it on our little server.
One of the players asked if there is a list with who has gotten the most chests, and it doesn't appear to be one, so I was wondering if you could consider adding this at some point?
-
View User Profile
-
Send Message
Posted Oct 31, 2012@briandmk99 use per world permission
th.claim.worldname or claim.* thingie
-
View User Profile
-
Send Message
Posted Oct 27, 2012Players cannot claim chests, only OP's. I added the permission "- taien.th.claim"
Didn't work.
-
View User Profile
-
Send Message
Posted Oct 19, 2012Rearranged the pages to be a little more organized, and added a new bit of info to the new FQ Section. (No time for the A.)
-
View User Profile
-
Send Message
Posted Oct 19, 2012@Nikecow
There's nothing I can see there wrong with the config you have...and your world is called KnightsandMerchants? like in your server folder instead of world?
If so, the only thing I can think of is that somehow some other plugin you have is blocking it from filling the chests but not creating them. What other plugs are you running?
-
View User Profile
-
Send Message
Posted Oct 19, 2012@McSpuds
No errors either? It's programmed to not continue if the file is not created successfully. But other people have been saying this so I'm puzzled.
-
View User Profile
-
Send Message
Posted Oct 19, 2012@VariousArtist
Enabled is false by default because when th is first loaded it auto-creates a default configuration for the main world. I didn't want people first starting treasurehunt to start seeing chests spawn immediately without having set up any of the options yet. :)
-
View User Profile
-
Send Message
Posted Oct 19, 2012Hey, thanks for this great plugin! However lately my server has the problem that the chests do spawn but empty. Any idea why? Here is my config.
http://pastie.org/5084084
pic 1: http://i45.tinypic.com/2janupc.png pic 2: http://i48.tinypic.com/24q1h50.png
-
View User Profile
-
Send Message
Posted Oct 12, 2012I have loaded TH, it is working... I see in the log where it starts and loads all its files.
Problem is I can not find any folder for TreasureHunt, NONE, no file no folder so that I can adjust the config...
Am I loosing it?
-
View User Profile
-
Send Message
Posted Sep 21, 2012Arf, stumpled over
Dare you, enabled world, dare you! >:( Maybe it should be enabled per default?
Great plugin! If I now get an idea how to automatically walk my dog I can keep them both busy - my players and my dog, hehe!
-
View User Profile
-
Send Message
Posted Sep 18, 2012We have been having a blast with this plugin, but the chests are always placed west of spawn. We have the spawn coords set.
-
View User Profile
-
Send Message
Posted Sep 16, 2012Great work on this plugin, Taien! I was wondering how to remove chests spawned with /stattool? I didn't see a command for it. Thanks!
-
View User Profile
-
Send Message
Posted Sep 10, 2012Starting hunts via command crashes the server :S
-
View User Profile
-
Send Message
Posted Sep 8, 2012@Taien1
Thank you sir!
working perfect again, huzzh!
-
View User Profile
-
Send Message
Posted Sep 7, 2012@rasnyderiii @wickedfable @smithy285
You guys who are having problems getting chests to spawn - let me know if you get it worked out. Also check out that new page I made to make sure you've got it down. :) Also keep in mind that OverrideMinPlayers only applies to reaching the MinChests setting. So if you have MinChests set to 0, OverrideMinPlayers is pointless.