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.
@TesCZ
je někde česká verze popisu ?
Is there a way to disable the text chat that pops up when you cant hit the villagers? It would be great if you could make it toggleable! Thanks :P
I will update plugin this weekend
Can't wait. This is essential. :D
Next update will be soon!
@TesCZ
Thanks ;)
@H8llfire
Ok, I will add it in next update.
So what about my suggestion? To make trading only possible in Worldguard areas?
http://dev.bukkit.org/server-mods/villagerblock/files/6-villager-block-1-5/
@TesCZ
Hey thanks man, the update seems to be great. I will try it out later :D
EDIT: How it works right now I would need it the other way round, too. So that it only allows in WG areas to trade. Not to block in WG areas, if you could add that.
@H8llfire
added
Updated, waiting for approval.
Useful! Thanks! I need this since I'm using Gringotts economy which is based on emeralds.
I will update this plugin to 1.4.5 and I will fix bugs soon...
@H8llfire
Ok, I will add this
Could you add a trading option to this, to change what villagers trade with players?
@Welite
1.4.2 už je nahraná i na bukkitdev, ale ještě mi ji neschválili :)
Hlavně aby ta verze 1.4.2 vyšla :D
Any ideas for new version? (for MC 1.4.2)
Happy i found this. Exactly what i needed :D Thank you!