Rollercoaster Lite 1.12.2

Rollercoasters in minecraft

  1. legofreak107
    Tested Minecraft Versions:
    • 1.12
    Source Code:
    https://github.com/legofreak107/Rollercoaster
    Contributors:
    corporalbruno
    Banner.png

    RollerCoaster is a plugin that adds real smooth rollercoasters to your game. You can create custom paths and let armorstand trains or carts ride it.

    Installation

    1. Download the plugin and copy it in the plugin folder
    2. Restart your server to load the plugin

    Command

    • /rc help -> Shows command list
      Permission: -
    • /rc spawntrain -> Spawns a train
      Permission: rollercoaster.spawntrain
    • /rc removetrain -> Remove a train
      Permission: rollercoaster.removetrain
    • /rc starttrain -> Start a train
      Permission: rollercoaster.starttrain
    • /rc stoptrain -> Stop a train
      Permission: rollercoaster.stoptrain
    • /rc startpath -> Start path creation
      Permission: rollercoaster.createtrack
    • /rc addpoint -> Add a point to the path
      Permission: rollercoaster.createtrack
    • /rc build -> Build the path
      Permission: rollercoaster.createtrack
    • / rc removetrain -> Remove a train
      Permission: rollercoaster.removetrain
    • /rc locktrain -> Lock a train
      Permission: rollercoaster.lock
    • /rc unlocktrain -> Unlock a train
      Permission: rollercoaster.lock
    • /rc train create -> Create a new train type
      Permission: rollercoaster.createtrain
    • /rc train chairs pos -> Set seat ofset
      Permission: rollercoaster.createtrain
    • /rc train setskin -> Set the model of the train
      Permission: rollercoaster.createtrain
    • /rc train list -> Get a list of trains
      Permission: rollercoaster.createtrain
    • /rc tracklist -> Get a list of tracks
      Permission: rollercoaster.tracklist

    Images
    2018-02-21_00.13.53.png 2018-02-21_00.14.10.png 2018-02-21_00.14.18.png 2018-02-21_00.17.25.png 2018-02-21_00.17.33.png 2018-02-21_00.17.40.png 2018-02-21_00.17.50.png


    Setting up a coaster
    Setting up a coaster

    First you have to build a rollercoaster from blocks. If it is your first one I recommend a short track to get the hang of things.

    If there is a spot you want the train to stop or pause or wait then you can put a wait sign under that point in the track.

    [rc]
    wait
    <seconds>

    If there is a section you want the train to move faster or slower you can put a speed sign under that point in the track.

    [rc]
    speed
    0-100

    The plugin automatically calculates Tilt. If there is a section you want the train to have no tilt, place a tilt sign under that point in the
    track. (NOTE: Passengers will remain upright at 90 degrees perpindicular to the ground)

    [rc]
    autotilt
    false

    If there is a section you want the train to flip upside down (NOTE: Passengers will remain upright at 90 degrees perpindicular to the ground)
    place an upsidedown sign under that point in the track.

    [rc]
    upsidedown
    true

    If you want the train to turn on the axis you can add a rotation sign under that point in the track.

    [rc]
    rotation
    <degreesRotation> (NOTE: Can be negative or positive integer between 0 and 360)

    [rc]
    autorotation
    false (NOTE: Can be true or false. Overridden by rotation signs.)

    After you have done built your test track you follow these steps:

    1. Type /rc startpath
    2. Go to the start of the track and type /rc addpoint (this point will be where the coaster will start moving from)
    3. Every 2nd block forward on the track and type /rc addpoint.(I recommend using Essentials powertool to speed this up)
    4. Repeat step 3 until you are finished with the track and you are back in the coaster station. (The last point you set is the place where the
    last cart of the train stops)
    5. Type /rc build <TrackName>
    eg /rc build TestTrack
    6. Type /rc reload

    You have now created a track. In order to use this track you now have to create a train.

    1. Type /rc train create <TrainName> <SeatAmountLoco> <SeatAmountCart> to create a train. (default is 1 seat)
    eg /rc train create TestTrain
    eg /rc train create TestTrain 1 2 (this makes the locos have 1 seat and the carts have 2 seats)
    2. Type /rc train setskin <trainname> <Loco/Cart> To change the skin to an item you are holding and designate that item as the Locomotive or Cart.
    eg /rc train setskin TestTrain Loco
    eg /rc train setskin TestTrain Cart
    3. Type /rc train chairs pos <TrainName> <seat#> <Offset Left Right> <Offset Front Back> <Loco/Cart> to setup the seat positions. (The seat# starts with 0
    so if
    you have 4 seats in one cart you have to set seat 0, 1, 2 and 3)
    eg /rc train chairs pos TestTrain 0 1 -1 Loco (sets the 1st seat in EACH locomotive to be one block offset to the back and one block to the
    right)
    /rc train chairs pos TestTrain 1 -1 -1 Loco (sets the 2nd seat in EACH locomotive to be one block offset to the back and one block to the left)
    /rc train chairs pos TestTrain 0 -1 -1 Cart (sets the 1st seat in EACH cart to be one block offset to the back and one block to the left)
    /rc train chairs pos TestTrain 1 -1 1 Cart (sets the 2nd seat in EACH cart to be one block offset to the back and one block to the right)
    /rc train chairs pos TestTrain 2 1 -1 Cart (sets the 3rd seat in EACH cart to be one block offset to the front and one block to the left)
    /rc train chairs pos TestTrain 3 1 1 Cart (sets the 4th seat in EACH cart to be one block offset to the front and one block to the right)
    4. Type /rc reload to reload the trains.

    Now you are done setting up a train!

    The final step is to spawn the train to the track and choose how many carts you want and if the coaster has a locomotive.

    /rc spawntrain <TrackName> <TrainName> <AmountOfCarts> <UseLoco, 1=yes, 2=no> <cartOffSet> <minspeed> <maxspeed> <itemStandSize>
    NOTE: Minimum integer for <minspeed> is 1. Maximum integer for <maxspeed> is recommended 30, but can be set higher.
    eg /rc spawntrain TestTrack TestTrain 7 1 28 1 30 1(Spawns a train using small itemstands with 6 carts and 1 locomotive in front)
    eg /rc spawntrain TestTrack TestTrain 8 2 28 1 30 0(Spawns a train using large itemstands with 8 carts and no locomotive)

    After the train is spawned in you will have to start the train/track to allow passengers onboard.
    /rc starttrain <TrackName>
    eg /rc starttrain TestTrack

    You can also set a train to loop continuously with a configurable pause inbetween starts.

    /rc loop <trackName> <PauseInSeconds>
    eg /rc loop TestTrack 30 (This will cause the train to stop for 30 seconds at the end of the build path and then start again automatically
    regardless of passenger count)

    Once your players are on board the train you can type:
    /rc locktrain <TrackName> (this keeps players from exiting the train while in motion)
    eg /rc locktrain TestTrack
    /rc unlocktrain <TrackName> (this allows players to exit the train while in motion)
    eg /rc unlocktrain TestTrack

    This can also be accomplished by placing a sign under the track at the location you want passengers to be locked in.

    [rc]
    locked
    1

    Just don't forget to put a sign under the track where you want the passengers to be able to get off the train.

    [rc]
    locked
    0

    Textures

    You can add 3D textures to make cool looking trains. I personally like Cubik PRO but there are many other programs out there.
    The plugin makes use of armorstands wearing blocks. These blocks can be textured to look like real trains. (Example pack used is from: CraftVenture)


    Turorial video




    Config

    The config used in this plugin is only used to save tracks, all the editing etc can be done in-game.


    Support

    ▪ Discord: https://discord.gg/wvJkRgW


    NOTE
    RollerCoasters is in beta if you find any buggs, glitches or you have ideas to add? Please tell me!
    ooo, Brammie260, Roy7885 and 3 others like this.

