-
Notifications
You must be signed in to change notification settings - Fork 0
Home
TownyAlerts is a lightweight community addon for Towny, created by DynaDev.
It listens to official Towny events and sends administrative alerts to Discord through the server's existing DiscordSRV connection.
TownyAlerts is intentionally observational: it does not change Towny taxes, upkeep, balances, towns, nations, residents, or New Day processing.
- Towny New Day summaries
- Town bankruptcies
- Towns entering ruins
- Fallen towns and nations reported by Towny
- Missed/scheduled New Day notices after downtime
- Optional persistent event history and deduplication
- Discord integration through DiscordSRV
- No additional Discord bot token
- No webhook required
- Per-event Discord channel routing
- Dynamic language packs
- American English and Latin American Spanish included
- Custom community translations
- MEMORY, SQLite, MariaDB and MySQL storage
- Asynchronous Discord and storage operations
- Failure isolation: Discord/database failures do not interfere with Towny
- No telemetry
- No external update checker
- Towny
- DiscordSRV
- Java 17 or newer, depending on the Minecraft/server version
- Paper or Purpur for the supported modern Towny range
- Install Towny and DiscordSRV.
- Place the TownyAlerts JAR in the server's
plugins/directory. - Start the server once.
- Edit
plugins/TownyAlerts/config.yml. - Set the Discord channel ID.
- Restart the server or run
/townyalerts reload. - Test the integration with
/townyalerts test.
TownyAlerts works without an external database.
storage:
type: memoryThe default language is English:
language: "en"en resolves to the bundled en-us.yml language pack.
TownyAlerts never assumes that a Towny action succeeded just because its scheduled time passed.
Normal runtime alerts come from official Towny events. Missed New Day recovery distinguishes between a scheduled time that has passed and a New Day that can be independently confirmed.
Use the sidebar to continue through the documentation.
TownyAlerts — Community Towny alerts for Discord via DiscordSRV. Created by DynaDev.
TownyAlerts Wiki
- Home
- Installation
- Configuration
- Discord Setup
- Alerts and Events
- Commands and Permissions
- Languages
- Storage
- Missed New Day
- Compatibility
- Troubleshooting
- Security and Privacy
- FAQ
TownyAlerts
Created by DynaDev