Automatic Minecart (Boat and Horse)

Automatic Minecart

What does that plugin do :

  • Automatic Minecart spawn minecart on a rail, a horse or a boat with the player on it
  • Automatic Minecart remove it when the player left this minecart, horse or boat / or quit the game / or die.
  • That's all : it's a lightweigt plugin without configuration...

Why do i code this plugin

It was for my server. I was looking for a way to allow visitors that don't have minecarts to visit the world faster by using Minecarts on previouly created railways. It's usefull also for players who build rollercasters.

I add (a white) Horse and Boat recently, to freely visit the world and oceans.

Why i don't use dispensers

Minecarts, and living entities cost a lot of server consumption. I don't want that players create loads of minecarts to use railways. And on an economy server you can't give minecart to player without impact on the economy. Horse is rare. Autohoses diseapers as soon as you live them.

What about crafted Minecart, boat or owned Horses

Crafted Minecart are not destroyed when players left them. So they can be used as usual. Same rule for the horse, and the boat.

How to

Minecart :

Simply click on the rail (or powerred rail)

Horse, Boat and Minecart :

Use the command

/autominecart <horse|boat|minecart> <playername> <velocity_x> <velocity_y> <velocity_z>

Use the command with a command block :

for example : throw the player in the air in a boat in the x direction. If he falls in the water, the player will deal no damage ;-)

/autominecart boat @p 2 2 0


Teleport a player with his vehicle (minecart, horse or boat)

/autominecart tp <playername> <world> <x> <y> <z>

API (plugin developpers)

Test if a player is riding an autominecart

public boolean isAutominecart(Vehicle vehicle)

Tp an autominecart

public boolean tpAutominecart(Vehicle vehicle, Location location)

Test it !

Join my server, rails, horses, and boats are in front of the spawn : BlocksAndGold Minecraft Server

Next Feature

  • Destination programmation

A short Video :

AutoMinecaft Video Title


here :

Bugs ?

Please report if you find some ! Twitter

If you want to be notified of the next update or follow my other works on bukkit or MCPE

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of chris_king chris_king Jan 13, 2014 at 15:12 UTC - 0 likes

    I can't place dispenser carts anymore or any other type of minecart other than a normal ride able minecart such as a TNT mine cart i can't place that anymore either.

  • Avatar of thief001 thief001 Jan 09, 2014 at 00:46 UTC - 0 likes

    another thing i noticed:

    it dosent work well with traincarts plugin together.
    im using the the traincarts hangrail plugin, and the hangrail plugin dosent handle those automatic minecarts correctly.
    kinda troubelsome, if one enters the track that leads over lava on hangrails.

    probably because you made some kind of a special minecart, so just those get removed if emty, and not standard minecarts?
    (sorry, i have no idea how this stuff works, so im shooting in the dark here)

    Running a little Swiss/ German Bungee-Home-server @, with Spigot 1.9.2

    Want to sniff around?
    Be my Guest!
    Guest-account enabled, allowing to use Lifts and Carts, so you can get around and look at things.

    Would like to hear your thinking in a PM, if you don't mind (Complety Optional)
    Never hurts to get some fresh Ideas :)

  • Avatar of blocksandgold blocksandgold Dec 01, 2013 at 15:23 UTC - 0 likes

    @thief001: Go

    Ok thanks for your feedback, i'll fix thoses problems...
    Enhanced minecraft server - Webapps for your minecraft avatar BFAK:90737017,f763bb7951e52330602387da0ae6602b1aa7ab7d4e119421ca7b5bac66f29509

  • Avatar of thief001 thief001 Dec 01, 2013 at 12:12 UTC - 0 likes

    Hi, Nice Plugin, having it on my little Server. but i just ran in to a "problem" with it.

    while the cart spawning works fine and all, ill tried to place an chesttcart for my farm transportation system, but it always puts me in an emty minecart rather then puttting the chestcart on the rails. same issiue if im laying down rails, and accidently clicking on the just layed rails.

    so can could you maybe switch autocarts to just appear if one clicks with bar hands?

    thanks for creating it.

    Last edited Dec 01, 2013 by thief001
  • Avatar of blocksandgold blocksandgold Nov 29, 2013 at 22:08 UTC - 0 likes

    @stgram: Go

    Yes it's because when a minecart is broken, the minecart item pop, and then the player can get free minecarts... I'll see if it's possible to prevent the minecart to pop if it's destroyed... Collisions won't be easy i guess, but i'll check too... If a minecart collide a mob a can destroy the mob... but if it's a player i'll be more complicated...

    Last edited Nov 29, 2013 by blocksandgold
  • Avatar of stgram stgram Nov 29, 2013 at 17:28 UTC - 0 likes

    @blocksandgold: Go

    In that case, it works flawlessly as it is.

    Well, when a cart hits another cart, they stop or change directions, which is rather annoying. If it is possible, to make them simply unstoppable by mobs or carts? And one more thing: I miss the ability to destroy carts with a bow&arrow... :/

  • Avatar of blocksandgold blocksandgold Nov 29, 2013 at 17:13 UTC - 0 likes

    @stgram: Go

    They can't spawn horses because, the command is only for ops. (or it's a bug) - but i can add permission for an easyer integration to servers What kind of collisions ?

    and thx^^

  • Avatar of stgram stgram Nov 23, 2013 at 17:13 UTC - 1 like

    Awesome! After going through 3 plugins for cart management, yours seems to do the best job for its simplicity. Some ideas: Ignore collisions. Add simple permissions, I dont really want players spawning horses, I'm here for the carts.

  • Avatar of blocksandgold blocksandgold Nov 19, 2013 at 00:52 UTC - 0 likes

    @barneyboo: Go


  • Avatar of blocksandgold blocksandgold Oct 30, 2013 at 14:04 UTC - 0 likes

    @TheNewEmeraldMiner: Go

    I've not planned to add a depedency to ieconomy because i don't use it. I'll see if it's possible to do it easily


Date created
Jul 05, 2013
Last update
Jul 24, 2014
Development stage
  • enUS
  • frFR
GNU General Public License version 3 (GPLv3)
Curse link
Automatic Minecart (Boat and Horse)
Recent files