[FUN/RPG] RealisticsTorches v1.3.2 - Add realism to your torches! [1060]

Discussion in 'Inactive/Unsupported Plugins' started by NeatMonster, Aug 15, 2011.

  1. Offline

    NeatMonster

    You can find the Bukkit Dev' thread HERE.
    Please use it, this thread will no longer be updated.
    ------------------------​
    RealisticsTorches v1.3.1
    Add realism to your torches!

    Because pictures are always better than thousand words:
    [​IMG]

    You want to know what this simple plugin does? Fine. This plugin makes torches burn out after a certain amount of time and it can also make torches break or disappear when it's raining (only if they are touched by rain, not if they are protected). It's multiworld capable plugin, so for example they can only activate this plugin on a "adventure" world or have different settings for each worlds.

    Feel free to post your suggestions, remarks or anything like that. :D

    Features:
    • Torches burn out after a certain amount of time ;
    • Torches breaks or disappear when touched by the rain.
    Configuration:
    Code:
    # Copy this sample for each world you want RealisticsTorches to be active.
    # worldname - The name of the world.
    # DropTorches? - Drop or destroy torches?
    # BurnoutDelay - Delay before torches burn out (0 = no burnout) - in seconds.
    # WeatherIsEnabled? - Will weather drop/destroy torches?.
    worldname:
        WeatherIsEnabled?: true
        BurnoutDelay: 300
        DropTorches?: true
    
    Download:
    Credits:
    • All credits for the idea of this plugin go to Montpelier.
    TO-DO:
    • Burn out ; DONE IN 1.3
    • Interaction with snow?
    Changelog:
    Version 1.3.1
    • Fixed a file system bug.
    Version 1.3
    • Now torches can burn out ;
    • Better configuration file.
    Changelog (open)
    Version 1.2
    • Completely changed plugin orientation ;
    • Now the plugin focuses on weather events.
    Version 1.1
    • Added persistence on server stop, start and crash ;
    • More options in configuration ;
    • Prepare for the next version.
    Version 1.0
    • Original version.


    [​IMG]
     
    Daniel Heppner and Xaostica like this.
  2. Offline

    Montpelier

    Potentially a great plugin, but expand the scope and make it more flexible. Right now the idea is too specific, but contains a great idea (limited torches) that Notch already expressed an interest in working on.

    Obviously without lanterns, and with glowstone as rare as it is, there has to be a distinction between permanent and temporary torches, but what if anything below a certain value burns for a limited time, to stop the inevitable neutering of cave systems? Or hooking it into some of the region plugins so land owned by players has permanent lighting, but wild land is temporary? If you just handle making torches that burn out, and give more options to server owners, they'll figure out creative ways to implement them.

    Actually, I can drag out an idea from the archives here. Consider this my first suggestion: http://forums.bukkit.org/threads/rain-extinguishes-exposed-torches.14144/
     
  3. Offline

    Killerrabbit

    Very nice that you made this idea into a plugin! I will do some testing on our server today and get back with the results! Have been a hectic work week for me so I have had no time for any testing yet sadly! Thanks again for making this!
     
  4. Offline

    NeatMonster

    This could be very interesting but I don't know how to get a list of all the torches.

    You're welcome!
     
  5. Offline

    Killerrabbit

    Atleast by creating a database of all placed torches (form when the plugin goes live on the server), and what time they where placed on, the problem with stop/start/crash might fix itself. Ofc I do not know how much resources a database with torch positions & timers will demand of the server.... Since there can be up to 100's of torches at a time on a larger server I guess.
    Ofc, torches placed in the allowed height limits would not need to get added to such a database ofc.
     
  6. Offline

    NeatMonster

    You know what, I was doing that but with the time left before despawning instead of the time torches were placed on. Excellent idea! The problem if the plugin doesn't log the other torches is when you want to change the configuration.
     
  7. Offline

    NeatMonster

    Enjoy! :p

    Next version will add weather support!
     
  8. Offline

    Killerrabbit

    Very nice, I'll be back with some feedback when I get home again, looking forward to the added features!! :)
     
  9. Offline

    NeatMonster

    Enjoy! :p
     
  10. Offline

    SpiFioY

    Nice plugin but i don't think it's very useful... :confused:
     
  11. Offline

    Montpelier

    Depends on the theme of your server. Not every plugin is going to have universal appeal, but this is good for adventure/survival servers who want to make the world push back against the players a bit more (at all).
     
  12. Offline

    SpiFioY

    Yea you are right. But it's not useful for creative and economy server :oops:
     
  13. Offline

    NeatMonster

    Yes, like the title said it's for FUN and RPG servers.
    Edit: Any idea of what to do when it's snowing?
     
  14. Offline

    NinjaGrinch

    I'm not sure about any special things like how rain kills the torch, but how about allowing snow to form below a torch block? It seemed silly to me if a torch is 6 blocks high that the block below it (not close enough to melt the snow) couldn't gather snow.
     
  15. Offline

    NeatMonster

    Why not, I'll add this to my TO-DO list.
     
    Ninja Grinch likes this.
  16. Offline

    user_43347

  17. Offline

    BioRage

    Love it, the only thing your missing is that Torches burn out eventually, can you add so the torches will either dim, or vanish (prefer dim)

    Your's + @steaks4uce = Win. (together as one please! Just give each other credits ^.^ )
     
  18. Offline

    user_43347

    Well, when users say burn out, I don't exactly understand. Like drop a torch? And I would love to integrate the two and see it advance.
     
  19. Offline

    BioRage

    Personally it's realistic, but, realstically, it be to tediuous and annoying, atleast with redstonetorch it emit's some light.
     
  20. Offline

    user_43347

    Ummm what lol? I couldn't understand what you said?
     
  21. Offline

    BioRage

    k, so basically yours, integrated in this.
     
  22. Offline

    NeatMonster

    Why not. It's using redstone torches but as you said, we never know. :)

    Good idea, I'll add this to my TO-DO. We can drop or destroy torches I'm sure, but maybe it's possible to control luminosity.
     
  23. Offline

    BioRage

    I love realismn stuff for mc, too bad there's not a lot out for it, would be good for my re infrastructure. Let me know if you come up with any more ideas, I can share some with you.

    The decrease of luminosity would be wise, it would be too "annoying" so to speak if they were to vanish, however, if they were to be destroy / drop, it would prevent lag, which may be actually a good thing. (minus the 1000 mob's that will spawn!)
     
  24. Offline

    NeatMonster

    Thank you! I used some of your ideas in my new version.

    Enjoy! :)
     
  25. Offline

    zebras

    Getting this error, when destroying torches:
    Code:
    2011-08-20 16:47:41 [SEVERE] java.io.FileNotFoundException: plugins/WindAndTorch/torches.yml (No such file or directory)
    2011-08-20 16:47:41 [SEVERE] 	at java.io.FileOutputStream.open(Native Method)
    2011-08-20 16:47:41 [SEVERE] 	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    2011-08-20 16:47:41 [SEVERE] 	at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    2011-08-20 16:47:41 [SEVERE] 	at me.neatmonster.realisticstorches.RealisticsTorches.removeTorch(RealisticsTorches.java:164)
    2011-08-20 16:47:41 [SEVERE] 	at me.neatmonster.realisticstorches.RTBlockListener.onBlockBreak(RTBlockListener.java:50)
    2011-08-20 16:47:41 [SEVERE] 	at org.bukkit.plugin.java.JavaPluginLoader$37.execute(JavaPluginLoader.java:497)
    2011-08-20 16:47:41 [SEVERE] 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-08-20 16:47:41 [SEVERE] 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    2011-08-20 16:47:41 [SEVERE] 	at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:157)
    2011-08-20 16:47:41 [SEVERE] 	at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:102)
    2011-08-20 16:47:41 [SEVERE] 	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:478)
    2011-08-20 16:47:41 [SEVERE] 	at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    2011-08-20 16:47:41 [SEVERE] 	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-08-20 16:47:41 [SEVERE] 	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    2011-08-20 16:47:41 [SEVERE] 	at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:436)
    2011-08-20 16:47:41 [SEVERE] 	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-08-20 16:47:41 [SEVERE] 	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    2011-08-20 16:47:41 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    2011-08-20 16:47:41 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Craftbukkit -V: 1060
    Spout -V: The latest server plugin recommended build [​IMG]
    RealisticTorches -V: 1.3
     
  26. Offline

    NeatMonster

    Enjoy! ;)
     
  27. Offline

    zebras

    Tested, working perfectly. Thank Ya very, very much.
     
  28. Offline

    NeatMonster

    You're welcome!
     
  29. Offline

    BioRage

    What happen when the burn out?
     
  30. Offline

    NeatMonster

    Torch is breaked and dropped, or destroyed.
     

Share This Page