TrainCarts 1.17.1-v3

Minecarts redefined

  1. TeamBergerhealer
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    Source Code:
    https://github.com/bergerhealer/TrainCarts
    Contributors:
    bergerkiller, Friwi, mg_1999, KamikazePlatypus, lenis0012, timstans
    This plugin requires BKCommonLib






    Please use GitHub to file an issue report

    Please do not use very old versions with older versions of Minecraft.

    The latest release of TrainCarts and BKCommonLib is backwards-compatible with older Minecraft versions.

    Plugin: TrainCarts - Linked Minecarts, sign-redstone systems, easy to use and realistic

    TrainCarts/BKCommonLib for MC 1.7.10 can be found here (outdated)

    Join our discord server for plugin help. https://discord.gg/wvU2rFgSnw

    Incompatible with: RailCraft

    Description
    This plugin looks for suitable Minecarts and links them together if possible. When two Minecarts are being "linked", the Minecarts will act as one single moving train.

    Once carts are successfully linked, an effect is played and their velocity is shared in combination with an individual factor for each Minecart, which is used to remain a steady gap between carts. This gap is adjustable, the force at which this happens as well.

    End result: a train! You can move it, make a roller-coaster out of it, split it in half, watch trains collide, whatever you want to do with trains. :)

    As for 1.21, it is also possible to safely exit your train by setting an exit offset with a (sideways) push factor for the train. This feature is disabled by default. (only affects dropped items). If you want to display arrival times on signs (see redstone circuit part) you need SignLink, see the downloads on the bottom of the page.

    As for 1.35 you can set train properties to make 'special' trains, or to 'finalize' a train

    Resource Pack

    For testing out the new attachment system introduced in 1.12.2-v2, there is a free to download test resource pack available here:
    The models are bound to durability values of the golden pickaxe.

    train_banner_nullblox.png

    The locomotive and carriages were made by Nullblox, a very talented voxel modeler. Maxi made the different color rollercoaster carts. If you want your own train models commissioned, you should definitely contact these and other very talented people on this website! :)

    Here's some links if you are interested in making or setting up your own models:

    Saved Trains


    Besides a resource pack, you can also download some default saved trains that can be put inside the 'plugins/Train_Carts/savedTrainModules' sub-folder:
    The following train names can be spawned:
    • loco - Spawns locomotive without animations
    • carr / carg / carb - Spawns red/green/blue carriages without animations
    • loco_anim - Spawns locomotive with animation 'wheel' to bring it to life
    • carr_anim / carg_anim / carb_anim - Spawns red/green/blue carriages with animation 'wheel' to bring it to life
    • ferris - Animated ferris wheel, use animation 'spin' to control it (WARNING: VERY LAGGY)
    • spinner - Animated spinning ride with 3 controllable animations ('spin', 'turn' and 'arm')
    • rolr / rolg / rolb - Rollercoaster carts with 4 seats
    Importing and exporting trains

    As of 1.15.2-v1, you can now use commands to import and export trains:
    • /savedtrain [name] export - Exports the train by name [name] and uploads it to our https://paste.traincarts.net Hastebin server (default, is configurable). You can then share it with others, or import it on another server, or edit the contents!
    • /savedtrain [name] import - Imports train yaml from a Hastebin compatible server, like https://paste.traincarts.net
    • /savedtrain list - List all saved trains
    • /savedtrain [name] module [module] - Stores a train in it's own yaml file on the server, named [module].yml
    Links
    Addons
    Special Addons for TrainCarts
    • TCHangRail - Trains floating below iron fences and also below/above other kinds of blocks (by TeamBergerhealer)
    • TCCoasters - Rails in the air without requiring actual rails blocks (by TeamBergerhealer)
    • TCTicketShop - Use sign interaction to buy train tickets (by DefinitlyEvil)
    • LightAPI-Fork - Enables and powers the builtin Light attachment
    • TCJukebox - Plays music for players inside the train using MCJukebox (by melerpe)
    • SmoothCoasters - Minecraft Client mod that, if installed, smoothens armorstand animations and improves the first-person camera view
    Features
    • Link minecarts using collision: no commands needed to make a train
    • Move trains as easily as you would with single Minecarts
    • Stores trains to file for persistence during reloads and server restarts
    • Use sign-redstone circuits for subway systems, complete railroads and much more
    • Station to gracefully stop and launch trains
    • Launcher
    • Spawn
    • Teleport
    • Player enter/ejector
    • Property setters
    • Tag systems to switch certain tracks based on tags on the train
    • Destination systems to make your train travel to far-away lands all on it's own
    • Transferring items between trains and storage blocks (chest, furnace, etc.)
    • Infinite minecart speeds are possible, higher speed than vanilla!
    • Change the blocks displayed in trains
    • Cancel collisions with players, mobs, other trains using a variety of collision modes
    • Loads of fixes for vanilla minecart physics, fixing network synchronization bugs (off the rails)
    • Detector regions, to detect trains on stretches of track
    • Vertical rails using ladders
    • X-crossing rails using pressure plates
    • API for custom rails and custom sign actions
    • Teleport trains /w passengers (MyWorlds needed)
    • Show arrival times on signs (SignLink needed)
    • Push-away: Push mobs, players and items away from your trains to keep them running
    • Change the gravity, slowdown and other physics behaviors of minecarts and trains
    • Create custom 3D trains, using your own resource packs and creativity
    • Fun!
    cloud_logo.png
    This plugin uses the Cloud Command Framework for handling commands

    If you're impressed by the quality of Traincarts' command auto-completions, suggestions and help menu and want this in your plugin, check out Cloud by Incendo!


    Promotional
    [​IMG]

    You can join the Minecraft server hosted over at powerplugins.net to see this plugin in action, as well check out other cool plugins by the community!

    Known Issues

    • When non-operator players ride a train, the train glitches out and the player's cart gets stuck in position
      NoCheatPlus thinks the player is cheating, because the cart is moving in unintended ways. The cart is teleported back to a valid state causing these strange glitches. To fix this, set the following to false in the NoCheatPlus configuration:
      Code (Text):
      checks:
        moving:
          vehicle:
              enforcelocation: false
    • Since Minecraft 1.16.1 players can get out of my train with playerexit=false by pressing shift, and they get teleported back in when they release shift. Is this a bug?
      This is unfortunately a client bug that only Mojang can fix. See also: SPIGOT-5891 As of BKCommonLib 1.16.4-v2 players are teleported to stay near the seat as a workaround.​

    FAQ
    • When players are near, trains reach their destinations. With no one near, they don't. What do I do?
      By default trains do not keep chunks loaded, and they will unload once they move into unloaded chunks. To make trains keep the chunk area (and themselves) around them loaded, set the 'keepchunksloaded' property to True. This can be done using the /train keepchunksloaded true command, using a property sign or by changing it to true in the DefaultTrainProperties.yml file. For more information about train properties, see here.​
    • When I exit a train, the train disappears. What gives?
      If you have CraftBook installed on the server, this plugin can actually do exactly that. Turn it off in the configuration. http://wiki.sk89q.com/wiki/CraftBook/Minecart_Exit_Remover
    • I have a iMac and signs don't work. What do I do?
      Add 'parseOldSigns: true' to the config and type signs like 'train' instead of '[train]'.
    Incompatibilities
    If you have another plugin that performs similar Minecart replacement techniques, it is likely that TrainCarts will not function or function poorly. For the 'chunk persistence' part of this plugin, other plugins that unload chunks without firing events result in this feature failing. Minebackup is known for having this problem.

    Donate
    If you really like my work and want to give something in return, feel free to donate something small to me using the link down below. Thank you! :)
    [​IMG]
    Eman49, Xolgrimm, LatePacket and 30 others like this.

