promotional bannermobile promotional banner

TownyNotifier

Notifier plugin for Towny, warning users about building in plots they don't own

About

A bukkit plugin that hooks with Towny, to notify users when placing or breaking blocks in plots they don't own, without preventing them from doing so.

This plugin requires Towny!

Commands

Commands available:

  • /townynotifier//townynotifier ? - displays help
  • /townynotifier reload - reloads config from file
  • /townynotifier set interval <int> - sets the interval between notifications, in number of block breaks/places; if blank, displays the interval
  • /townynotifier set message <msg> - sets the notification message; if blank, displays the message

By default, the console can do all commands, as can ops.

Configuration

See here for the default configuration

  • block_break_interval: integer - number of block place/breaks between notifications
  • message: string - notification message displayed;
  • plots: boolean - whether the notification occurs (true) or does not (false) when placing/breaking blocks in that plot type - see here for more details on each

Permissions

  • townynotifier.commands
    • townynotifier.help - allows using the help command
    • townynotifier.interval - allows usage the interval set command
    • townynotifier.message - allows usage of the message set command
    • townynotifier.reload - allows usage of the reload command
  • townynotifier.ignore - the player will never be notified about building/destroying outside the allowed plots

Without using a permissions plugin (and by default) ops get townynotifier.commands and no one gets townynotifier.ignore.

Planned Additions

Future additions planned:

  • Option to instead notify the user based on time - the user is notified once and then not notified again until [defined time] has passed.
    • An option to do both of them - the user is notified every [defined integer] blocks, and on the first block after [defined time] since the last notification (more clarification on this when ready)
  • An admin-toggleable, player command to temporarily turn off notifications (e.g. if the player is strip-mining in the wilderness, far from any town and so should be fine to do so, they can turn off the message for [defined time]; the ability to do this can be toggled in config)
  • Also trigger on use of certain items, possibly?
  • Suggestions welcome!

The TownyNotifier Team

profile avatar
  • 1
    Projects
  • 2.4K
    Downloads