Inactive [MECH] TrainCarts v1.71.2 - Link minecarts of different types together to form trains [2222]

Discussion in 'Inactive/Unsupported Plugins' started by bergerkiller, Aug 3, 2011.

  1. Offline

    bergerkiller

    [​IMG]

    After a request from Marius A. Winsjansen I started to work on linked Minecarts. On the first day I already managed to make multiple carts move with the same speed, but a long list of bugs was to be expected. After fixing lots of bugs, adding lots of (complicated) Minecart handling functions and after hours of testing on my local server, this plugin is finally ready for a stable release! :D

    Also, special thanks go to @Shamebot for helping me out several times. :)

    Description:
    For a lot of information about TrainCarts see the WIKI page!

    Configuration and permissions

    All configuration nodes can be found in config.yml and contains a description with it. Permissions can be found in PermissionDefaults.yml, combined with a description.

    Media:

    Early development video (Photobucket)

    Video displaying version 0.6 of this plugin (YouTube)

    Video displaying version 1.0 of this plugin (YouTube)

    Video displaying version 1.1 of this plugin (YouTube)

    Video displaying version 1.2 of this plugin (holy...)


    A tutorial video in German explaining various sign-circuitry of TrainCarts


    PhotoBucket Sign system tutorial videos (also linked in the WIKI pages)
    Train spawner / Stations / Stations2 / Arrival signs / Train teleportation / Track switcher based on tags / Destinations / Blocker
    Video of how the switcher, station and destination signs work together

    Side information:

    It works best on straight lines with not too much elevation changes followed up by sharp corners. As long the cart gap can be adjusted, everything goes fine. It had some collision issues in the past, but I fixed all of that by manipulating the actual Minecraft server native code. I added links in the source where this was appropriate. Sharp 'U'-turns cause individual carts to lose perceptive of their direction. Keep at least one piece of track in between corner sections! Trains are stored on-disk when reloading and stopping the server, so expect trains to be there when you return.

    Important when updating: do one reload to save all trains, then replace traincarts.jar, and then do another reload. This next reload will probably cause a noClassDefFound exception (since the old jar got replaced), this is why a pre-reload is required. Replacing the jar without reloading is a very bad idea: it will cause a lot of runtime exceptions. Best is of course to stop the server and start again, but this is not always possible.

    This plugin is made compatible with Minecart Mania. If you notice a certain feature of Minecart Mania is not compatible with TrainCarts, notify me and I'll fix it. :)


    Known bugs:
    - None.

    TODO:
    - Train-sign message handling using SignLink (low priority)
    - Minecart use permissions (for individual carts?) such as Storage Minecarts

    Commenting

    If you encountered a bug, post exactly what you had done and in what order. Even a slight wobble can help fixing bugs. When posting (long) errors I recommend you to post everything, don't cut it off. I work with native methods, so in my case these lines are important. For comments on the media content see YouTube, it also contains a description with the music name when music is used.

    Bug reporting (extend)

    1. Post the Craftbukkit version you are using (the first info message in the console)
    2. Post the log from where the first plugin gets enabled to the 'done'.
    3. Post possible errors in this log too (don't cut them short)
    4. No error? Still post the log. Also explain how I can reproduce it, you can use screenshots
    5. Before reporting, remove ALL plugins other than TrainCarts and try again. If it works then, find out what plugin is interfering and post that here. I can add support.
    6. ALWAYS use the latest recommended Craftbukkit build with this, or my methods may just fail because of renamed functions.

    Important links:

    Request thread
    TrainCarts on BukkitDev for download and more
    TrainCarts source and more on GitHub
    TrainCartsBlocks add-on source and more on GitHub
    SignLink Bukkit page (required to use Arrival signs)
    MyWorlds Bukkit page (required to use Portal train teleportation)

    notice: try to keep SignLink/MyWorlds up-to-date to prevent compatibility issues.

    Installation for those that don't know how

    1. Download and install the latest craftbukkit version
    2. Download the latest TrainCarts version
    3. ^ Save the archive (zip file) to your computer
    4. ^ Open the archive you just downloaded
    5. In the folder your server sits in, create the plugins folder if it doesn't exist
    6. Open the plugins folder
    7. Move the TrainCarts.jar file found in the archive into the plugins folder
    8. Run your craftbukkit server and look in the console/log for possible errors, and/or if the plugin is enabled.

    Changelog

    Show your appreciation for my plugins by donating
    [​IMG]
     
  2. Any way to privatice a chestcart? I tried with claim, private... but no works.
     
  3. Offline

    bergerkiller

    Cuerdas
    It should be a matter of placing a storage card, only you are the owner of this cart from that point onwards. Make sure players don't have global ownership (by default OP players) as they can access all carts, as it (as it says so) grants global ownership.
     
  4. This is the situation:
    I put a train with minecraft furnace, minecraft chest and som minecarts and im the admin server, when a user use this train he can open the chest and steal coal. Obviously user dont have op perms.
     
  5. Offline

    bergerkiller

    Cuerdas
    Hmn that seems to be wrong then, interaction with the cart should be cancelled for non-owners. Could've become broken as of 1.6, I'll fix it soon then.
     
  6. Im not using 1.6, actually my server is at 1.5.2-R1.0
     
  7. Offline

    jorama

    i have a problem with minecart after I logout *without stop server* when I'm login the server again I cant enter the cart, mine cart with furnace and minecart with chest not respond i gotta destroy them and place them again and after i logout from server it happened again (I'm the admin)
    1.6.2V, lastest plugin version
     
  8. Offline

    bergerkiller

  9. Offline

    x_deathpandas_x

    I had craftbukkit for 1.6.2 and downloaded traincarts for 1.6.2, put the .jar file into my servers plugins folder, and ran my server. It didn't do anything... it didn't even make a train carts folder. I looked in the console/log for any errors, but it had no trace of any traincarts on there. The only thing of traincarts I had was the .jar itself... :'(
     
  10. Offline

    bergerkiller

    x_deathpandas_x
    I rather have you post on dev.bukkit...as this page is kind of dead...but aight.

    Make sure to place the TrainCarts.jar AND BKCommonLib.jar in the right place. You can find both on dev.bukkit.
     
  11. Offline

    RedComputer

    Hello, the server worked well but now the train station always go to left, no matter if right or continue. Sorry for Bad English.
     
  12. Offline

    andrewpo

    What traincarts version are you using (/train command)
     
  13. Offline

    Zonta

    I'm not quite understanding the destination and pathfinding. I do succes to do some but when the train goes to a ][+train] pass a sign and then goes to a [train King] (King is his name) he don't go to the destination wrote on this sign. He to the other one
     
  14. Offline

    KingDingbat

    I have a question about villagers and carts. When we push a villager into a cart and then try to push the cart away with the villager in it, the villager jumps out.

    I found this in the DefaultTrainProperties.yml file but there are no notes explaining what the values can be or what they do. Setting them currently to DEFAULT does not explain what they do either. Does this mean "default" as in regular Minecraft behavior, or does it mean some sort of regular Traincarts behavior? What else could be the value besides Push and Link?
     
  15. Offline

    sem_KL2

    1.Build #3020 1.7.2 R-0.3 (beta)

    I have a quit curious problem. Everybody on the Server can use the plugin, expect me. I have all possible permissions and i'm an op.
    I don't even get an error msg in the console or a "You don't have permissions" waring in the chat, just nothing happens.
    I have no other Minecart manipulating Plugin installt.
     
  16. Offline

    KingDingbat

    I'm having a problem with Traincarts...

    The trains can run fine for hours and then:
    This does not happen when I don't send trains running around the world.

    I have 3Gb of RAM and usually only me online. Rarely ever any other players, so I can't imagine it's legitimately running out of RAM. This seems like a memory leak or something, because it runs fine for a long time and then the server crashes.

    I'm using
    • Craftbukkit 1.7.2 RO 4 - (I can't update yet because of other plugins. Working on it.)
    • BKCommonLib 1.57 (1.58 Snapshots break Traincarts)
    This has happened on 4 different servers (different hosting companies) and since 1.7.2 came out.
     
  17. Offline

    joulesbeef

    trying to make it so mobs get ejected by players dont.. can help?

    meaning i want the mobs to enter.. and then get ejected along the way, and the players leave via station

    i tried /train playerexit false before the eject sign but they still get ejected.
     
  18. Offline

    justin_393

    bergerkiller

    The ticketing system does not seem to be working.
    I set it up like this

    [train]
    ticket
    buy
    10000

    and when a cart goes over it they do not lose money/get ejected. No errors are being printed.
     

Share This Page