TrainCarts
TrainCarts Development has moved to SpigotMC.
You can get the new versions at the following URL:
https://www.spigotmc.org/resources/traincarts.39592/
This page is no longer being actively monitored, please seek for support on SpigotMC.
Plugin: TrainCarts - Linked Minecarts, sign-redstone systems, easy to use and realistic
Version: v1.73.0
Build: 1.7.2 R0.1/R0.2
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

Links
For configuration, permissions and how-to's, see the Wikipedia page (it is rather long):
Note that I would prefer having comments, bug reports and others in the main Bukkit page, since I visit that site the most. :)
Addons
Special Addons for TrainCarts
Features
- Link minecarts using collision: no commands needed to make a train
- Move trains as easily as you would with single Minecarts
- Store 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
- Spawn
- Teleport
- 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
- Supports Minecart Mania's features
- Infinite minecart speeds are possible
- Push-away: Push mobs, players and items away from your trains to keep them running
- Everything is configurable, if something proves not to be, I will make it that way
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.
Why not boats?!?!
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.
Metrics
This plugin sends server count statistics to MCStats.org. You can (globally) opt out in the PluginMetrics/config.yml file.







-
View User Profile
-
Send Message
Posted Dec 21, 2011@bergerkiller
i mean make the derailment impossible .
-
View User Profile
-
Send Message
Posted Dec 20, 2011@NODeeJay Do you use any other plugins? Do you use NoLagg, and if not, could you run it with it once and tell me if you get any synchronized thread access errors?
@kpunkt That got to be an error in the launch direction changer, will look at it in the next update.
@maxi1134 Um you can't destroy derailed carts, but you can remove them from trains.
-
View User Profile
-
Send Message
Posted Dec 19, 2011a way to delete derailment ?
-
View User Profile
-
Send Message
Posted Dec 19, 2011I've a problem with stations. After the last update my trains are buggy. They launche perfectly at all stations except one. At this station the train begins to move and bounces back to station. Sometimes the train doesn't bounce but mostly the train bounces at least once or twice.
Sorry for my bad english!
-
View User Profile
-
Send Message
Posted Dec 17, 2011@bergerkiller
Looked pretty good after the first save, then the server ran around 1h and I stopped again. this time Owner(s) and Name disappeared. Next save mobsenter and pushmubs/misc disappeared in the game but not in the trainflags.yml. After saving it disappeared in the config too.
After the 3rd save the train seems to be like the default, mobsenter true, no pushaway, no name, no owner... By the way I do not have any permissions in place, perhaps that's why Owner disappears?
I took screenshots and saved them on my webserver: http://www.nodeejay.net/tools/download/screenshots.zip
While next serverstart I got the following errors:
Train4 was the previous SpwanExpress.
Thanx for your help!
-
View User Profile
-
Send Message
Posted Dec 16, 2011@NODeeJay Well I recently added the functionality to hide properties of trains that are currently set at the default. This to reduce the size of the file. It's possible that the push away settings were all false except misc, which means that it hides those properties. I'll remove that feature in the next version.
Also, updated to fix several bugs and other issues. Not sure if all concurrency exceptions in the group manager are resolved, but haven't noticed them during hours of debugging.
-
View User Profile
-
Send Message
Posted Dec 16, 2011I use the 1.0.1-R2 Bukit Win7 SP1, JRE 6.30 (x64) and the most recent Traincarts+Signlink but encounter a strange behavior every time I stop or reload the server. Train properties in trainflags.yml disappear.
So I started a fresh server, fresh world etc., created 2 stations each reversing the train. Then I set properties like owner, maxspeed, mobsenter, mobspush. Except one random property (mostly mobspush or mobsenter) everything is set to trainflags.yml. After the next plugin load except the name and pushAway: {} of all trains disappear and all settings are lost. However at server start traincarts reports all trains and cabs loaded w/o error.
I tried both keep chunks loaded settings but no way. First I assumed it's a sign setting the speed on the rout (and deletes the other settings) but the issue is only caused by a server reload or stop/start
Any idea how I can get that working? Is it the same issue MajorCyto encounters?
Thanx for some help and the great work!
-
View User Profile
-
Send Message
Posted Dec 16, 2011@TheGurw You can, simply give your players the permission to use a certain 'default properties' section. In those sections you can set if trains made by this player can be linked. See the WIKI page for more information about this. (also deny the players from being a train owner, or they can change the property themselves)
@maxi1134 If you are an operator (and thus have the global ownership permission) you are ignored when pushing. You can disable this owner ignore in the configuration.
@MajorCyto What exactly happens, does it reset the property after some time?
-
View User Profile
-
Send Message
Posted Dec 16, 2011at com.bergerkiller.bukkit.tc.GroupManager.refresh(GroupManager.java:318)
-
View User Profile
-
Send Message
Posted Dec 16, 2011@maxi1134
Works fine for me, even pushes op's who dont own the train. I just need the chunksalwaysloaded true error fixed lol.
-
View User Profile
-
Send Message
Posted Dec 15, 2011pushplayer don'T work :( Why
The player still stopping the minecart .
-
View User Profile
-
Send Message
Posted Dec 15, 2011@Buildabro
CraftBukkit
-
View User Profile
-
Send Message
Posted Dec 14, 2011@bergerkiller What is CB?
-
View User Profile
-
Send Message
Posted Dec 14, 2011@bergerkiller
damn. I'd like to include the ability to make trains as part of a VIP package for my players, but I don't want to disable minecarts altogether. Any way to see a permission just for connecting the minecarts into trains?
-
View User Profile
-
Send Message
Posted Dec 13, 2011Maybe this was already answered, but what am I doing wrong here with triggers?
sign one: [train] trigger blah1 01:00
sign two: train arrives in %blah1%
All the sign reads is the varible name. It never gets triggerd - even with redstone torch.
I am using latest minecraft with CB 1.0.1
-
View User Profile
-
Send Message
Posted Dec 13, 2011@Buildabro @ChrisHandsome make sure you use the latest CB with this.
@cky2250 For now you can use the station sign system to change/reverse train movement.
@TheGurw Prevents them from placing a minecart.
@MajorCyto Will look at the error tomorrow, have been fixing NoLagg today :)
-
View User Profile
-
Send Message
Posted Dec 12, 2011Hey, thanks for the recent update everything works fine except with my trains i use..
/train keepchunksloaded true
So they can continually do there route's nonstop, when i cleanly shut down the server, then bring it back up the plugin posts an error about keeping chunks loaded. Then when i go check on the trains, there stopped.. and the "keep chunks loaded: true" option, is now false.
It doesn't seem to be saving the keep chunks loaded true option between restarts, and forgetting some of its other options and that it was moving, and needs to keep moving lol.
Here is the paste of the stack
> http://pastebin.com/0N7SeKr1-
View User Profile
-
Send Message
Posted Dec 12, 2011I just need clarity. Is the permission train.place.minecart used to prevent players from making a train or placing a minecart?
-
View User Profile
-
Send Message
Posted Dec 11, 2011hey can you make it so the powercart can go the other way (like a switch within the storage cart or something like that, that will change which way the powercart moves.) . I have a track made that needs the power cart to to the other way. and it can only be riden on when it is like that.
-
View User Profile
-
Send Message
Posted Dec 10, 2011Hey, first off, this mod looks amazing and i can't wait to use it. Unfortunately, whenever i try and place a minecart it immediately disappears. I use a hosting service if that matters at all.
2011-12-10 09:22:10 [INFO] Starting minecraft server version 1.0.0
2011-12-10 09:22:10 [INFO] Loading properties
2011-12-10 09:22:10 [INFO] Starting Minecraft server on *:26305
2011-12-10 09:22:10 [INFO] This server is running Craftbukkit version git-Bukkit-1.8.1-R4-39-g4e7eb93-b1518jnks (MC: 1.0.0) (Implementing API version 1.0.0-R1-SNAPSHOT)
2011-12-10 09:22:11 [INFO] Preparing level "Fuckyeah"
2011-12-10 09:22:11 [INFO] Default game type: 0
2011-12-10 09:22:11 [INFO] Preparing start region for level 0 (Seed: 2572945)
2011-12-10 09:22:11 [INFO] Preparing start region for level 1 (Seed: -5426310309849757433)
2011-12-10 09:22:12 [INFO] Preparing spawn area: 97%
2011-12-10 09:22:12 [INFO] Preparing start region for level 2 (Seed: -5426310309849757433)
2011-12-10 09:22:12 [INFO] [Backup] Permission system not detected, defaulting to OP
2011-12-10 09:22:12 [INFO] Backup v1.4a was sucessfully loaded!
2011-12-10 09:22:12 [INFO] SimpleSave: 2.0.4 Initialized
2011-12-10 09:22:12 [INFO] SimpleSave: Current save interval is 10 minute(s)
2011-12-10 09:22:12 [INFO] CoolStoryBro: Configuration loaded
2011-12-10 09:22:12 [INFO] CoolStoryBro: Permission system not detected, using Bukkit permissions
2011-12-10 09:22:12 [INFO] CoolStoryBro: 'Help' isn't detected. Use '/bro help' for command info.
2011-12-10 09:22:12 [INFO] CoolStoryBro 0.3 enabled
2011-12-10 09:22:12 [INFO] Backup: Cool plugin bro
2011-12-10 09:22:12 [INFO] CoolStoryBro: Thanks bro
2011-12-10 09:22:12 [INFO] Backup: No prob bro
2011-12-10 09:22:12 [INFO] [TrainCarts] File not found, it is not loaded: plugins\Train Carts\arrivaltimes.txt
2011-12-10 09:22:12 [INFO] [TrainCarts] version 1.53 is enabled!
2011-12-10 09:22:12 [INFO] Server permissions file permissions.yml is empty, ignoring it
2011-12-10 09:22:12 [INFO] Done (0.170s)! For help, type "help" or "?"
2011-12-10 09:22:56 [INFO] Lowtax88 [/68.84.24.4:50748] logged in with entity id 472 at ([Fuckyeah] 210.17452408697193, 108.0, -9.018835515716752)
2011-12-10 09:23:07 [INFO] Lowtax88: Setting Lowtax88 to game mode 1
2011-12-10 09:23:28 [WARNING] Task of 'Train Carts' generated an exception
java.lang.NoSuchMethodError: net.minecraft.server.EntityMinecart.getDerailedVelocityMod()Lorg/bukkit/util/Vector;
at com.bergerkiller.bukkit.tc.Utils.EntityUtil.replaceMinecarts(EntityUtil.java:98)
at com.bergerkiller.bukkit.tc.MinecartMember.convert(MinecartMember.java:187)
at com.bergerkiller.bukkit.tc.Listeners.TCVehicleListener$2.run(TCVehicleListener.java:65)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:482)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Let me know if theres anything that can be done to fix this, thanks!