VillagerBlock

Info
You can prevent some forbidden attacks on villagers. Plugin have many settings.
You can use WorldGuard or Residence plugin and disable attacks on villagers only in regions/areas. But you can use this plugin without feature.
Please, write your suggestions and bugs in the comments, thanks.
This is my second public plugin.
Links
Configuration
log: true # log attempts to kill villagers? log_deaths: true # log death position of villagers regions: use: true # use plugin? plugin: worldguard # worldguard or residence block: attack: true # block player attack snowball: true arrow: true potion: true zombies: true fire: true fall: true lava: true egg: true tnt: true drowning: true creeper: true trade_block: use: false # block trading with villagers? block_only_in_protects: true # players can't trade only in region (WG/residence) where they cant build? messages: cantkill: You don't have permissions for kill a villager. # message if player tried to hit a villager in protect cantkill_all: Killing villagers is disabled on this server. # message if player tries to hit a villager, but player dont have any permissions to do this canttrade: You can't trade with villagers.. # message if player tried to trade with a villager canttrade_protect: You can't trade with villagers in this area! # message if player tried to trade with a villager - in region (global)
Permissions
villagerblock.cankill - player can hit/kill villager in region etc. (OP default)
villagerblock.reload - permissions for reload plugin (OP default)
villagerblock.trade - if [use=true] and [block_only_in_protects=false] then player can trade with villagers (OP default)
Commands
/vreload - in-game reload plugin config
Installation
Stop the server and upload a plugin. Now you can start the server. Plugin will generate a config file (/plugins/VillagerBlock/config.yml) and you can edit it. After edit use a /vreload command.

-
View User Profile
-
Send Message
Posted Sep 16, 2012Very Very usefull plugin.. thansk.. i have a villager Town on my server where ppl can trade they emeralds.. and this is just suberb.. thumb up !
-
View User Profile
-
Send Message
Posted Sep 15, 2012@nipper4369
Ok, I will add this to my todo.
-
View User Profile
-
Send Message
Posted Sep 4, 2012Also using r2 it seems to not block killing them at all. Players can still kill the villagers.
-
View User Profile
-
Send Message
Posted Sep 4, 2012Hmm, This plugin does not log who killed the villager. It just says they died. I would like to put player name as a request. To tell who is doing it. Maybe even a broadcast message if a villager is killed by a player would work as well. Then have it log in the server.log file.
-
View User Profile
-
Send Message
Posted Aug 29, 2012Thank you devs, your plugin is great and very important
-
View User Profile
-
Send Message
Posted Aug 28, 2012@Gavagai12
yes but I think this is the only one that stops zombies from killing villagers.
-
View User Profile
-
Send Message
Posted Aug 20, 2012Thanks. This plugin is primary for my servers, but I released this plugin for public, for new ideas etc. Maybe someone will use it :)... And sorry for my bad english...
-
View User Profile
-
Send Message
Posted Aug 20, 2012Looks nice, but I thing it is something like the third or fourth Plugin to protect Villagers.