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!
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
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta