Перейти к содержимому
Mineforgian

Villager Announcer

Announce Villager Deaths To All Players

Загрузки
891
Подписчики
6
Обновлён
8 августа 2026 г.
Лицензия
GPL-3.0-or-later

Опубликован 5 сентября 2024 г.

Java Version Required: Java 17 (or newer)
Discord Server (Chat/Support): Click to Join Discord
Source Code: Click to View Repository

Do you have a villager hall and hate it when a villager dies mysteriously or without your knowledge? If so this plugin is for you!

Villager Announcer is a higher customizable but simple plugin. By default when a villager is killed or infected it will be announced to all players with the details. It will also play a sound which you can customize.

Optional integration with DiscordSRV is included and enabled by default. If you have DiscordSRV enabled and have a main text channel enabled it will automatically send messages to it. Can be disabled if desired.

Examples: https://i.ibb.co/bsVRh2m/VA-Examples.png

Here is the default config file:

enabled: true
play-sound: true
sound-name: 'ENTITY_VILLAGER_DEATH'

# use 0 for unlimited radius
max-broadcast-radius: 0
# if you're traded with a villager previously then you will get notified
# note this is only compatible on Paper servers
only-broadcast-if-traded-with: false
# optionally limit broadcasts to specific worlds
broadcast-worlds: ['*']
# only broadcasts if they were formally normal villagers
broadcast-zombie-villager-deaths: true
# villagerannouncer.receive-broadcasts
players-require-premissions: false
# if DiscordSRV is installed then send any messages to the main text channel
discordsrv-send-message-to-main-channel: true
# this is only applicable if you have world filtering
# or are using player permisisons
log-messages-to-console: true

messages:
#   all four of these settings will populate the %villager% variable:
  villager: 'villager'
  baby-villager: 'baby villager'
  zombie-villager: 'zombie villager'
  baby-zombie-villager: 'baby zombie villager'

#   populates %location% variable:
  location: '&r( &6XYZ: %x% %y% %z%, &r&ein &r&a%world-name%&r)'
  villager-message-with-profession: '&eA %villager% has died! Profession: %villager-profession%, level: %villager-level% %location%'
  villager-message: '&eA %villager% has died! %location%'
  villager-infection-with-profession: '&eA %villager% has been infected! Profession: %villager-profession%, level: %villager-level% %location%'
  villager-infection: '&eA %villager% has been infected! %location%'
  death-by-entity: '&eA %villager% was killed by %entity% %location%'
  death-by-misc: '&eA %villager% died by %death-cause% %location%'

If you have questions or feature requests please join the discord server.

Ченджлог

1.9.1Релиз26.1.1, 26.1.2, 26.2 · 8 августа 2026 г.
  • add new permission villagerannouncer.ignoreplayer that will ignore any players with this permission
1.9.0.2Релиз1.21.9, 1.21.10, 1.21.11 · 27 марта 2026 г.

Changes from v1.8:

  • only Paper servers are supported now
  • add check to disable itself if not running on a Paper server
  • villagers with custom names will be announced
  • new config options for nametagged villagers
  • toggle command messages are now configured in config.yml
  • fixed permissions issue with toggle command
  • in config.yml removed villager-message-with-profession and villager-infection-with-profession. Added villager-with-profession to replace those strings
  • fixed clickable, hover and other links not working in messages
  • fixed typos in config.yml
1.8.0Релиз1.21.9, 1.21.10, 1.21.11 · 29 января 2026 г.

Changes since 1.5.0:

  • add option to mute villager sounds per person: toggle
  • add support for EssentialsX Discord
  • add support for a randomized list of sound names to play upon villager death
  • new command: test-sound (sound name)
1.5.0Релиз1.20.6, 1.21.1, 1.21.3 · 30 ноября 2024 г.

add support for wandering trader with unique messages and sound

1.4.0Релиз1.20.6, 1.21, 1.21.1 · 4 октября 2024 г.

Kyori Adventure / MiniMessage is now used for chat processing. This allows for things such as embedded URLs and easy message formatting. Note the new syntaxes in the config.
Please note that the config will be reset with the new syntaxes. Apologies if you have customized your messages. However you can now do things like embed a link to open to your dynmap to the location where a villager died.

1.3.1Релиз1.20.6, 1.21, 1.21.1 · 30 сентября 2024 г.
  • correctly identify drowned as the killer when a villager is converted by a drowned using a trident
  • fix typo in the jar file name
1.3Релиз1.20.6, 1.21, 1.21.1 · 27 сентября 2024 г.
  • infected message shows the entity that infected a villager
  • mob types and death type messages are no longer in all upper case
  • fix config not using a customized zombie-villager message
1.2Релиз1.20.6, 1.21, 1.21.1 · 5 сентября 2024 г.
  • new feature: max-broadcast-radius: set the max range that the broadcast will reach
  • new feature: only-broadcast-if-traded-with: only notify players if they have traded with the villager previously (Paper only servers)
  • now compatible with minecraft versions 1.16+

Комментарии

Загружаем…