Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stumper66 committed Aug 28, 2024
1 parent cc301e4 commit bacc942
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Villager Announcer

This minecraft plugin will announce villager deaths, infections and more to all players on the server.
Just place the jar file into your plugins directory and you're good to good.

You can change the options in config.yml:
```yaml
enabled: true
play-sound: true
sound-name: 'ENTITY_VILLAGER_DEATH'

broadcast-worlds: ['*']
# only broadcasts if they were formally normal villagers
broadcast-zombie-villager-deaths: true
# villagerannouncer.receive-broadcasts
players-require-premissions: false

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%'

# Available variables:
# %villager%
# %player%
# %entity%
# %entity-type%
# %death-cause%
# %world-name%
# %world-type%
# %villager-profession%
# %villager-level%
# %villager-experience%
# %villager-type%

file-version: 1
```
Questions or feature suggestions? Join the [discord](https://discord.gg/arcaneplugins-752310043214479462) server.

0 comments on commit bacc942

Please sign in to comment.