[FUN/MECH] Lava Furnace - Furnaces that run on lava [BUKITDEV]

Discussion in 'Archived: Plugin Releases' started by Arcwolf, May 30, 2011.

  1. Offline

    Arcwolf

    Lava Furnace - Furnaces that run on lava:

    The basic idea of this plugin is to allow players to create a furnace that will run on lava but not consume buckets. It allows for customization by admins for fuel burn time, cook time, per player cook times and amount of furnaces per player. It is by default pretty balanced, but is customizable by admins for personal preference in balancing or even cheating if you so choose.

    Features:
    • User created Furnaces that consume only the lava not the bucket
    • Also can be used with regular fuel sources through the Minecraft furnace interface.
    • Potential to create infinitely fueled furnaces via config file
    • Can set furnace burn times up to 2147483647 via config
    • Can set furnace cook times from 1 to 4 x normal speed via config
    • Can define the blocks a furnace is created from via config
    • Works with multi-worlds
    • Permissions via PermissionsEX, GroupManager, nijikokun based permissions, bukkit permissions or OPs
    • Lava level is easily viewable through glass door and changes with burn time of furnace
    • Optional small or large Production Chests (*based on Zarius's idea)
    • Optional Custom Smelt-ables via config
    • Production chest smelt priority from TOP LEFT to BOTTOM RIGHT
    • Per user cook times, per item cook times from 1 to 4 x normal speed via commands
    • Per player group build limits
    Tutorial Video & Review (by ValBGaming)

    Production Chest Photo:
    [​IMG]
    Alternate Chest Setup (open)

    [​IMG]

    Alternate Furnace Layouts (open)

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]

    And you could just keep going with it.


    [​IMG] if you like this plugin and want to support me. Its much appreciated. :)
     
  2. Offline

    ValBGaming

    Looks pretty cool, I'll try it out when I get the chance. :)
     
  3. Offline

    Xordaii

    The plugin is great as it is too :) Makes for a great way to not use up your buckets, but also makes your players work. I don't want to automate too many things, as my son gets bored fast and quits a game if it is too "easy" or he thinks he has "finished" the game, as in everything is doable now, and nothing more for him to do.

    He is VERY excited about this mod though, and begged for it. I am using it for the "coolness" factor, and because it saves on buckets, but not making it unlimited. If you do make it able to use chests, please consider letting us disable the feature? In the config?

    The lightning strike to start the forge is genius :D
     
  4. Offline

    ray landers

    i like this allot.
    i had an idea about just being able to get the bucket back when putting the magma into the furnace, but this is so much more than that.
    thanks for doing this, and making it configurable.
    i have been reluctant to try permissions because i have such limited computing power for my server, so thank you again for not requiring permissions.

    also as a side note, what is that graphics texture package you have for the client?
    i like it very much.
     
  5. Offline

    Arcwolf

    I'm glad its a well accepted and liked plugin. Took a little while to develop so its nice to hear it was worth it.

    As far as the texture pack goes, its a custom pack. I recolored some 64xHD packs I found on the minecraft forums and mixed and matched them, then added in a few of my own creations so it looked similar to Painterly but in HD. Sorry, I cant post it though, a couple of the packs have rules against redistribution...
     
  6. I think I still have issues when I enable this. It's difficult to test thou :/
     
  7. Offline

    Zarius

    I agree the chest feature (if possible) should be optional.

    Note however that my idea wasn't to make it infinite, the smelting will still only occur whilst lava is in the furnace and you can set the lava to whatever fuel value you wish. Could be equal to 12.5 coal (20,000) as per default minecraft or longer/shorter as you desire, I set mine to max (32,767) as I feel the lavafurnace is worth a little extra but don't want unlimited.

    This way the chests just save me shuffling items around - I still need to regularly check the furnace and make sure it's fueled up to keep smelting.
     
  8. Offline

    Arcwolf

    What sort of "Issues" do you think you are having? Your post makes it hard to resolve. Because there really isnt another loop to loosen. There is only the ping thread and the player list loops running. Player loop is just retrieving a list of active players per ping and the ping thread is simply updating the furnaces. Everything it does is "if this then that"... I've went over the plugin with a fine tooth comb and I'm just not sure what more I can do to help you without more information. That and it doesn't help matters that you're the only one reporting issues...
    If I do incorporate something like that... and I'm still up in the air about it... It will most likely be some sort of addon plugin that uses this as a foundation. Instead of directly incorporating it.
     
  9. Offline

    ray landers

    yes, i agree with that.
    the chest addition is not something i would use.

    the way i see useing this is that "I" [the op] would set up one furnace like this near a large sand deposit so that anyone can use it to make glass.
    or perhaps near spawn and allow people to use it there till they get a regular furnace of their own built in a more convenient place.

    but fundamentally i would be the only person building these on the server, but anyone could use it.
     
  10. Offline

    Arcwolf

    Version 1.1c is uploaded. Been testing it for about a week now and I think is resolves an issue I spotted with furnaces deleting themselves when chunks were unloaded and the furnaces ran out of fuel.

    It hasnt deleted a furnaces randomly since I added the fix. So I'm hoping I finally squished that one. Very hard to track that down...
     
  11. Can imagine, it's also very difficult testing things like this.

    Giving 1.1c a try.
     
  12. Offline

    Arcwolf

    Well, when you come up with something solid, I'm more then happy to help. I'm not in the business of making mods that dont work.

    So, let me know. You know where to find me ;)

    Well, <expletive omitted> <insert curse word here> I would not recommend using 1.1c I botched up a coordinate and instead of preventing the furnace deleting it caused it. :mad:

    Figures, all that testing was just luck of the draw... for a freakin WEEK! argh! well, anyway... Thats fixed now and I also fixed another loop check that may help tick rate when furnaces are checked for deleting. So maybe that will give Joy some Joy? :cool:

    1.1d uploaded... <sigh>

    1.1e uploaded :) performance should be improved above even what 1.1d did. Re-worked some checks and stuff.

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

    kaspersamuelsen

    that skin, graphic is increadible, how did you get that? :)
    plese link .
    thanks
     
  14. Offline

    Arcwolf

  15. Offline

    Arcwolf

    No eta yet, but I'm beginning work on a production chests for use with the furnace. It will be permissions based and have a configuration option to disable it.

    Zarius's idea so credit to him for the idea :) Something to look forward too I guess...

    I'm thinking now that a command shouldnt be necessary if I do it right ...
     
  16. Offline

    IncendiaDrakon

    Is there any way we could get this furnace fueled by more than one lava block? I would guess that once the lava ran out if you had a stack of coal in the fuel slot, it would proceed to smelt using the fuel, right?
     
  17. Offline

    Arcwolf

    The furnace will run on fuel items placed in the furnace its self yes. Just like regular minecraft that has not changed. As far as more then one block of lava no. That is set. If you want it to run longer, use more time in the config or set it to infinite. Alternatively you could use a lavabucket in the furnace. But no more then one block of lava at a time in the crucible.
     
  18. Offline

    Arcwolf

    1.2 is coming along very VERY nicely! :)

    I'm quite pleased with the way the chests are working. Valid smeltable items from a chest on the left are transfered to the furnace, and once smelted are immediately transfered to a chest on the right for holding. Its all working very nice indeed.

    I guess a tentative eta would be Friday, June 17. I still have to put in permissions, and a config option. But the guts are working. So it really boils down to testing.
     
  19. Offline

    IncendiaDrakon

    Oh wow, if you get his released I'm definitely using your plugin!
     
  20. Offline

    Arcwolf

    Ok, Version 1.2 is up for general use.

    Included is the idea of production chests. It can be totally disabled via the config for those who dont want it.

    It works by placing two chests as shown in the photo in the main post. The chest to the left has smeltable or processable items in it. The chest on the right has processed goods in it. The furnace will take from the left, process, then place in the right.

    Things to note. Only small chests are used. I didnt feel the furnace looked right with these HUGE chests sticking out from it so. ONLY small chests are used. You can place big chests there but it wont use the extra capacity.

    So, there you go. Check it out and tell me what you think.

    NOTE: you will need to delete your config and let LavaFurnace regenerate it.
     
  21. Offline

    Vosenbergen

    I installed this plugin originally on my server and it ran wonderfully! The only problem is now that I tried to do the update and add chests to my existing furnace I receive the "not built right" error even though the forge worked originally...any fix for this? I tried destroying the furnace and rebuilding it, I tried rebuilding it in another location, I tried uninstalling the plugin, destroying the furnace, reinstalling, and still got the message...
     
  22. Offline

    Arcwolf

    I dont see how that is possible since when I check the furnace I only check the furnace and the chests are not considered. I didnt change the furnace checking routine... I didnt even touch that part of the code. It is infact identical to the previous version. I simply added the chests onto the furnace ping and that is all. Its as close to being a seperate plugin as is can be and still be inside this plugin... Thats how separate it is :-/

    I'll look into it as soon as I can get my pc to stop having hardware issues...

    ok quick video card swap and I seem to be back in business...

    Anyway, I've just tested this out and its working perfectly. I really dont know why it wouldnt be working for you. Truly, nothing has changed in the checks that are associated with the furnace construction. The chests are a separate item all together.

    I recommend you make sure you are sure you're constructing the furnace exactly the way the tutorial video shows. Then make sure nothing has changed with your permissions. If you are still having a problem set the debug level to 3 in the config and create a furnace. Its going to spam the console but it will show you what was detected and which level was wrong. Also, of note, if the furnace was built wrongly then the plugin would have deleted it. The creation check and the check that runs every second are one and the same. So if it wont let you build it then it wouldnt have even allowed it to exist in the first place.

    edit---


    Ok just finished another round of extensive testing... and code searching

    Only found two bugs, totally unrelated to what you mentioned though. Uploaded 1.2a to fix them.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  23. how does the chest thing work?
    i have set 2 chests 1x each side like in image, it wont transfer those

    EDIT:
    nvm i had to change from config the option true so it works with furnaces

    if lava is not set infinite
    how long does 1 lava stay?
     
  24. Offline

    Arcwolf

    That depends on how long you set it to stay in the config. The values are roughly the same as on the Minecraft Wiki\
    Check the code values for info on that. "roughly" meaning + or - 5 or so seconds I believe.
     
  25. why does not normal players be able to use or create this?
    i have set permissions like this:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
                - 'LavaFurnace.player.use'
                - 'LavaFurnace.chests'
                - 'LavaFurnace.player.destroy'
                - 'LavaFurnace.player.fuel'
                - 'LavaFurnace.player.build'
                - 'foo.bar'
    it does not let him to create?

    i use bukkit 860
    minecraft 1.6.6
    permissions 2.7.4
    (i dont get 3.*'s work)
     
  26. Offline

    Arcwolf

    What if you tried it like

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - foo.bar
                - LavaFurnace.player.use
                - LavaFurnace.chests
                - LavaFurnace.player.destroy
                - LavaFurnace.player.fuel
                - LavaFurnace.player.build
    Remove the quotes around the nodes. Thats the only thing that I notice different between your permissions and mine.
     
  27. Offline

    XxBTWxX

    Is it possible someone to fuel it and then everyone to use it?!?
     
  28. Offline

    Arcwolf

    Use the

    LavaFurnace.admin.fuel
    or
    LavaFurnace.player.fuel
    for the fueling player

    LavaFurnace.player.use
    for the users if you like

    So the answer is yes. with permissions it is possible to configure it in that way.
     
  29. u got 2.7.4?
    i have all within 'permission.name' <-- like that
     
  30. Offline

    Arcwolf

    It has been tested with GroupManager and Permissions 3.0 versions. I have no idea if something is different with 2.7.4 I cant keep up with all the versions of permissions that keep getting released.
     
  31. proplem is:
    im usin 2.7.4 , ive tried 3.0 and the newest 1s but i dont understand why i cannot get them work :(
     

Share This Page