Difference between revisions of "TrainCarts"

From BergerHealer Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
<!--T:2-->
 
<!--T:2-->
 
'''TrainCarts''' is a plugin developed by Bergerkiller and features everything related to Trains of minecarts. It was initially developed to link multiple carts together, creating a moving train. Over time the plugin grew to host many more features, such as action signs, commands, properties, attachments and a broad API other plugins can implement to add their own features.
 
'''TrainCarts''' is a plugin developed by Bergerkiller and features everything related to Trains of minecarts. It was initially developed to link multiple carts together, creating a moving train. Over time the plugin grew to host many more features, such as action signs, commands, properties, attachments and a broad API other plugins can implement to add their own features.
 
  
 
== Trains == <!--T:3-->
 
== Trains == <!--T:3-->
Line 16: Line 15:
 
<!--T:4-->
 
<!--T:4-->
 
The first thing you will notice is that you can now connect carts together to form infinitely long trains. Every cart in this train is called a ''member'', all members combined are called a ''group''. Every member communicates with the group, so when the front cart hits a block, it stops the entire group. When someone pushes a cart, this pushing force is shared among all members. Therefore, long trains are less responsive than short trains.
 
The first thing you will notice is that you can now connect carts together to form infinitely long trains. Every cart in this train is called a ''member'', all members combined are called a ''group''. Every member communicates with the group, so when the front cart hits a block, it stops the entire group. When someone pushes a cart, this pushing force is shared among all members. Therefore, long trains are less responsive than short trains.
 
  
 
== New physics == <!--T:5-->
 
== New physics == <!--T:5-->
Line 25: Line 23:
 
<!--T:7-->
 
<!--T:7-->
 
[[Special:MyLanguage/TrainCarts/Physical|» Physical]]
 
[[Special:MyLanguage/TrainCarts/Physical|» Physical]]
 
  
 
== Signs == <!--T:8-->
 
== Signs == <!--T:8-->
Line 34: Line 31:
 
<!--T:10-->
 
<!--T:10-->
 
[[Special:MyLanguage/TrainCarts/Signs|» Signs]]
 
[[Special:MyLanguage/TrainCarts/Signs|» Signs]]
 
  
 
== Command == <!--T:11-->
 
== Command == <!--T:11-->
Line 43: Line 39:
 
<!--T:13-->
 
<!--T:13-->
 
[[Special:MyLanguage/TrainCarts/Commands|» Commands]]
 
[[Special:MyLanguage/TrainCarts/Commands|» Commands]]
 
  
 
== Train Spawn Chest == <!--T:14-->
 
== Train Spawn Chest == <!--T:14-->
Line 52: Line 47:
 
<!--T:16-->
 
<!--T:16-->
 
[[Special:MyLanguage/TrainCarts/Train_Spawn_Chest|» Train Spawn Chest]]
 
[[Special:MyLanguage/TrainCarts/Train_Spawn_Chest|» Train Spawn Chest]]
 
  
 
== Path finding == <!--T:17-->
 
== Path finding == <!--T:17-->
Line 61: Line 55:
 
<!--T:19-->
 
<!--T:19-->
 
[[Special:MyLanguage/TrainCarts/PathFinding|» Traincarts Path Finding]]
 
[[Special:MyLanguage/TrainCarts/PathFinding|» Traincarts Path Finding]]
 
  
 
== Configuration == <!--T:20-->
 
== Configuration == <!--T:20-->
Line 70: Line 63:
 
<!--T:22-->
 
<!--T:22-->
 
[[Special:MyLanguage/TrainCarts/TrainProperties|» Train Properties]]
 
[[Special:MyLanguage/TrainCarts/TrainProperties|» Train Properties]]
 
  
 
==Attachments== <!--T:23-->
 
==Attachments== <!--T:23-->
Line 76: Line 68:
 
<!--T:24-->
 
<!--T:24-->
 
[[Special:MyLanguage/TrainCarts/Attachments|» Attachments]] (WIP)
 
[[Special:MyLanguage/TrainCarts/Attachments|» Attachments]] (WIP)
 
  
 
== Permissions == <!--T:25-->
 
== Permissions == <!--T:25-->
Line 85: Line 76:
 
<!--T:27-->
 
<!--T:27-->
 
