[MECH] BlockDispenser v2.0.0 - Makes Dispensers place blocks [1337]

Discussion in 'Inactive/Unsupported Plugins' started by Aeodyn, May 14, 2011.

  1. Offline

    Aeodyn

    BlockDispenser - Makes dispensers place blocks!

    Version: v1.2.2

    This plugin changes the activity of dispensers by making them place blocks when there is space ahead of them.
    No configuration or setup required, simply use the dispensers as normal.
    Tip: Useful in combination with with pistons. ;)

    Features:
    • Dispensers place blocks (or minecarts) in the direction ahead of them, but drops items normally.
    Download (Source Included): https://github.com/Aeodyn/BlockDispenser/raw/master/BlockDispenser.jar




    Github: https://github.com/Aeodyn/BlockDispenser

    Changelog:
    Version 2.0
    • Added support for removing blocks. When "Removes" in the config is set to true, dispensers will pick up the block in front of them when they lose power.
    Version 1.2.2
    • Fixed bug with placing minecarts or buckets.
    • Added debug mode.
    Version 1.2.1
    • Fully disabled pushing and item use, since they are still in dev.
    Version 1.2
    • Added full minecart support
    Version 1.1
    • Added full bucket support
    Version 1.0
    • First Release

    TODO:

    • Dispenses in sequence, not randomly, perhaps?
    • Config for certain features.
    • Add "throwing" of blocks.
    • Add using of items.
    • Add picking up of items.
    • Add more config.
    • Add blacklist.
     
  2. Offline

    zx yazoo zx

    how do i install this? i tried the usual just putting it in the plugins file then reloading the server.
     
  3. Offline

    jamescosten

    Um, well i can see having fun with this but if you place a block in front of the dispenser when you use it again will it push the block in front? Replace it? or just change the direction of the furnace? Need more explaining or a picture example.
     
  4. Offline

    cholo71796

    Agreed, that would be helpful. I think it would be nice for it to keep the block in front until it loses power- then either delete the block from the dispenser's inventory or put it back. It could make for some nice floodgate functionality.
     
  5. Offline

    Aeodyn

    Currently it only places blocks ahead of it if there is no block there already, and nothing will change. For having them move the blocks, you would use pistons. however, i have considered having them push without pistons. And sorry about the item duping, working on that now. also thinking of making it remove the block ahead of it.
     
  6. Offline

    Aeodyn

    Updated with buckets and no item duping!
     
  7. Offline

    ixium

    can not figure out how to install, can anyone help?
     
  8. Offline

    Aeodyn

    Oops, my bad. Fixed!
     
  9. Offline

    ixium

    hmm still cant figure it out, ive tried just putting the folder in, and also renaming the zip. Just get errors on rename, and it doesnt seem to load if i just put folder in. Cant wait to get this working, it will fix a puzzle ive been working on :). Any other ideas?
     
  10. Offline

    Aeodyn

    It shouldn't give you a zip if you download it again, it should give you a standard jar.
     
  11. Offline

    ixium

    still zip :( thank you for helping me with this!
     
  12. Offline

    Aeodyn

    Silly me, forgot to change the hyperlink... Fixed!
     
  13. Offline

    ixium

    ok linked worked. But im getting errors when trying to run it. would you like me to show you the error? would that help your process

    ok right here, this is what i get when i put the jar in the plug in folder and try to run server[​IMG]

    http://imgur.com/RJQF6

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

    Aeodyn

    Yeah, sorry about that. Eclipse didn't want to export right... Anyways, fixed!
     
  15. Offline

    ixium

    awesome, just tested works great. Thank you so much for working that out. this mod is exactly what i need for what im working on
     
  16. Offline

    anthonyjr2

    Is it possible for something like this, but being able to dispense minecarts and place them on a track ahead?
     
  17. Offline

    Aeodyn

    I have been thinking about that, and will most likely add it.

    Updated the OP. Devs, check the PS.

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

    Aeodyn

    Works on 818.

    Updated - Added support for minecarts.

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

    Ozo

    Yes! Been waiting for this :)
    Edit: Just tried, it still pops out the icon for the minecart, how do i make the dispenser dispense a minecart on the track? :p
     
  20. Offline

    Aeodyn

    Really? hmm.. Do you get any errors? and does it work if there is not a rails in front of it?
     
  21. Offline

    Ozo

    I get no errors in the server console, and i've tried with rails facing the dispenser, going past the dispenser and with no rails at all, it just spits out the minecart icon so that i can pick it up again ^^
     
  22. Offline

    Aeodyn

    Uploaded a new version, may fix some problems. Also, there is currently nothing in the config.
    Try the new build. Also, does this also happen with storage minecarts, or filled buckets?
     
  23. Offline

    Ozo

    Does not work, it will not dispence filled buckets AS a waterblock / lavablock
    It does not dispence minecarts, storagecarts or furnacecarts
    It does not work with / without tracks in front of it, going past it, 1 block below, etc

    <Hopes for a fix soon!> :)
     
  24. Offline

    Aeodyn

    Have you tried running this by itself? if you do and it works, could you post the plugins you were using? also, ary you running the latest version?
     
  25. Offline

    Ozo

    Okey, i tried to disable all of my plugins leaving only "BlockDispenser" enabled:

    04:35:42 [INFO] Starting minecraft server version Beta 1.6.6
    04:35:42 [INFO] Loading properties
    04:35:42 [INFO] Starting Minecraft server on *:25565
    04:35:42 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-
    g3fc0460-b818jnks (MC: 1.6.6)
    04:35:42 [INFO] Preparing level "Test"
    04:35:42 [INFO] Preparing start region for level 0
    04:35:42 [INFO] Preparing start region for level 1
    04:35:43 [INFO] BlockDispenser has been enabled.
    04:35:43 [INFO] Done (0,100s)! For help, type "help" or "?"
    >

    It does not place the minecart as intended, does it work for you? :)

    Edit: just tried with Craftbukkit version git-Bukkit-0.0.0-823-
    gb9d0b04-b860jnks (MC: 1.6.6). Still no go ^^
     
  26. Offline

    Ozo

    i guess you gave up =/
     
  27. Offline

    Aeodyn

    Not at all! in the meantime, you could probably use Minecart Mania to make the minecarts. I am pretty sure it can be hooked up to use chests.
     
  28. Offline

    Aeodyn

    Yay! Fixed it! Try using the new version. Also, added a debug option, that will spam.
    For those who care, it tried placing a minecart, AND setting the target block to a minecart, which is not a block.
     
  29. Offline

    Ozo

  30. Offline

    Aeodyn

Share This Page