Inactive [MECH] CartDispense v0.11 - Dispense Carts On Rails Automatically [CB1.1-R4]

Discussion in 'Inactive/Unsupported Plugins' started by vcazan, May 30, 2011.

  1. Offline

    vcazan

    CartDispense - Dispense Carts On Rails Automatically
    Version: v0.11

    Description
    Dont you just hate it when you find a train track that you want to ride and you dont have any minecarts to ride it. You could build one from iron or you could spawn one if you are an admin. Not anymore! With this plugin there is no need for making or spawning minecarts, simply press the button and a minecart will be spawned on the track automatically!

    Updated to work with powered-rails and detector-rails!

    Video


    Features
    * Click the stone button beside the dispenser and a minecart is automatically placed on the track.
    * Works with standard rails, powered rails, and detector rails.
    * Works in any orientation but there must be a track infront of the dispenser and a minecart inside the dispenser.
    * Works with rails bellow the dispenser.
    * Placing another dispenser on the other end of the track will automatically remove the minecart and place the user out of the cart.

    THIS PLUGIN HAS MOVED TO OFFICIAL DEV.BUKKIT.ORG PAGE

    http://dev.bukkit.org/server-mods/cartdispense/
     

    Attached Files:

    matthew_goodman likes this.
  2. Offline

    Noobscraft

    Sounds good, good luck.
     
  3. Offline

    vcazan

    Version 0.02 - Added support for powered rails and detector rails.
     
  4. Offline

    Minecraft93

  5. Offline

    vcazan

    I knew there was something like this around but I just made it for those who want a simple way to dispense carts. Also minecart mania uses chests not dispensers.
     
  6. Offline

    chronopolis

    Well done sir.
     
  7. Offline

    Parrothead

    I like this plugin a lot. It saves me a lot of rails. the only problem is the infinite Minecarts. There should be a setting to destroy the Minecarts automatically when they either reach the end of the track, or touch another dispenser.
     
  8. Offline

    vcazan

    Thanks! This is for sure a feature I intend to implement, when the minecart hits the dispenser it should be removed and the user should be taken off the cart.
     
  9. Offline

    Parrothead

    Awesome, can't wait for the update.
     
  10. Offline

    andrewpo

    Awesome plugin; however Minecart Mania offers a similar feature where you can pass redstone current to a diamond block with a rail above it which generates a minecart and boosts it, which then used in conjunction with light green wool (to automatically put players into a minecart) could be used to create more effective stations.

    You could make this into a lightweight version of the feature Minecart Mania provides. Allow passing current to a certain block to generate a cart, then have a block which when a minecart passes over it, it gets destroyed.

    I wish you good luck with your plugin development (You don't come across as arrogant to me, which is sadly how some plugin developers act in response to their users). :)
     
  11. Offline

    vcazan

    Thanks for this great feedback I will try to impenent the minecart distroy feature today!
    FYI you can use redstone to power the dispenser so it acts like the minecart mania mod.

    I've updated this plugin to version 0.5. This adds support for removal of minecarts when they hit another dispenser on the track. Check the picture at the top for an example.

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

    andrewpo

    Great update :) and ooh you have a mac too :D
     
  13. Offline

    Alesana

    Very nice but people can steal the minecart. Can you make it work with iconomy 5 so we could add a price to use it (when the button is clicked). =)
     
  14. Offline

    vcazan

    Update comming tomorrow for iconomy(for sure) and permissions(maybe) ! I'll update when it's released.
     
  15. Offline

    Alesana

    Cool, I can't wait! Permissions would be great too! =D
     
  16. Offline

    woodzy

    @vcazan maby u can have it work like a cart collector as well so a dispencer/collecter all in one
     
  17. Offline

    vcazan

    It's already works like this as of v0.5 the dispense will collect and dispense the cart :)
     
  18. Offline

    woodzy

    @ vcazancan i use the same dispencer?
    the front on the dispencer is faceing tords the outgoing
    incomming>-------[furnace]------->outgoing
     
    vcazan likes this.
  19. Offline

    vcazan

    Yes, that should work just fine.

    EDIT: actually it does not, I have to tweek it. Will update you when it works.
     
  20. Offline

    woodzy

    sweet!!
     
  21. Offline

    Bartzi

    23:46:18 [SCHWERWIEGEND] Could not pass event BLOCK_DISPENSE to CartDispense
    java.lang.NullPointerException
    at org.vcazan.cartdispense.CartBlockListener.onBlockDispense(CartBlockListener.java:31)
    at org.bukkit.plugin.java.JavaPluginLoader$36.execute(JavaPluginLoader.java:489)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.BlockDispenser.dispense(BlockDispenser.java:133)
    at net.minecraft.server.BlockDispenser.a(BlockDispenser.java:197)
    at net.minecraft.server.World.a(World.java:1829)
    at net.minecraft.server.World.doTick(World.java:1573)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:391)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    >

    Bad ;( build 818
     
  22. Offline

    vcazan

    Where did you download the .jar from, the one from the github is broken as im working on a release right now download my dropbox link here: http://dl.dropbox.com/u/317875/Bukkit Releases/CartDispense.jar

    I think CraftBukkitUpToDate is using my github jar as final, that might break it too, ill remove it from github.
     
  23. Offline

    Bartzi

    Hi :) same with the plugin from your dropbox =/ i will wait :)
     
  24. Offline

    vcazan

    Can you let me know when this is happening, I am running 819 and it is working perfectly. Anyone else experience these issues? This might be a bug I can fix.
     
  25. Offline

    Bartzi

    hi :) every time when i push the button. im running now 819. =/
     
  26. Offline

    vcazan

    What other plugins are you running? Come on my server and I can show you it works :) edgetest.dyndns.org
     
  27. Offline

    Thotti

    I did some tests and maybe i found the problem...

    After I renamed my world from "Creative" to "world" i was able to use your plugin.
     
  28. Offline

    vcazan

    Thank you for this post. I have found the issue in my code

    this.plugin.getServer().getWorld("world").spawnMinecart(spawnCart);

    Updated to version v0.6, please let me know if this works now.
     
  29. Offline

    belfedia

    Nice plugin but little question !
    Dispenser can work normal after your plugin or only spawn cart ?
     
  30. Offline

    vcazan

    the dispenserspawns carts and eat them up. It only works if there is a minecart in the dispenser if not it acts like a standard dispenser
     

Share This Page