[[Special:MyLanguage/TrainCarts/Permissions|» Overview of all permissions]]
 
[[Special:MyLanguage/TrainCarts/Permissions|» Overview of all permissions]]
 
  
 
== Add-ons == <!--T:28-->
 
== Add-ons == <!--T:28-->
Line 92: Line 82:
 
TrainCarts has a flexible API which allows other plugins to implement custom track, signs, attachments and more.
 
TrainCarts has a flexible API which allows other plugins to implement custom track, signs, attachments and more.
 
* [[Special:MyLanguage/TC-Coasters|TC-Coasters]]: Adds smooth rollercoaster track to TrainCarts
 
* [[Special:MyLanguage/TC-Coasters|TC-Coasters]]: Adds smooth rollercoaster track to TrainCarts
 
  
 
== Useful Links == <!--T:30-->
 
== Useful Links == <!--T:30-->
Line 117: Line 106:
 
[https://ci.mg-dev.eu/job/TC%20Coasters/ Jenkins]
 
[https://ci.mg-dev.eu/job/TC%20Coasters/ Jenkins]
 
[https://github.com/bergerhealer/TC-Coasters GitHub]
 
[https://github.com/bergerhealer/TC-Coasters GitHub]
 
  
 
== Depreciated Addons == <!--T:35-->
 
== Depreciated Addons == <!--T:35-->

Revision as of 20:59, 25 November 2020

Other languages:
Deutsch • ‎English • ‎Español • ‎Nederlands • ‎中文(中国大陆)‎ • ‎日本語 • ‎한국어
TrainCarts
TrainCarts train 1.gif
Minecarts redefined
Spigot: TrainCarts
GitHub: TrainCarts


« Go back

TrainCarts is a plugin developed by Bergerkiller and features everything related to Trains of minecarts. It was initially developed to link multiple carts together, creating a moving train. Over time the plugin grew to host many more features, such as action signs, commands, properties, attachments and a broad API other plugins can implement to add their own features.

Trains

The first thing you will notice is that you can now connect carts together to form infinitely long trains. Every cart in this train is called a member, all members combined are called a group. Every member communicates with the group, so when the front cart hits a block, it stops the entire group. When someone pushes a cart, this pushing force is shared among all members. Therefore, long trains are less responsive than short trains.

New physics

Trains can travel on top of pressure plates and alongside ladders, and also upside-down below vanilla rails placed on a ceiling.

» Physical

Signs

Loads of different signs are available to automate stations, eject trains, put players in trains or update train configuration.

» Signs

Command

The plugin has lots of commands you can use to alter the behavior of trains and minecarts.

» Commands

Train Spawn Chest

A special item allows for trains to be picked up and spawned.

» Train Spawn Chest

Path finding

Trains can have a destination set, after which switcher signs will automatically switch the track to lead the train towards it with the shortest route possible. This can be used to automate a large train network, sending trains to different stations fully automatically. It is also possible to configure a list of destinations the train should visit and have the train automatically go from one destination to the next.

» Traincarts Path Finding

Configuration

TrainCarts can be configured in the config.yml file. All setting nodes have a header to help you understand what that particular node adjusts. Other than that, you can set the default train properties (properties applied to new trains) in the DefaultTrainProperties.yml file. The nodes should speak for themselves. Try not to touch the other files, as it can cause corrupted save data, or the plugin getting out of sync. Deleting the files should re-set TrainCarts completely, may one of the files get corrupted. The plugin automatically generates all configuration needed.

» Train Properties

Attachments

» Attachments (WIP)

Permissions

Like in all plugins that use BKCommonLib as a base, all permissions can be found in PermissionDefaults.yml in the plugin folder. There they are all listed together with a description and permission default, which you can alter as well.

» Overview of all permissions

Add-ons

TrainCarts has a flexible API which allows other plugins to implement custom track, signs, attachments and more.

  • TC-Coasters: Adds smooth rollercoaster track to TrainCarts

Useful Links

Traincarts Spigot Jenkins GitHub

BKCommonLib Spigot Jenkins GitHub

TC Coasters Spigot Jenkins GitHub

Depreciated Addons

(No longer supported in current versions of Traincarts)

ActionBlocks, added block-based systems to the game. They were dumbed-down versions of the sign systems mentioned above.

TrainCartsBlocks GitHub Download Page