ScavengerHunt
A fun plugin for item Scavenger Hunts!
Introduction
ScavengerHunt is a simple scavenger hunt event. You can define the items to be scavenged and the rewards for the winner. You can also set mob killing objectives (with more objectives on the way!). It can be run by command and stops when a player acquires the specified items and completes any objectives.
Optional dependency: Vault (If using money rewards)
Known issues
I have not yet fully tested the latest beta release. Use with caution.
Most Recent Version
1.7b1
Initial testing for location objectives
You can now use "sh" as an alias for scavenger commands
1.6.1
Fixed displaying of potions and mob names
Fixed ocelots/iron golems as mob objectives
1.6.0
Added WorldGuard support (see config page)
Added riddleMode (see config page)
ToDo
iConomy support Now supports all major economy plugins via Vault
Specific WorldGuard region support Basic WG support implemented, more features with it in the future.
More objectives (mob killing, etc.) Mob killing implemented, more objectives such as locations coming soon!
Timed scavenger events
Have a special request?
Leave a comment and I'll see what I can do.
@Scarmez
@rfrehv
Uploaded a minor fix for the potion displaying and use of ocelot/iron golem mobs that you mentioned.
Oh whoops, forgot to take a look at discs... I'll get that in the next update.
Ah, yeah it looks like it only accepts those two names for ocelot and iron golem. Good catch. I'll get a quick fix out soon so that will at least display some info about the type of potion required (later I'll do a custom formatter to include the exact names and levels of the potions, but for now it will just be like "regen potion" and "speed potion").
I've been busy lately, but will be back to regularly updating this soon. Expect new features in a week or so.
@Scarmez
One of my recent personal implementations was a NameRetriever class which currently builds name strings for potions and discs, and adding a couple more conditions to the formatter method, like this:
Although I believe my solution was not elegant enough (the class don't retrieve names from the game, I had to set them), the feature you want is completely doable :P
@Frozath
I figured out how to specify that you want ocelots and iron golems as kill objectives. they are called "Ozelot" and "VillagerGolem".
@Frozath
I tried both "ocelot" and "iron_golem" on their own, but both give me severe errors unfortunately. if you could look into it for me that would be fantastic.
Also, when I specify Meta Data for the items in my list it does not change the name of the item on the list. so if I specify that I want someone to have 3 potions of swiftness, it is still just displayed as them needing 3 potions. I was wondering if you were going to be changing this any time soon? Until then I can just use riddle mode to specify exactly what is needed. :)
@Scarmez
You should be able to do "ocelot" and "iron_golem" for the mobs. If that isn't working, I'll look into it. Also, I had planned to implement both of those suggestions, I've just been a bit busy. I'll try to get them in soon.
I love this mod! its fun and keeps my users entertained when they cant think of anything to do.
im having an issue though, i cant figure out how to specify that you need to kill iron golems or ocelots for the mob killing objective, could someone help me out?
also i have a few suggestions for the mod:
- a new objective could be that they have to have gone to specific regions. so one objective is that you have to have visited a region marked by worldguard, like a specific building or town.
- have the ability to specify more than one scavenger hunt in the config and shedule them at different times. so you could have 3 different scavenger hunts specified and one happens on the first of every month, another happens specifically on christmas day or easter. i dont think you would need to have 2 scavenger hunts running at the one time, but just to automate different events.
Anyway, great work on this mod! its exactly what i like to see! and could someone please help me out with my ocelot and iron golem issue. Maybe have a list of mobs that are possible to specify? Thnks!
@Frozath
Oh, that was fast, thanks!
I was just gonna try some things myself, so I didn't wanna bother you :P
See, I was trying just to add EXP rewards, randomize things a bit more (i.e. give option to define a "global" number of objectives, without defining if it's mob or item type) and add an option to select a number of rewards from the poll. Also maybe add a message for the user when he has completed one of the objectives.
This is a great plugin, adds a lot of endgame content for MC, ppl here were getting bored :p
@ricardomf90
http://www.sauronsoftware.it/projects/cron4j/ Enjoy.
Also, if there are any mods that you think would benefit the plugin, don't hesitate to let me know. I have no problem making mods for custom requests :)
Hi,
where can I get the cron library you're using? I'm trying to recompile it for my server and it's missing cron's dependencies... Thanks :)
@TwiztedIndian
I didn't have any plans to implement a saving mechanism any time soon, but perhaps I'll add something in a few versions from now.
Is there any way to keep the progress of a specific scavenger hunt in a file or database? I run a local server for my family and friends and if I loose power they loose their progress.
@cxsorious
Erm... what?
Need to Change Language and Description to UTF-8 Please ^^
@EMOberger
I like the idea. I threw something together that pretty much does what you want. It will show up when it is approved. Basically what you would do is write a riddle for each objective. You can see how it works in the default config in the latest version.
I will add the "done" status tracker in the next version. For now, typing /scavengerItems will just reshow all the clues.
Much like a real scavenger hunt, I think you should add a way for players to see a list of riddles and assign an item or mob to that riddle and have the players only be able to see if they are correct after typing a command that would check the players inventory or mob count to see if the tasks are completed. If one task is done have it say "- done" or something beside the riddle.
ex:
(Player types /scavengerhunt list)
1. Cacti grow on this
2. Watch out for it's ink!
(Player kills a squid)
(Player types /scavengerhunt list)
1. Cacti grow on this
2. Watch out for it's ink! - Done
(Player get's sand)
(Player types /scavengerhunt list)
1. Cacti grow on this - Done
2. Watch out for it's ink! - Done
Congrats! Here is your reward!
Having the sayings, items, mobs, and rewards configurable of course.
And latter on maybe some spout support to add crafting? :D
@Frozath
Thank You!
@gotheredsox
this may sound pretty noobish of me but im having trouble with the scheduling. how would u start a scavenger hunt like every 30 or 15 min?
@n00bsaus
Use pigzombie. Also, magmacube does not seem to be working right now. I'll get it fixed for the next version.
Edit: Just figured out that bukkit calls it "lavaslime" instead of magmacube. Should work fine.