UsefulVillagers
RIP
Unfortunately, yeah, this plugin is dead. I've repeatedly said that I've no time left for it. The source are available but nobody's dare to maintain it, only complain that it doesn't evolve. Sorry internet, blame yourself for that. There's no charge for this plugin, I've never asked for donations. Now if you want to make it live (if it's worth it as "many other plugins are better" as i've read sometimes), use your brain, use your skills, use your own time. By now, I'm done.
Summary
This plug-in aims at adding some purpose to the villagers. Instead of walking around, villagers can also performs tasks depending on their profession. As they walk around, they will grow food, cut trees, gather sugar cane to make books, get wool, use furnaces, mine, etc.
Changelog for 0.4.0
- Added a configuration key in 'config.yml' that avoid 'not useful villagers' messages.
- Blacksmith now also cook pork (how strange it is ...).
- Various internal technical improvement.
Quote from Some Random GameDev:There's now a dependency to Gson. You'll have to download the third library jar, store it somewhere and update the -Djava.ext.dirs parameter.
Usage
First, a complete manual is available here.
Villagers professions can be set by right-clicking with the appropriate items:
- Wheat : Transforms a villager into a 'farmer'. A farmer will harvest wheat, melon and pumpkin, sugar cane.
- Book : Transforms a villager into a 'librarian'. Librarians take sugar cane from chest, use nearby workbench to produce books and put back produced books in the next encountered chest. Librarian can also 'study' weird items, such has glowstone dust, blaze powder, ghast tears, and give back experience points to players (study time depends on the given item).
- Iron ingot : Transforms a villager into a 'blacksmith'. Blacksmith with furnaces and chests in there surrounding will automatically transfer goods from furnace to chest and start smelting job from chest content. If interacted with a gold pickaxe, the blacksmith gain (or loose) mining ability (see manual for full description/usage).
- Leather : Transforms a villager into a simple 'butcher'. Butcher, for now, uses shear to collect wool from sheep.
- Glass Bottle : Transforms a villager into a 'priest'. Priest heal and defend villager (and player) with spells.
A villager can be provided with items by right-clicking on it.
- Give an hoe to a farmer and it will be able to transform dirt/grass to soil and plant seeds.
- Give seeds to a farmer to allow him planting seed.
- Give an axe to a farmer and it will be able to cut tree (if the tree is marked for cutting).
- Give sugar cane to librarian and it will craft books as soon as it cans.
- Give interesting stuff to librarian and it will study them and give back experience to you after time.
- Give shears to butcher and it will collect wool from sheep.
- Give stone or iron pickaxes to blacksmith and if it has a mining ability, it will mine below iron blocks.
- Give glowstone dust to priest and it will heal surrounding players and villagers.
- Give blaze rod to priest and it will set nearby monsters on fire (creepers/spider/skeleton/zombie).
(Extra : Give torches to a golem and it will place them in encountered dark places).
When a chest is encountered, the villagers will put their products in it (wheat, melon, pumpkin, wood logs, sugar cane, books, wool).
Disclaimer
It is not a 'active AI'. It is not experimental and rely totally on bukkit API. Hence, this plugin doesn't override villager behaviour but add some features to it. The villagers will continue to move and act as they're used to. But, periodically, player-activated villagers will modify their environment accordingly to their profession.
Roadmap
- Add priest brewing capabilities.
- Add more flexible serialization (XML or other) to allow easy migration without blasting all !
- Add blacksmith charcoal production management.
- Add butcher management (animals breeding and processing).
- Add commands for live administration.
Any suggestions are welcome.
Rejected Suggestions
First of all, keep in mind that I can't alter villagers movement.
- Fishing : Heart breaking, but it's not possible ...
- Villager self-defense : out of my range (only passive area of effet enabled via priest).
- Structure building
Commands
None for the moment. See Roadmap.
Configuration and Permissions
Again, a complete manual is available here with details concerning configuration and permissions. Check this out and read it !
Requests
Don't hesitate to report any problems or make any suggestions here.
as soon as this project is abandoned I plan to take it over If I have enough support plz reply if you wish this project to be continued. (I do not know how long I will be working on it will depend on the donations and people using the plugin)
In reply to miningmincraftplayer:
I will donate $50 to someone for keeping this plugin updated until we hit minecraft 3.0.
https://github.com/SomeRandomGameDevGroup/bukkit-workers
Wow, really like this plugin.
low overhead.. gives towns a bit of life. (really love it doesnt use scripting like citizens.. yeah that makes it a bit more limited but its less overhead.. to see what i mean try the lumberjack denizen... lol love him to death but damn that script cpu useage.)
but its out of date as all nether.
I really like it with the UVVillagers plugin which basically just names villagers after the finder and adds better sieges again. Makes people feel like they have a real town. They care about individual villagers.
But as said before.. this plugin is out of date and shoots up a lot of errors and crashes the server now and then,. And when i restart, people lose their jobs. sigh.
would love to see someone take over this project or at least the idea. If we could at the VERY least.. get it to save... i would deal with the otehr bugs for a while
https://github.com/DrkMatr1984/bukkit-workers
Updated to version 0.4.1 for Craftbukkit 1.6.4. Here's a link to the source if you wish to compile yourself or add functionality. I can probably add the new crops, but give me a few weeks to release a new version. I'll contact the developers about taking over this page or perhaps creating a page for a recode.
Pm me for the new jar. I can't post links to external files here.
https://github.com/SomeRandomGameDevGroup/bukkit-workers ?
I would give it a shot if I could find the source.
UsefulVillagers v0.3.5c works fine for 1.6.2, without any need for gson
UsefulVillagers_0.4.0 works fine on Libigot 1.5.2
I wish i could donate for you, but sorry i cant :(
Good idea but it is not developed enough
thank you!
@diannetea
Yes, it is possible but I'm not sure if it's legal with the terms of the GPL. It is possible to make it run without the startup script yourself by simply packing the contents of the gson jar into the main jar, you can do this with winrar or something similar.
@Joymo
Wow, lol I just checked and you are right. Oh well, it was fun doing a modern recompile of it anyhow, not sure if it's really needed though...
@RTB2011
Is there any way you could integrate the gson into the plugin? I run off of a hosted server and I don't have access to the startup script. :(
Also I'd love it if it could name them now that mobs can be named, Farmer and whatnot
But UsefulVillagers_0.4.0 works fine on 1.4.7...
Hello all, RTB here, author of the now dead PhoenixTerrainMod and it's as of yet incomplete sucessor, the APEX project.
APEX stands for Advanced Programable Enviornment for Xeriscaping (hehe, I like acronyms). It's basically a terrain mod in the design phases. You can read more about APEX here:
http://glacialsoftware.com/?cat=3
I am considering porting UsefulVillagers into APEX and supporting it there as an APEX module. APEX does nothing on it's own and depends on module plugins to do the heavy lifting, it's really just an API. An AI for villagers would work very good into my plans. Please read more about my proposal here, and vote if you'd like to see this happen:
http://glacialsoftware.com/GolemLand/community/threads/apex-general-development-ramblings.87/
And for you Bukkit diehards, this would not require Spout/SpoutServer, in my APEX platform, Bukkit is supported as a target. I'd have a setup guide.
In the meantime, here's a simply up to date package to get the last version running in 1.4.7 bukkit, showing my good intentions. It is largely untested but should work:
http://glacialsoftware.com/VillagersTest.zip
To use, please just extract all that into your bukkit directory, and launch using start.cmd (for windows) or start.sh (for linux). This includes GSON and all the stuff you need, hence the start scripts.
I don't expect to support this plugin in it's current state beyond 1.4.7. I expect however, to take this code and make it do some things way above and beyond what the old bukkit bound framework could do. Please do let me know if you are interested, and thank you to the original author for his very hard work. :)
somone please save this plugin please!!!!!
Also in the config there is this chest: depositymarker: true retrievalmarker: true
but i have found nothing on what this is of course i am assumeing that it is for a chest to take things from and to put things in. but what are the markers? and is it working?
@diannetea
Yeah, that's why I don't use the 4.0. It depends on the Gson, and is having issues otherwise.
Oh good, I'll have to try it again
GsonBuilder error :(
@StrangeOddity
I am currently running the latest build of spigot, which is basically an enhanced modification of the bukkit jar. Villagers keep their jobs and every thing is lovely :)
Sad to see that the plugin has died, however. It must be a great deal of work to maintain.