Does this exist? Carts not being stopped by players

Discussion in 'Archived: Plugin Requests' started by grybo101, Oct 26, 2012.

  1. Offline

    grybo101

    Is there an updated plugin, or maybe a file within the server or bukkit that can alter whether or not a player can stop a minecart by standing on the track? I am part-owner of a server that's dedicated to rollercoasters, and I don't want players to be able to alter a continuous cycle of carts.
     
  2. Offline

    md_5

    There is no plugin that can do this, and unfortunately the Bukkit API has no feature to cater for this, sorry.
     
  3. Offline

    RingOfStorms

    I could do this
     
  4. Offline

    grybo101

    If you could, that would be awesome! I co-own a server that is theme park-based, and I'm using Train Carts to have a continuous cycle of carts on each ride. It's a pain when someone jumps right in front of a cart and screws up the entire ride.
     
  5. Offline

    gomeow

    I am interested in how you would accomplish this?
     
  6. Offline

    RingOfStorms

    Bukkit's Vehicle events are pretty much all broken so it is impossible for me to determined if a minecart entity has spawned, pretty annoying unless I do my own thing which will be more server intensive.

    Never mind it was me who was broken, I got it to work.

    For the plugin do you want it to work for all previously made minecarts? Because if you do then I will have to do some kind of update thing that will impact some of the server performance (ill make it toggleable). Otherwise the plugin will just convert any new minecarts that are made.

    I got this to work, pretty simple after about 1 min of looking that minecraft server EntityMinecart java file. There is a function called collide. All you have to do is make minecarts a custom minecart entity that overrides this function with nothing, and vuala.

    Edit: Yea i know it isn't part of the Bukkit API but it is possible, and soon there will be a plugin that does this =D

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

    md_5

    Looping through all entities isnt that slow. Its literally a few milliseconds.
     
  8. Offline

    RingOfStorms

  9. Offline

    Kiakaha

    Cool idea and plugin. Will be using Cheers :)
     
  10. Offline

    RingOfStorms

  11. Offline

    grybo101

    Wow thanks a bunch! I've been searching for months for this kind of thing. You really saved me lol.

    edit: It doesn't seem to be compatible with TrainCarts. Is there anyway to do that?
     
  12. Offline

    RingOfStorms

    What plugin are you using for "Train Carts"?

    @grybo101
     
  13. Offline

    grybo101

    It's called TrainCarts. It connects carts together and, with the use of signs, allows you to create an elaborate train system involving stations that stop and launch trains, speed control, track switching, etc.
     
  14. Offline

    RingOfStorms

    Can't be done with traincarts, as his plugin would overwrite the no collision minecarts (He spawns in his own minecart type just like my plugin does.). You would have to ask him to add it to his plugin.

    @grybo101
     
  15. Offline

    grybo101

    Alright. Well, still, thanks so much for your effort and time!
     
    RingOfStorms likes this.

Share This Page