TownyNotifier
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 notificationsmessage: string - notification message displayed;- Can contain all standard Minecraft formatting codes, either using the section symbol (§), or, because using § can be a pain, the ampersand (&) can be used in its stead.
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.commandstownynotifier.help- allows using the help commandtownynotifier.interval- allows usage the interval set commandtownynotifier.message- allows usage of the message set commandtownynotifier.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!
-
View User Profile
-
Send Message
Posted Jul 29, 2013I wanna know what causes this. I am building a sort of park area in the town homeblock (chunk). I have to reload multiple times to get plugins with custom items to build with. (I use spout) The third time I reload, the server crashes, forcing me to restart the server. And guess what? The homeblock is gone, but nothing else. Shop plots still have log borders. There's still pathways around. Even the tropishop stood in place, and a ton of things were built on it.
Does anyone know how to stop the homeblock destroyed after restart?
-
View User Profile
-
Send Message
Posted Jun 20, 2013@XeonG8
The base use is to warn a user when breaking/placing blocks (which I'll just call 'building' now) in a plot they don't own, without completely disabling it.
This is aimed at a number of things:
-
View User Profile
-
Send Message
Posted Jun 17, 2013What is so useful about this plugin?
-
View User Profile
-
Send Message
Posted Jun 16, 2013@dragondeatth @Gaz_Lloyd
I think previous versions should work with the section symbol
§, but since this is a pain when not directly editing the config, v0.4.4 onwards support using&in its place (§ will still work though).If there's demand I can add an option to choose a symbol, but for now just
&.-
View User Profile
-
Send Message
Posted Jun 11, 2013@dragondeatth
Will be in the next update!
-
View User Profile
-
Send Message
Posted Jun 10, 2013Color code support for the messages, please :D