[INACTIVE] [MECH] AutoFurnace v1.5.3 - Don't go back for your furnace! [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Darkman2412, Jun 29, 2011.

  1. Offline

    Darkman2412

    AutoFurnace - Don't stay at your furnace!
    Version: v1.5.3

    I stop developing this plugin, sorry. You could use BetterFurnaces by daemitus.

    This plugin automatically gives the user who melted an item in a furnace, the molten item.
    If there is a (single/double) chest at the left side of the furnace, the furnace will get her resources from it.
    If there is a (single/double) chest at the right side of the furnace, the furnace will put the molten items in it.
    If there is a (single/double) chest at the back side of the furnace, the furnace will get her fuel from it.

    Installation:
    Put AutoFurnace.jar in the plugins folder (eg C:\craftbukkit\plugins).

    Features:
    * Gives the molten item to the player or puts the molten items in a chest at the right side of the furnace (if chest is placed)
    * Gets resources from chest at the left side of the furnace (if chest is placed)
    * Gets fuel from chest at the back side of the furnace (if chest is placed)
    * You can use double chests!

    Download (source inside jar)


    Tutorial:
    [​IMG]

    Bugs:
    * * If you find bugs, post them in this thread.

    Future features/todo:

    * Furnace repairs tools. (eg pickaxe, axe)
    * Permissions - only people who have a specific permission node get their molten item.
    * Furnace are stackable so that your items are smelted faster.
    * I'm probably going to remove the main thing of this plugin: teleport the items to the player. What does this mean: chests only.
    * * Post requests in this thread.

    Changelog:


    Version 1.5.3
    * [Fixed] Removed update system -> it blocks username verification! UPDATE REQUIRED!

    Version 1.5.2
    * [Added] Update system. If an Op types /afupdate in chat, AutoFurnace will update himself.

    Version 1.5.1

    * [Fixed] Wood doesn't burn

    Version 1.5

    * [Fixed] Almost every bug that has been posted! :D
    * [Added] Allows double chest as output chest.
    * [Added] Added fuel chests.
    * [Added] Config file!

    <Edit by Moderator: Redacted mediafire url>

    * [Added] If player leftclicks on the furnace, the furnace will starts burning (only works if there is (are) input chest(s) )
    * [Changed] Checks if item is smeltable or not.
    * [Fixed] Fixed double chests.

    Version 1.3 //No download, sorry.

    * [Added] Output chests
    * [Added] Allows double chest as input chest.
    * [Fixed] -> Furnace stops smelting if there are too many items in the input chest.

    Version 1.2a

    * [Added] Plugin allows input chests now!

    Version 1.1

    * [Added] Plugin now gives player's bucket back.
    * [Fixed] If player is not online, the molten item will stay in furnace.

    Version 1.0

    * Releasing AutoFurnace.
     
    Last edited by a moderator: Nov 27, 2016
  2. Offline

    feildmaster Retired Staff

    Switch it to "Input chest" and "output chest." ;)
     
  3. Offline

    Darkman2412

  4. Offline

    feildmaster Retired Staff

    Awesome. I'll definitely use this once that's added. :D

    This would make lava so much better. because it'd actually get used. xD
     
  5. Offline

    Darkman2412

    Wait, wait, ... What?
    What do you say about lava? xD
     
  6. Offline

    feildmaster Retired Staff

    a lava bucket, no one uses them because you have to be at the furnace in order to get the most out of the bucket.

    With the chests, you can fill your chest, load the lava, and use lava to its fullest. :D

    (At least, no one i know uses lava.)
     
  7. Offline

    Darkman2412

    Oh, ok. xD
    Btw, I'm adding the lava bucket thing now. If it works, I'll upload the new version straight away!

    I'll add input and output chests tomorrow, it's late now. :p

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

    feildmaster Retired Staff

    Very nice, and no hurry.

    I just love that the guys here program much faster than my lazy self. ;)
     
  9. Offline

    compgurusteve

    Wow, I do like this good sir.
     
  10. Offline

    Darkman2412

    New version, added input chest ;)
     
  11. Offline

    feildmaster Retired Staff

    neat. I'll have to take a look at the code when I wake up.

    Off topic: I've done my two lines of coding before bed... I'll wake up and do TWO MORE! (did i ever mention that i was lazy?)
     
  12. Offline

    Darkman2412

    XD
     
  13. Offline

    feildmaster Retired Staff

    If ya ever want to talk, shoot me a message. I'll be sure to reply. /end offtopicness
     
  14. Offline

    grindle2000

    great idea for a plugin ...good job!
     
  15. Offline

    Darkman2412

    Thanks!
     
  16. Offline

    tinogripe

    There is a bug you get dubble the items
     
  17. Offline

    feildmaster Retired Staff

    Double? I haven't tested it.. I might go see for myself in a bit.
     
  18. Offline

    Digi

    Title is kinda confusing, it suggests you get your contents wherever you are... you should change the title description to something like "Use chests to fuel furances and store smelted resources" ...or something :}

    Anyway, nice plugin, hope it works as described :p
     
  19. Offline

    feildmaster Retired Staff

    @Digi You DO get contents wherever you are. Storing it is an added *OPTION*
     
  20. Offline

    Digi

    Oh... and I see config is in todo list, too bad, I would've loved that chest feature without the teleporting items thing.
     
  21. Offline

    Plague

    Update the plugin to latest recommended build and change the title accordingly.
    Failure to do so will result in this moving to INACTIVE section.
     
  22. Offline

    mrgreaper

    seems working but im gettint this error in the log
    Code:
    22:51:45 [SEVERE] Could not pass event FURNACE_SMELT to AutoFurnace
    java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Furnace
            at darkman2412.AutoFurnace.AFInventoryListener.getOutputChest(AFInventoryListener.java:145)
            at darkman2412.AutoFurnace.AFInventoryListener.onFurnaceSmelt(AFInventoryListener.java:59)
            at org.bukkit.plugin.java.JavaPluginLoader$82.execute(JavaPluginLoader.java:820)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
            at net.minecraft.server.TileEntityFurnace.burn(TileEntityFurnace.java:208)
            at net.minecraft.server.TileEntityFurnace.g_(TileEntityFurnace.java:126)
            at net.minecraft.server.World.cleanUp(World.java:1124)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    very cool plugin though is there a way to stop it going straight to inventory?
     
  23. Offline

    Chasingu

    Will this work with 953? Also, will this work if the chests are protected with Lockette?
     
  24. Offline

    feildmaster Retired Staff

    Oh that's a good point, I don't think it cares if the input chests/output chests are protected. So you could literally "leech" someones ore.
     
  25. Offline

    Pythros

    Do you put both the fuel and items to be "melted" in the input chest?
     
  26. Offline

    pcfreak1997

    Very nice plugin!
    Could you please add the ability to disable the "You got an ... in your Chest" message? We are building a large smelting factory and the messages spam the chat extremely. Also it would be cool if you added fuel fetching from the input chest.
     
  27. Offline

    feildmaster Retired Staff

    My reply might be based on outdated info, but it uses fuel already in the furnace. (Best results with lava bucket)
     
  28. Offline

    spiderbiggen

    double chest for output would be nice
     
  29. Offline

    Pythros

    Ah. Do you think it would be possible to have a chest on the bottom of the furnace or behind it that contains the fuel that it can grab?
     
  30. Offline

    mrgreaper

    our console is getting spamed with
    Code:
    14:07:31 [SEVERE] Could not pass event FURNACE_SMELT to AutoFurnace
    java.lang.NullPointerException
            at darkman2412.AutoFurnace.AFInventoryListener.onFurnaceSmelt(AFInventoryListener.java:58)
            at org.bukkit.plugin.java.JavaPluginLoader$83.execute(JavaPluginLoader.java:827)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
            at net.minecraft.server.TileEntityFurnace.burn(TileEntityFurnace.java:208)
            at net.minecraft.server.TileEntityFurnace.g_(TileEntityFurnace.java:126)
            at net.minecraft.server.World.cleanUp(World.java:1124)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    we use dwarf forge, that uses lava under the furnace when you left click the furnace, so we dont want to update to 1.4 (as leftclick will then cause us problems with two plugins lighting the furnace lol)

    cb 974 (only stable 1.7.3) i know off

    i think i know the problem, it seems the new LWC when it locks chests the chests cease to play well with others lol, minecart mania can no longer put minecarts into a locked chest. Cenotaph cant use the chest to put your death drop in etc etc its a shame as we dont want to lose our chest protection

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

Share This Page