[SEC/FIX] FireControl 1.11 - Control Spreading, Punching Out, Rain, Lightning, Lava and Damage [740]

Discussion in 'Inactive/Unsupported Plugins' started by askmeaboutlo0m, Apr 24, 2011.

  1. Offline


    Controls fire spreading, destroying blocks, extinguishing by punching, rain and snow putting out fire and damage to players - control the fire and stop the griefing.

    Attention: The RainPutsOut and SnowPutsOut feature cause a very strange, inexplainable bug in Craftbukkit that makes snow appear in biomes it should not, even though the plugin never changes a block to snow.
    Turn both options to "off" until the next version to fix this issue.

    Version: 1.11

    Only works with Craftbukkit build [733 - 740].
    Supports Permissions v2.7 (Phoenix).
    Please give me feedback, ask any questions you like and/or provide suggestions!
    Thank you!

    (functions can be individually turned on and off)
    • Stop fire spreading (even with the new way fire spreads)
    • Disable blocks being destroyed from fire
    • Disable fire from lightning
    • Disable fire from lava
    • Enable punching out fire in SMP
    • Prevent fire damage to players
    • Make rain and/or snow extinguish fire
    • In-game toggling of features
    • Permissions support
    Download (JAR file) | Source (ZIP file)

    This plugin will create a FireControl folder in your plugins folder with two files in it:​
    FireControl.properties, which will contain the default settings of every feature and can either be changed directly by altering the file or through console or in-game commands.​
    RainPassThrough.txt, which contains all materials that rain can pass through to extinguish fire. This file can only be changed manually by just opening the file and adding/removing materials.​

    Show Spoiler

    /FireControl on it's own will list all functions and if they are enabled or disabled.​
    /FireControl [Function] will show the status of the named function,​
    /FireControl [Function] true will enable the function and​
    /FireControl [Function] false will disable it.​

    [Function] can be:​
    FireSpread - if disabled fire will not spread (default: disabled)​
    FireDestroyBlocks - if disabled blocks will not be destroyed by fire (default: disabled)​
    PunchOutFire - enables or disables players to punch out fire like in SSP (default: enabled)​
    FireDamage - enables or disables damage dealt by fire (default: enabled)​
    LavaFire - if disabled lava will not cause fire (default: disabled)​
    LightningFire - if disabled lightning will not cause fire (default: disabled)​
    RainPutsOut - if enabled rain will put out fires (default: disabled)​
    SnowPutsOut - if enabled snow will put out fires (default: disabled)​
    NetherrackException - if enabled rain/snow won't extinguish netherrack (default: enabled)​
    reload - reloads the files in the FireControl folder (e.g. after altering them)​
    version - displays the current version​

    Show Spoiler

    /fc for /FireControl
    Spread or sp for FireSpread
    Destroy or fd for FireDestroyBlocks
    Punch or p for PunchOutFire
    Damage or dmg for FireDamage
    Lava or lv for LavaFire
    Lightning or ln for LightningFire
    Rain or r for RainPutsOut
    Snow or sn for SnowPutsOut
    Netherrack or n for NetherrackException
    ver for version
    on or enable for true
    off or disable for false

    RainPassThrough file:
    Show Spoiler

    The RainPassThrough.txt file specifies which blocks rain can pass through to extinguish fires.​
    The default materials are air, fire, snow (not snow blocks), wall signs, buttons, levers, water and lava.
    You can for example add leaves to make rain extinguish fires even on the bottom of trees.​
    A list of all materials is in the Bukkit documentation.​
    Please note that changes will not be visible in the rain or snow itself, but they will affect fire being extinguished or not.​

    When Permissions is not used the plugin will default to ops.​
    Then everyone can run /FireControl to see the status of functions, but only ops can use any arguments.​
    Permission nodes are:​
    firecontrol.check for the /FireControl command alone and​
    firecontrol.command for any arguments.​

    Rain and/or snow will extinguish fires (if enabled) once a storm starts and it will put out any fires that players try to start in the rain. You as a player might see fires far away being still on in the rain, but they will be extinguished once you get close. This has to do with performance, I didn't want to check 81 chunks per player all the time.​
    While it is possible to disable FireDestroyBlocks and enable FireSpread, it is not advised to do so as it will just make the fire move around erratically. Especially on smaller burns the plugin will make it go out after a while, but a forest fire might create lots of lag on your server since the fire will keep spreading without losing flammable material.​
    Also thanks very much to Samkio and his Tutorial, it really helped me a lot understanding how to make a plugin.​

    To Do:
    • Receive feedback
    • Add an option that players can't light each other on fire
    • 1.11 - Download (JAR file) | Source (ZIP file)
      • Fixed strange bug with snow appearing in wrong biomes or not...
      • Rewrote some rain stuff for more performance
    Show Spoiler

    • 1.1 - Download (JAR file) | Source (ZIP file)
      • Added seperate parameters for spreading, lava and lightning
      • Added rain and snow extinguishing fire
      • Added version and reload command
      • Fixed error with version command
      • Changed how permissions are handled
    • 1.0 - Download (JAR file) | Source (ZIP file)
      • Initial release (for [684] and [714])
  2. Offline


    This is great, Thanks alot.
  3. Offline


    Thank you for liking it^^
    Since a recommended build for 1.5 is out I'll soon update this with rain, lightning and some other things. It's already nearly done.
  4. Offline


    Seems to work really well! Fire can be set, but does NOT spread. Only tested fire from flint&steel. Did not test lightning, lava, etc... but the "spread" limit should work regardless of the source.

    suggestion: please create a FireControl folder and place the config or .properties in there.
  5. Offline


    The way it is now it stops all fires except flint and steel and additionally has some things to stop fire spread.
    The next version has seperate commands for lightning and lava but I don't want to release it before it's gone through some testing.

    My thought on that was that I only need one file anyways: the config file.
    And creating a folder for one single file seems a bit excessive, but I can of course do that.
  6. Offline


    for me and my worlds, I don't care about fire ignition at all. I only care about limiting the spread. If it cannot spread, then how much damage can it do?

    Regarding the FireControl folder... I totally understand what you're saying. But of the 27 plugins that I'm running, none of them place a config file in /plugins. All of them that have a config make their own folder for it. Most only have one file. Keeps things tidy. :)

    Keep up the good work!
  7. Offline


    I did it this way with version 1.1 since I need space for two files anyways :p
    Thanks for your feedback^^

    So now there's more parameters for spread, lightning and lava and an option for rain and/or snow putting out the fires.

    Edit: Oops, the /fc command without any arguments was throwing errors because I put the version command in the wrong spot. Fixed now!
  8. Offline


    The last change has to be visible (non-spoiler), others can be spoilered
  9. Offline


    Okay, fixed.
    //Hey, thanks for putting it up so quickly.
  10. Offline


    well this certainly makes alot of other fire plugins redundant
  11. Offline


    Thats a reason why I made this plugin, there was no way to actually control fire, only either small single fixes or the huge WorldGuard that only works with WorldEdit.
    And as far as I know there is no plugin that makes fire be extinguished by rain properly (there is one that only prevents lighting fires in rain though).
  12. Offline


    yes its perfect .... firecontrol + blastcontrol is all i need for block protection i then employ residence perfect thanks for making this plugin which controls every aspect of fire one could hope for.
  13. Offline


    Right, not a huge issue, for it's not terribly important to me personally; but it might be to others.

    I'm running Bukkit 733, and fire spreads quite gleefully even with this plugin set to disable it. It doesn't burn anything, but it does spread. (As in, breaking blocks from fire is quite happily disabled, but it still spreads).

    Just thought I'd put that out there..!
  14. Offline


    Can you post your config file?
    And maybe have a look if the plugin reported any errors.
    Because it was working just fine with 733 and works now with 740.
    //Oh, and do you have any other plugins that might be conflicting?
    ////I just tried it out with Craftbukkit build 733 without any other plugins and it worked fine. So maybe paste the config file here and list what plugins you're using.
  15. Offline


    Anyway we can have the configs per-world?
    AS1LV3RN1NJA likes this.
  16. Offline


    Good plugin. However since I installed it I got a HUGE cpu-load increasing (from 35% to 95%) when raining.
    Since I disabled the option "RainPunchOut fire", it was back to 35%.

    Maybe a problem with huge functions ?
  17. Offline


    I can try to implement that, but it will take a bit of work.

    Do you mean RainPutsOut? :p
    Because that one definitely increases CPU load, it has to check a lot of chunks.
    I am rewriting that part anyways since it's causing problems though.
    PunchOutFire should not be increasing CPU load since it doesn't continuously check for new fires.
  18. Offline


    Installing now. My users with all of their woolen and wooden structures, Thank You!
  19. Multiworld support would be great.
  20. Offline


    Yes, I meaned it. :p

    Good luck, and thanks for the fast answer.
  21. Offline


    Fire still spreads :O
  22. Offline


    No it doesn't.
    If you are experiencing issues tell me which version of Craftbukkit you're using and give me a copy of your config file.
    Also, look if there's any errors being thrown by a plugin.
  23. Offline


    Great plugin, thanx very much!
  24. Offline


    Are you sure, that you fixed the bug with snow appearing in wrong biomes? Because there is still
    snow appearing, when it rains on my server.
  25. Offline


    I thought I fixed it, lemme look into it again.
  26. Offline

    Drei Gyuu

    Has anyone ever had a problem with the liquids in the game not flowing properly while using this mod?

    Any fix for it?

    It starts out fine for me, and then after a while the water will not flow properly anymore. like you put down water and even after you kill the source you still see the water that flow from the source still there sitting on the ground. and they wont go away. Normally water goes away after you kill the source.

    I always have to restart my server to fix this issue but it always comes back.
  27. Offline


    It's usually lava for me, but I didn't link the issue to this plugin. Doesn't happen that often though.
    In most cases I just put blocks over it, destroy the blocks afterwards and problem solved. No need
    for a server restart.
  28. Offline


    I had this problem before this mod too.
    Usually my problem is though that the water I take with a bucket does not get updated until I make it update again.
    Also this plugin has nothing to do with water flowing and doesn't change it's behavior. However, there seem to be weird Craftbukkit bugs like that snow suddenly falls in savannas.
  29. Offline

    Drei Gyuu

    Apparently in my case the problem was because I lock the time, so the liquids in the game wont flow. It does make perfect sense. Hope you guys resolve yours :D just sharing the solution for my problem
  30. Offline


    Yeah, it's kinda annoying. Hope you can fix this.

Share This Page