MonitoringMinecraft MonitoringMinecraft

TownyAlerts

Плагин PaperPurpur

TownyAlerts is a lightweight Towny addon that sends New Day, bankruptcy, ruin, and town/nation alerts to Discord through DiscordSRV. It supports multiple languages and optional Memory, SQLite, MariaDB, or MySQL storage.

1 скачивание 0 подписчиков
Оцените первым

banner

TownyAlerts is a lightweight community plugin created by DynaDev that listens to official Towny events and sends administrative alerts directly to Discord through DiscordSRV.

It does not modify Towny, taxes, upkeep, towns, nations or player balances. TownyAlerts works only as an observer and notification layer.

Features

  • Daily Towny New Day summaries
  • Town bankruptcy alerts
  • Town ruin alerts
  • Fallen town and nation notifications
  • Missed New Day detection after server/plugin downtime
  • Discord messages through the existing DiscordSRV bot
  • Separate Discord channels per event type
  • Dynamic language system
  • Included languages:
    • en-us — American English
    • es-cl — Latin American Spanish
  • Custom community language files supported
  • Optional storage:
    • Memory
    • SQLite
    • MariaDB
    • MySQL
  • Persistent event deduplication
  • No telemetry
  • No update checker
  • No Discord webhook or additional bot token required

How it works

TownyAlerts listens to Towny's official Bukkit events.

When events such as a New Day, bankruptcy or ruined town occur, the plugin creates a notification and sends it asynchronously through DiscordSRV.

Discord and database failures are isolated and will not interfere with Towny's normal operation.

By default, no database is required.

storage:
  type: memory
SQLite, MariaDB and MySQL can optionally be enabled for persistent event history and deduplication.

## Commands

| Command | Description |
|---|---|
| `/townyalerts status` | Shows plugin, Towny, DiscordSRV, language and storage status |
| `/townyalerts test` | Sends a test notification to Discord |
| `/townyalerts reload` | Reloads TownyAlerts configuration and languages |
| `/townyalerts storage status` | Shows the current storage backend status |
| `/townyalerts storage test` | Tests the configured storage connection |

## Permissions

| Permission | Description | Default |
|---|---|---|
| `townyalerts.admin` | Allows access to all TownyAlerts administrative commands | OP |

## Requirements

- Towny
- DiscordSRV
- Java 17 or newer, depending on your Minecraft server version

TownyAlerts is designed around Towny's current Minecraft support range from **1.19.x through 26.2.x**.

Current compatibility is focused on **Paper and Purpur**.

## Languages

Set the language in `config.yml`:

```yaml
language: "en"

Examples:

en
en-us
es
es-cl
es-mx
fr
fr-ca
en-uk

Language identifiers are case-insensitive.

Custom language files can be added to:

plugins/TownyAlerts/languages/

Missing translations automatically fall back to en-us.

Смотри также

Похожие подборки плагины — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
333 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
SparkTime
SparkTime Bedrock
57 онлайн
1.0 — 26.20 версия
SparkTime | Анархия на телефон
PazikCraft
9 онлайн
1.17 — 26.1.2 версия
Ванильное выживание со свадьбами, прокачкой боевых навыков и голосовым чатом
Mineland Network
117 онлайн
1.8 — 26.2 версия
⚔️ АНАРХИЯ 🔥 СКАЙБЛОК 🛏️ БЕДВАРС 🏗️ КРЕАТИВ+ 🌟 МНОГО РЕЖИМОВ
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 26.1.1. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат