Minecart Engine
This project is now inactive but the idea is alive.
Click here to see Robingrether's project: "Minecraft Train Simulator" Released as "Release"
(I would say it is a very advanced beta. In practice, still better than my plugin)
Click here to see shutara's project: "TrainZ" Yet in planning stage
=================================================
Description
This complementary plugin for bergerkiller's Traincarts will add the possibility of create electric and lava/coal locomotives, with realistic features like
- Panel with LED speedometer, LCD display, and the console.
- Electrified railway systems, with needing of substations, and settings like voltage and substation power capacity.
- Sounds of the brake air system, control lever and the engine.
- Realistic effects like exploding the transformer when trying to destroy it while turned on
Permissions
MinecartEngine.usage - For use the locomotive.
MinecartEngine.create - For create the infraestructure, or the locomotives.
Commands
Locomotive Usage Commands:
General controling:
/control start - start the low voltage systems (battery supplied if high voltage system is turned off).
/control stop - stop the low voltage systems.
/control engine - start/stop the diesel/lava/coal generator of the diesel/lava/coal train, supplying high voltage energy for the traction system works.
/control panto - raises/lowers the pantograph, supplying high voltage energy for the traction system works.
Direction Lever:
/df - Set direction lever to "forward".
/dn - Set direction lever to "neutral".
/db - Set direction lever to "backward".
Traction Lever:
/p4 - Full power.
/p3 - 75% of power.
/p2 - 50% of power.
/p1 - 25% of power.
/neutral - Set traction lever to "neutral".
/b1 - 25% of brake.
/b2 - 50% of brake.
/b3 - 75% of brake.
/b4 - Full brake.
Locomotive and Infrastructure Creating Commands:
Locomotive creating commands:
/loco create lava/coal/diesel - Creates a locomotive that runs by lava or coal inserted in a chest minecart.
/loco create electric <voltage> - Creates a electric locomotive, that runs by the electricity supplied by overhead lines in all the track.
Infraestructure creating commands:
/substation create <name> <voltage> <power> - Creates a electric substation that supply all the overhead lines connected with the iron block that the wizard will ask to you place
Instalation
Place "TrainCarts.jar" and "BKCommonLib v1.24.jar" in the plugins folder, also the "MinecartEngine.jar".
Pages
this plugin is so cool, but the pantograph you draw onto the picture, I thought it was real(but it's not)
I think you could remove the errors if you don't write all the arguments.
@Hydragon1
How i will fix it when in my computer it works ._. First of all you will need to send me the stack trace (that pile of code that the most of people don't understand) generated when appears to you in the chat "An internal error occurred while attempting to perform this command."
Second, this is a alpha that does all, but of all, nothing it does right, so I will rewrite the entire code...
Third, does't exist a "/station" command (unless it is a example)
Fourth, I recommend to read the Quick Start Tutorial ;) http://dev.bukkit.org/server-mods/minecart-engine/pages/quick-start-tutorial/
it dont work if i do commands like /station it says: An internal error occurred while attempting to perform this command. so plz fix this
@Dibujaron
No ._.
I have never installed it too
@ClaudeSpeedIII
Is traincart blocks needed? I never install that.
@Dibujaron It is a GIMP edited image to ilustrate the page
The diference between electric and diesel/lava/coal trains in the intended final version is the needing of electric infraestructure, and the not needing of fuel.
The panel I implemented to test the possibility, anyway, I will rewrite the entire code (I need to put it in the description), and in the 1.0 release version, is intended to have:
To be implemented in later versions (1.x)
:D
@ClaudeSpeedIII
mine was very similar to what you've done here. However, I was planning it to be much simpler. I absolutely LOVE the map control panel thing. that's very cool.
@cdoublejj
Sorry, but i don't understand ._.
@JM120897
A day you server will have this work, now the plugin is in a alpha, and the code is bad, probably I will rewrite the entire code when i have time, and it will be a restart, i will cut secondary features (sorry folks, but i think in the first versions, the map-panel feature will not be present, i will focus on primary features like couple/uncouple wagons, error handling (i know it is obrigatory, but actually the plugin has try/catches only in the Thread.sleep() and in the catch i don't put anything), rail yard creating (you can only create locomotives and wagons in the rail yard) and the principal: cargo and passenger wagons). i think it is the essential for the plugin idea, and for a release.
@rcth
As i said in the known bugs, and in the reply above, the plugin simply does'nt use ANY try catch, when I made this plugin (may to june) it has been my first big object oriented program in java, I don't see the try/catch as a essential thing. Also, this plugin if for my learning and for i show for some friends, not to the public, so, ANYTHING can cause a stack-trace ._.
Still that I put all the code in the garbage, is interesting know what is causing the stack-trace in your case, send me a PM with the stack-trace, and your plugins, and don't forget that this plugin need Traincarts
@Dibujaron
Want to talk about your ideas for you plugin, has various ways of making a plugin like that.
I was going to make something like this. now i'm jealous. well done.
Every time I use a command it says internal server error. I use the versions of bukkit and plugin that are needed at 1.3.2.
Nice plugin it's very cool! We got a new work in our server: Train driver !!
so you can't actually make and control the train you have to use commands?
@mykirill
When I made this plugin it was in the 1.2.5, I updated it in this friday. Scroll down in the first post, this version is for 1.2.5 http://forums.bukkit.org/threads/minecart-engine.100628/
For 1.2.5 maybe ?
O.o, cool plugin, i love it ;D