Mineuniverse
Log in Register
Plugins

VillagerBlock

You can turn off the attacking villagers. Plugin has many settings.
by _ForgeUser8171486
Download Claim this project
6,234 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Anti-Griefing Tools

Header

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

Source Code Source code (github)

Download Download

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.

MCstats

VillagerBlock 1.5
MC CB 1.4.6-R0.1
Release 2012-12-30 Get
VillagerBlock 1.4
MC 1.4.2
Release 2012-10-29 Get
VillagerBlock 1.3
MC 1.3.1, 1.3.2
Release 2012-08-22 Get
VillagerBlock 1.1
MC 1.3.1, 1.3.2
Release 2012-08-20 Get
VillagerBlock 1.2
MC 1.3.1, 1.3.2
Release 2012-08-20 Get

More from _ForgeUser8171486

Project table dupe bug fix
4,138

You Might Also Like

WorldGuard
WorldGuard
9,807,705
Residence
Residence
992,603
SWatchdog
SWatchdog is ultralightweight blocklogger, similar to bigbrother. Also allows to rollback griefs in specified area
93,216
Limited Creative
Separated inventories for diffrent GameModes. No Diamand Armor
86,801
Account
Account
9,918
ChunkAutoClaimer
A 100 % automatic Anti-Grief plugin. Claims chunks wherever you build.
9,810