This simple plugin will prevent players from throwing splash and lingering potions whilst inside towns. Simply place in your plugins folder and restart your server!
- Tested Minecraft Versions:
Obviously, this plugin requires Towny.
This plugin was made for 1.12, however a legacy version for 1.8 is also available.
Once you run for the first time, a config will be generated. There are two options in the config:
denymessage - This is the message sent to a player when they try to throw a potion in a town. This should be surrounded by " marks and color codes (&c, &3, etc.) can be used.
allowres - This can be true or false. If false, NOBODY can throw potions in towns. If true, residents of the town are able to do so.
Unfortunately there's currently no reload command for the config, so just restart your server.
If you encounter any bugs or issues please let me know using the
This is my first plugin by the way, so enjoy! If you feel like supporting me for making it you can donate at https://www.patreon.com/vggerbil