Recent Reviews

  1. Ikorvath
    Ikorvath
    2/5,
    Version: 1.17.1-v3
    how the heck do i make upside down tracks and stuff there is no help for this anywhere
  2. ShadowSkull20
    ShadowSkull20
    5/5,
    Version: 1.17.1-v2
    Extremely good plugin, the developer is really helpful! If you have anything transport related you hAve to install this!
  3. Strahan
    Strahan
    5/5,
    Version: 1.17.1-v1
    This plugin is amazing. I can't believe it's not only free, but open source as well. What a great plugin to use!
  4. geffisback
    geffisback
    5/5,
    Version: 1.17.1-v1
    Great plug-in! I love the pre made carriage models but I wish it was easier to find community made models

    also not sure if it’s because i’m using image maps but the Train Editor note is [broken]
    1. TeamBergerhealer
      Author's Response
      Maybe you used the wrong one? its /train attachments not /train editor, the editor one is a weird wip thing that was never completed. If actually broke, join the discord or make an issue on the github so I can help you :)
  5. VoidemLIVE
    VoidemLIVE
    5/5,
    Version: 1.16.5-v2
    Love this plugin, it works very well and support in the discord is good. Works very well for roller coasters
  6. ItsCake_
    ItsCake_
    5/5,
    Version: 1.16.5-v2
    An incredible with a wide range of possible uses. From roleplay servers to theme park servers, TrainCarts is perfect! Very happy to have this plugin on my server and I'm looking forward to future updates.
  7. p4togame
    p4togame
    4/5,
    Version: 1.16.5-v2
    I dont know hot to set minecart texture in 1.12.1 v3
    But its very good plugin. Thanks
  8. lbulldog
    lbulldog
    5/5,
    Version: 1.16.5-v2
    excellent plugin, we need a 1.17 update, i really need this plugin on my 1.17 server
  9. 7stage
    7stage
    5/5,
    Version: 1.16.5-v2
    Excellent Plugin! This plugin has excellent support to trains. You can make subway with this.
  10. Ikorvath
    Ikorvath
    2/5,
    Version: 1.16.5-v2
    Looks good but wont work for my 1.16.5 spigot server. Cant even get the commands to pop up
    1. TeamBergerhealer
      Author's Response
      Install BKCommonLib.