
| 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.
Сервер для плагина Villager Announcer - как у профи
Плагин Villager Announcer создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином Villager Announcer для друзей можно за пару минут - BungeeHost всё уже подготовил.
