Download (3.9 MB)
For Luanti 5.0 and above

How do I install this?

This mod features realistic trains and various equipment for railways, with a focus on automated train operation.

Main features:

  • Almost-realistic tracks with actual curves and switches
  • Railway signals, controllable by various means
  • ATC: Simple, command-like automatic train control
  • LuaATC: Powerful Lua-scripted automatic train operation(requires some programming knowledge)*
  • An Interlocking system, featuring track sections, routes and automatic stopping before signals

Please note that the base modpack does not include any trains. Please see the Train Catalogue

General user manual

Guide for the interlocking system

Wiki

Reviews

Review

Do you recommend this mod?

  • Kind of rough, kind of laggy, kind of buggy, and not always intuitive, but we love what it can do

    Advtrains is the kind of mod that has twofold appeal: From the perspective of people who will never learn its ins-and-outs, and from those who will learn all about the mod and enjoy its richness. It's the definitive method of public transport for Minetest - even the boats and buses of linetrack are based on this core, and teleports can't compare. The way all trains are always operating, even through unloaded areas, is just the beginning of its rich features.

    The track system is first class among railway mods for block games, with 30 degree increments, slopes, 45 degree slopes, diamond crossings. No limitations on placement. It's still not 'realistic' but it leaves minecart tracks looking janky.

    The signalling and interlocking system has profound depth, though at cost of complexity and being notoriously hard to learn. If you're a lover of signals, this goes beyond OpenTTD or Factorio. Save yourself some trouble and ask other players for help learning.

    The trains can also carry your cargo. Moving stuff by train is great fun, better than any other way I can think of. Challenge yourself to build a realistic freight railway, and then sit back and enjoy automatic operation.

    Don't like driving? Need to run a timetable? Want something even more elaborate? Start with basic ATC tracks and station/stop rails, and later discover how automation and full control is always available through Advtrains' Lua environment "LuaATC" for anything the train can do.

    I have to admit Advtrains' faults: It's hard to learn, it can lag your server badly (the more trains the merrier.. er.. laggier) and one misstep with LuaATC can crash the server. The selection of trains is growing but still not that broad across people/goods, city/country, nationality. It's not super survival friendly. Waiting around at a station for a train to come is probably even less fun in a video game than real life. But I just can't name anything that gives you this much control of computer game trains!

    0 comments
  • Great mod in many regards

    I only have 4 noteworthy issues with it currently:

    It spams the chat and debug.txt with thousands of Warnings about textures and other issues due to a deprecation change prior to MT 5.5.0.

    Edit: Mod configuration might already cover topic [It should have a better way of figuring out where to put bones boxes instead of dropping all the player's items on the track when run over.]

    It should be able to do client-side simulation and federated synchronization of the player position and movement so its not so glitchy on bandwidth limited servers, broadband connections, or thread-limited execution environments which may skip instructions.

    Edit: trains not provided by advtrains [It needs a few train versions that work over longer distances at higher speeds, and also in environments without atmosphere, to keep a player from suffocating in otherworlds.]

    3 comments
  • Good functionality, realistic trains!

    This mod is a HUGE step up from the default carts. Aside from having bigger, nicer-looking transportation, the trains can run automatically no matter where you are. I find this very usefull in creating large worlds where walking everywhere is extremely tedious to say the least. I can set up trains that run to various places, and getting where I need to go takes a fraction of the time.

    It also includes advanced train control and signal systems so that you can have multiple trains running on the same stretch of track, while avoiding crashes. Also, when installed alongside the Mesecons mod, you get more features like detector rails, which can be used for making station lights, and also can be used for programming more complex train control systems (I have yet to dig into all that myself).

    There's a slight learning curve for track placement and the signal system, but once you get the hang of it, it's logical and straightforward. Also, the trains look great!

    1 comments
  • Highly Sophisticated train simulation

    This mod provides an extremely sophisticated and complex train simulation, which is able to simulate pretty much all aspects of train operations: signaling, shunting, timetables, loading/unloading, etc. You can easily buildvery large train networks with this mod on your server.

    0 comments
  • But tricky to use but very rewarding

    This mod is the best mod in the transportation category, having a fully automated train network that can carry lot of players in your world is extremely satisfying. Great community and lots of add-ons. I wonder why it's not in the "Featured" category of contentDB

    0 comments
  • English

    Another dimension of Minetest!

    This mod adds some as a "another dimension" of game... realistic railways, great base for creating new mods.

    0 comments
  • English

    it's better than small rail systems.

    *I have been using this mode for 7 years. This mode works for me, and I like to do subway, railway. And some of their systems are working well. And the ATC systems of this mode work very well, and there is a rail switching system. And the rails look realistic.

    0 comments
  • English

    Yea, advanced for sure

    If you wanna start train-ing, this is it for sure.

    First off, it has detailed documentation, such as fantastic manuals. The general one goes step-by-step through the basics of the mod. There's even one for the interlocking system, which is also probably sophisticated (I didn't even read it yet, just glanced over it). There's also a wiki, with information about things like additional mods, like the one described in the next line.

    Then, there's the trains. The mod comes with none, which means you can pick the ones you want seperately. It may seem complicated at first when the description tells you to take a look at the train gallery, but in reality you can scroll down on this ContentDB page and look at the mods that use the advtrains mod. Then, you can see ones that add trains, such as DlxTrains, which is the one I use, since it offers nice features such as dynamic smoke (smoke appearing only when you're driving) and selectable liveries.

    You probably want a place to drive the train around then, and this mod offers not just ordinary tracks, but also their variants, like the ones that are able to go up a slope, some that detect trains and activate mesecons, or whatever the loading, unloading, diamond crossing and others even are! Not only that though, you can also have sandstone and stone brick platforms, signal thingies, and a doctor who sonic screwdriver! (look at general manual after the first track images)

    This mod's things (such as tracks) and vehicles in mods such as DlxTrains also have crafting recipes, which allows you to admire training even while you're in your non-creative singleplayer world. Then, you can drive around and have fun while also having a practical way of getting around!

    --- review continues in comment ---

    1 comments
  • Awesome Mod!

    This is an awesome mod! I like trains and it has trains. Still i played Minecraft recently and i love the create mod which has trains too.

    0 comments
  • Best train mod

    Trains are the best form of public transport, and bringing them to Minetest is brilliant. This mod offers realistic railways, with high-level automation APIs and cargo possibilities.

    All the other transport mods have nothin on Advtrains, and can only offer little of what Advtrains offers.

    I have used it to connect my server. I can sit and watch trains pass at high speed or board a train and get somewhere in style. Whilst teleportation is more convinient, it does not help with cargo transport, one thing that Advtrains handles amazingly.

    Overall, this mod is very good for making good transport systems whilst keeping realisim high on the agenda.

    0 comments
  • Best Transportation Way

    it is nice & more realistic to use trains as the main transportation way in your server.. without using anyway to teleport..

    0 comments
  • A good advanced and complex mod

    This mod has a very realistic trains with a complex interlocking system. I'm learning about the interlocking to make it efficient.

    0 comments
  • English

    game crash not sure why it does it at random usually after about 10 minutes or so

    AsyncErr: Lua: Runtime error from mod 'advtrains' in callback environment_Step(): ...ent evil worlds\bin..\mods\advtrains\advtrains/path.lua:373: 0.064522190551315 stack traceback: [C]: in function 'assert' ...ent evil worlds\bin..\mods\advtrains\advtrains/path.lua:373: in function 'path_get_index_by_offset' ...il worlds\bin..\mods\advtrains\advtrains/trainlogic.lua:596: in function 'train_step_b' ...il worlds\bin..\mods\advtrains\advtrains/trainlogic.lua:109: in function 'mainloop_trainlogic' ...ent evil worlds\bin..\mods\advtrains\advtrains\init.lua:613: in function <...ent evil worlds\bin..\mods\advtrains\advtrains\init.lua:575> ...or resident evil worlds\bin..\builtin\game\register.lua:431: in function <...or resident evil worlds\bin..\builtin\game\register.lua:417>

    1 comments
  • Having trouble

    could be on my end but after I put a train down and a few tracks its like it locks can't break it drive it and my trashcan stops working if I drop items they pop back in my inventory as well I'll keep goofing around with it could be this or basic trains or that dix or dlx trains mod

    1 comments

Used By