Recent Updates

  1. Fixed loop loading/saving
  2. Removed unused code
  3. Fixed speed

Recent Reviews

  1. Zetoe
    Zetoe
    5/5,
    Version: 1.12.2
    1. A Update to 1.15.2 or a Tutorial how to develop plugins like this would be wonderful, beqause i am currently making a Theme Park in 1.15.2 and will use the System ;D
  2. kamikazifrosty
    kamikazifrosty
    5/5,
    Version: 1.12.2
    Great looking plugin from what i can see!
    Any update in the works for 1.13 or above?
  3. corporabruno
    corporabruno
    5/5,
    Version: 1.12.2
    This is the most stable version yet. Everything works. Im very happy. Please tell your rollercoaster creators to share videos and pictures of their coasters in the discord for this plugin. I would love to see them.

    Thanks again for developing this plugin and working out every single bug. Its fantastic to be able to provide something so fun for my players at no cost to myself. Great addition to the Spigot community of plugins.
  4. EnityStaller
    EnityStaller
    5/5,
    Version: 1.12.2
    You can support 1.11.2 ?
    Tks alot :3
    5 star
    --------------------------
    RollerCoaster very good plugins
    1. legofreak107
      Author's Response
      You can downgrade it yourself using the github. Just google on how to import projects from github into eclipse. Then go trough all classes and re-import all the "errors" that should do it! Feel free to join our discord if you need any help!
  5. AgentP1304
    AgentP1304
    3/5,
    Version: 1.12.2
    The plugin is okey.. I like the physics but there is something that could be better. I think the way to create a train is a little complicated and some more special signs would be better (e.g. look at traincarts) or a function to make a loco without seats to have a simple front (like on intamin blitz coasters). And I have the problem, that the train hover over the blocks and is't on the blocks.
    1. legofreak107
      Author's Response
      The trains can't be done easier because that would remove the possibility to fully customise it. The floating issue can be easily fixed by lowering the Y of the origin in the config a bit. Also what things would you like to see with the signs. Please provide me with as much unfo as you can so I can do something about it.
  6. Roy7885
    Roy7885
    5/5,
    Version: 1.12.2
    =============================================
    like plugins :D
    =============================================
  7. Roy7885
    Roy7885
    5/5,
    Version: 1.12.2
    =============================================
    like plugins :D
    =============================================
  8. YourPalJake
    YourPalJake
    3/5,
    Version: 1.12.2
    Pretty cool. It took pretty long to get this sort of plugin in the community dough I have my complaints on it...

    You use signs.. I find this very old tech. If you are gonna work with locations and such you must atleast be able to also store special features about that location.

    Also, I took a look at the code and its pretty messy. If you are gonna make a open source plugin atleast make a good description on it and make sure the code is not messy for people to read.

    All of all I find this plugin function, did not encountered any bugs but I still think there is much to be improved. If any time in the future I see big changes I might remove this review and leave a 5 star one instead
    1. legofreak107
      Author's Response
      I know the code is messy. It wasn't meant to be public, I am doing my best to clean it up tho! And indeed for the signs I am also working on a more advanced system.
  9. Roy7885
    Roy7885
    5/5,
    Version: 1.12.2
    ==========================================
    like
    ==========================================
  10. F3NiTiV
    F3NiTiV
    3/5,
    Version: 1.12.2
    the train is invisible :o do you can make a youtube video for peoples? :) it was easier :D
    1. legofreak107
      Author's Response
      Again... If you have questions please send me a PM in stead of rating 3 stars. Video is coming very soon!