Skip to content

Commands and Permissions

DynaDev edited this page Aug 12, 2026 · 1 revision

Commands and Permissions

Commands

Command Description
/townyalerts status Shows TownyAlerts, Towny, DiscordSRV, language and storage status
/townyalerts test Sends a test notification to the configured Discord channel
/townyalerts reload Reloads TownyAlerts configuration and language files
/townyalerts storage status Shows the currently configured storage backend and state
/townyalerts storage test Performs a safe storage connectivity/query test

Permission

Permission Description Default
townyalerts.admin Grants access to TownyAlerts administrative commands OP

/townyalerts status

Use this command first when diagnosing a problem.

It may display information such as:

  • TownyAlerts version
  • Towny detected/not detected
  • Towny version
  • DiscordSRV detected/not detected
  • DiscordSRV/JDA readiness
  • Configured Discord channel state
  • Requested language
  • Resolved language
  • Storage type
  • Storage state
  • Storage server ID

Passwords and sensitive database credentials are never displayed.

/townyalerts test

Sends a test notification through the configured DiscordSRV connection.

It is safe to use during normal operation because it does not trigger Towny economy logic.

/townyalerts reload

Reloads TownyAlerts configuration without reloading Towny or DiscordSRV.

It also reloads language packs and storage configuration.

If a newly configured storage backend fails to initialize, TownyAlerts is designed to contain the failure instead of affecting Towny.

/townyalerts storage status

Shows the current storage mode:

MEMORY
SQLITE
MARIADB
MYSQL

and its current state.

/townyalerts storage test

Performs a harmless connectivity/query test.

It does not create Towny events or change Towny economy data.

Clone this wiki locally