SplashExtinguish
SplashExtinguish
SplashExtinguish is a Plugin that lets you extinguish fires by throwing splash potions at it!
Installation
Just put the SplashExtinguish jarfile into your plugins directory and reload or restart your server! The configuration file will be located in plugins/SplashExtinguish. Edit it according to your needs and reload your server again.
Configuration
There are a total of three configuration values:
- range: A value in blocks how far away fires will be extinguished.
- success-pct: A percentage of how high the chances are to extinguish a patch of fire
- allowed-list: A comma separated list of potion types that can extinguish fires. Prepend an exclamation mark ('!') to invert the sense of the list and make it into a blacklist. Added in v0.2.
- Valid values are:
- FIRE_RESISTANCE
- INSTANT_DAMAGE
- INSTANT_HEAL
- INVISIBILITY
- MUNDANE
- NIGHT_VISION
- POISON
- REGEN
- SLOWNESS
- SPEED
- STRENGTH
- WATER - not available as a splash potion
- WEAKNESS
- Examples:
- Allow all potions (default):
allow-list=!
- Disallow all potions:
allow-list=
- Allow all potions except mundane potions and instant damage potions:
allow-list=!MUNDANE,INSTANT_DAMAGE
- Allow only instant health potions:
allow-list=INSTANT_HEAL
- Allow all potions (default):
- Valid values are:
Changelog
v0.1
- Initial release
v0.2
- Added a config parameter for specifying the potion types that can/can't extinguish fires
- Updated list of water-permeable blocks
Known bugs
- None at the moment.
-
View User Profile
-
Send Message
Posted Jan 18, 2014@DypoX
Implemented your feature request, just waiting for the new version to get approved.
Also, the bug with mundane splash potions has been fixed, that means mundane splash potions work now!
-
View User Profile
-
Send Message
Posted Jan 12, 2014Please add a function to control which potions will extinguish fire and which not.
Thank you, DypoX
-
View User Profile
-
Send Message
Posted Oct 12, 2012@TheEvilSocks
Hmm, just tested it, and indeed, it doesn't work for mundane splash potions. As I don't check for specific potion types the only reason for this can be the PotionSplashEvent not getting fired for mundane splash potions.
Looking through the bug tracker I found this: https://bukkit.atlassian.net/browse/BUKKIT-2030
As mundane splash potions don't have any effect, they don't work. Unfortunatly we can only wait and see if this will get fixed.
-
View User Profile
-
Send Message
Posted Oct 7, 2012It doesnt work with Mundane splash potions, please add them ;3
-
View User Profile
-
Send Message
Posted Oct 6, 2012@Torondork
Aww, forgot to add the fact that this is done with splash potions to the description. Fixed it right away, thanks for that! Throwing water bottles won't work, as there are no throwable versions of water bottles, but you will have to use splash potions of any kind. Mundane splash potions are quite cheap to make. (By adding sugar and gunpowder to a water bottle)
EDIT:
Sorry, mundane potions don't work due to a bug.EDIT 2: Mundane splash potions work now!
-
View User Profile
-
Send Message
Posted Oct 2, 2012This has great potential for my server where I want to have a fire station to deal with the wildfires that spring up. But despite the name of your plugin, I don't see where you have to throw anything / do anything to get a "splash". Will you be adding something like... throw a water bottle or potion of some sort and put out fires? If you could do that with plain water bottles, that would be wonderful! -T