Complete Villager Control
Complete Villager Control
Warning Experimental server mod!
Lets make this short and simple. I'm not responsible for anything that may happen while using my mod! Give credit where it is do.
Summary
This plugin is a easy and simple way to Control any Villager. As of the This moment There is Some Things that can be Done.
- Display Villager Info.
- Set Villager Overridden Class
- Set Age
- Set Health
- Set Profession
- Set Breeding Status
Some things that are sorta working at this moment are the are Villager speech and Villager AI replacement.
Things i tend to work on is a Villager Database That work asset in speech and AI.
How To Use
- Display Info
- Requires a Stick in Hand
- Right Click Selects Villager
- Left Click Displays Villager's info
- This includes Disabled/Enabled, Age, Health, Profession, Breeding-status
Commands
- /cvc enable
- /cvc disable
- /cvc setage <age>
- /cvc setHealth <health>
- /cvc setProfession <profession>
- /cvc setbrdstatus <true/false>
Files
This is the First Alpha posted on the Git Repo on Github.
Installing
- Simply drop the CVC.jar into your server's plugin folder.
- Restart the the server.
- And Enjoy.
FAQ?
This needs to be filled in as i Get them
Topic is dead??????
Hello man)
I'm from Russia - my english is bad)
So. I need a plug-in no-limit trade with villagers.
Now you can trade from two to thirteen times with villagers.
Can you write a plugin???
Can I control what villagers sell/buy?
Example 1a: EVERY villager replaces emerald with gold nuggets with one command. Example 1b: ONE villager replaces emerald with gold nuggets. Example 2: I make the villager sell one iron chestplate for 30 goldnuggets. If ex 3 is "true": /cvc buy/sell set/add xx:xx (item) xx:xx (price) (where x is an unverified number)
Nice to have the code here. I'm not very comfortable with the "hijacking" part (overriding the method e() - I should have preferred that the bukkit team extends the API to this) as you never know if a refactor will smash your work.
By the way, well done. It can be very useful for an AI plugin. Thank you.
Sorry for the lack of response School and work and family life have kinda taken over for the moment but there many options i want to work on.
and at this moment it seem they are reworking the villagers so kinda holding back tell 1.3 for the next update.
again sorry for the lack of response.
and yeah they do spam you that was me checking and how fast i could make the villager update before lagging seem like 100 or so talking at once really slows the server down
and and feell free to hit me up with ideas you may have. or if you want to help
Any chance of a future option to allow villagers to equip bows to defend from enemies? Zombies/hostile players. Other mob types configurable.
Is it just me or whenever I approach a villager it spams "Hi there my friend" on my chat window?
Requests:
1) allow red-flowers (or a configurable item) to attract the villagers like you would use wheat for a sheep, fish cat, bone dog.
2) configurable to let the attract item to cause them to mate. Personally I like the default system for spawning new villagers, but I could see some servers wanting it to be manual.
3) config options For example:
BrdStatus:True/False - automatically enable brdstatus if set to true
Profession:
default: 20
farmer: 20
librarian: 20
priest: 10
blacksmith: 10
butcher: 20
(the above showing the % of chance they have to spawn when a villager spawns)
growup: true/false - do baby villagers age?
health: 20 - how much health do villagers have when they spawn
item: 38 - itemid they follow (from #1)
itemmate: true/false - does right click with the item cause them to breed (from #2)
@nikon662
Sorry about that The Debug tool(A Book) does cycle through the Profession's planning on another update in the next few days, I will Also try to Get the info together a little bit better. that is not really my strong suit so please bear with me for the next few updates. But i'm glad that the first test release does kinda work.
-Gatz85
I have downloaded this and so far it works. something you should edit in the description up there are some of the Professions, unless there is only Farmer for right now.
I will test this very soon and fill in a report if necessary~ ^^