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

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 : http:youtu.be/UP86UnIZCcU

AutoMinecaft Video Title

Download

here : http:dev.bukkit.org/bukkit-plugins/autominecart/files/

Bugs ?

Please report if you find some !

http://www.blocksandgold.com/files/images/twitter.png Twitter

If you want to be notified of the next update or follow my other works on bukkit or MCPE https://twitter.com/BlocksAndGold

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

  • Avatar of blocksandgold blocksandgold Jul 24, 2014 at 13:57 UTC - 0 likes

    @SimbaZockt: Go

    I've tested it but, the changing world event is not thrown when the minecraft go throught the portal. So I can't catch it to tp the player and the autominecart. Althought i've add a "/autominecart tp" command to tp the autominecart. This command can be used in a command block (Last 2.5 version, that i've just uploaded)

    http://www.blocksandgold.com/minecraft-signature/bifag.png
    Enhanced minecraft server - Webapps for your minecraft avatar BFAK:90737017,f763bb7951e52330602387da0ae6602b1aa7ab7d4e119421ca7b5bac66f29509

  • Avatar of blocksandgold blocksandgold Jul 19, 2014 at 18:25 UTC - 0 likes

    @thief001: Go

    I'm searching a solution with nimbleguy

  • Avatar of thief001 thief001 Jun 11, 2014 at 23:36 UTC - 0 likes

    @SimbaZockt: Go

    might be difficult to do,
    as i think multiverse put you back in cart after tp, so autominecart hasent anything to do with.

  • Avatar of SimbaZockt SimbaZockt Jun 10, 2014 at 16:41 UTC - 0 likes

    Did you think you can add multiverse support? because the minecraft dont despawn after ride throw a Portal :(

  • Avatar of thief001 thief001 May 24, 2014 at 07:18 UTC - 0 likes

    hi blocksandgold,

    tested it trough,
    works like a charm, thx alot :)

  • Avatar of blocksandgold blocksandgold May 02, 2014 at 15:43 UTC - 0 likes

    @thief001: Go

    Update to 1.7.2, and the bug you've detected is fixed :) Follow me on twitter to be notified of the futures updates Twitter

  • Avatar of blocksandgold blocksandgold May 02, 2014 at 15:42 UTC - 0 likes

    @thief001: Go

    Update to 1.7.2, and the bug you've detected is fixed :) Follow me on twitter to be notified of the futures updates Twitter

  • Avatar of blocksandgold blocksandgold May 02, 2014 at 15:41 UTC - 0 likes

    @chris_king: Go

    Update to 1.7.2, and the bug you've detected is fixed :) Follow me on twitter to be notified of the futures updates Twitter

    Last edited May 02, 2014 by blocksandgold
  • 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

    hi,
    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)

Facts

Date created
Jul 05, 2013
Categories
Last update
May 02, 2014
Development stage
Release
Language
  • enUS
  • frFR
License
GNU General Public License version 3 (GPLv3)
Curse link
Automatic Minecart (Boat and Horse)
Downloads
1,327
Recent files

Authors