[ADMIN] SafeFire - Enable/Disable fire burning/spreading. [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by Paulpkyou, Sep 18, 2011.

  1. Offline

    Paulpkyou

    [​IMG]

    SafeFire - Enable/Disable fire burning/spreading:

    Well I have known java and many other programming languages for a while but I never made any Bukkit plugins, so here is my very first Bukkit plugin, this plugin will allow you to Enable/Disable fire burning/spreading, it will also alert you if someone places fire.

    Features:
    • Disable Fire.
    • Disable Fire Burning.
    • Disable Fire Spreading.
    • Alert when fire is placed.
    Commands:
    • /sf - Displays Help.
    Permissions:
    • SafeFire.commands => Allows you to use "/sf" commands.
    • SafeFire.place => Allows you to place fire.
    Download:

    Moved to BukkitDev!
     
  2. Offline

    Grimo

    3 Thumbs Up for this plugin...
    I have 3 hands.
     
  3. Offline

    LSDx

    Big thanks for 1.1 R6 (Bukkit 1.2.3) update :)
     
  4. Offline

    djburnout

  5. Offline

    MrLilitu

    will you update this to 1.2.5?
     
  6. Offline

    Paulpkyou

    First of all:

    You quoted something i said ages ago that has nothing to do with your question at all. Lol?
    This plugin will work with 1.1 and up, meaning any new version of bukkit released will support this plugin and if it doesn't i will fix it.
     
  7. Offline

    Buckethead

    2149 and ur newet version on placing of fire.

    Code:
    17:53:33 [SEVERE] Could not pass event BlockPlaceEvent to SafeFire
    org.bukkit.event.EventException
     
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
     
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
     
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
     
            at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:98)
     
            at net.minecraft.server.ItemBlock.interactWith(ItemBlock.java:71)
     
            at net.minecraft.server.ItemStack.placeItem(ItemStack.java:83)
     
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:303)
     
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:636)
     
            at net.minecraft.server.Packet15Place.handle(SourceFile:39)
     
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
     
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
     
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
     
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
     
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
     
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
     
    Caused by: java.lang.NullPointerException
     
            at paulpkyou.SafeFireBlockListener.onBlockPlace(SafeFireBlockListener.java:25)
     
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     
            at java.lang.reflect.Method.invoke(Unknown Source)
     
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
     
            ... 14 more
    
     
  8. Offline

    Paulpkyou

    I'll take a look at this today.
     
  9. Offline

    EarthBoundNess

    Can you make an option to make lava not start fires?
     
  10. Offline

    Buckethead

    an update since i put error?
     
  11. Offline

    Paulpkyou

    No but your the one only having this issue so far O_O.
     
  12. Offline

    senne97

    it isn't working fayer charege works an ay cand use the /sf command
     
  13. Offline

    XzanthurusG

    I am also having this issue
     
  14. Offline

    Buckethead

    soooooooo. help ?
     
  15. Offline

    Paulpkyou

    I found out the issue, it was something little i missed but it's fixed now :p.

    I added the option to disable fire ignite, this only applies to events not caused by the player but it should fix that lava issue.
     
  16. Offline

    Buckethead

    Config still says 1.5 ill asume u just didnt patch that
     
  17. Offline

    Paulpkyou

    You have to delete the config and let it re-create it.
     
  18. Offline

    Buckethead

    k ty

    Its not generating a config

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  19. Offline

    Paulpkyou

    Delete the whole SafeFire folder?
     
  20. Offline

    Buckethead

    yep
     
  21. Offline

    Paulpkyou

    Just tested and it creates the config for me >_>.
     
  22. Offline

    Buckethead

    can u upload just config file by itself cuz i dont know what to say. deleted it, restarted, not there
     
  23. Offline

    ShootToMaim

    Nice plugin :).
     
    Buckethead likes this.
  24. Hello, "SafeFire" has a problem. When the fire is burning, he is dropping blocks. How to fix this?

    #
    # SafeFire's configuration file:
    #
    # - This is version 1.4 of SafeFire so there isn't many settings yet.
    #
    # 0 = False
    # 1 = True
    #
    DisableFire: 0
    DisableBurn: 1
    DisableSpread: 1
    AlertOps: 1
     
  25. I have a bug in SafeFire. When the blocks are burning, are dropping items!!

    I have a bug in SafeFire. When the blocks are burning, are dropping items.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  26. Offline

    vidplace7

    PLEASE add multiworld support, add it and I'll donate $5, i have to have this for my modded server (mod items cause a HUGE amount of fire in my peaceful world, where i want fire off)
     
  27. Offline

    Iestyn

    Same here, the fire doesn't spread but it does make surrounding blocks break.

    Will this plugin be updated soon? It's the only plugin to stop fire spreading. (That I've come across).
     
    Buckethead likes this.
  28. Offline

    Buckethead

    ditto on error and if there is another like this id like to know
     
    Iestyn likes this.
  29. Offline

    Tobyb

    http://pastie.org/4088607

    This error seems to be spamming my console. Has anyone got a fix for this? i cant possibly see why. :(
     
  30. Offline

    Buckethead

    update it
     
  31. Offline

    Tobyb

    its the latest version... i downloaded it the other day.

    Forget that mines 1.5 some reason..

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016

Share This Page