TrainCartsDestinationSelector 0.2

Simple destination selector for traincarts.

  1. 7kasper
    Native Minecraft Version:
    1.14
    Tested Minecraft Versions:
    • 1.14
    Source Code:
    https://github.com/7kasper/TrainCartsDestinationSelector
    TrainCartsDestinationSelector
    Simple destination selector sign for the traincarts plugin.

    Usage
    Usage is should be simple and intuative.

    1. First choose a spot where you want the selector to be: [​IMG]
    2. Place a sign with just the line [TCDS] down. [​IMG]
    3. Order doesn't really matter. In this case no destination lists are present yet so this will be displayed: [​IMG]
    4. After a while the timeout message will appear. The behaviour of this is configurable in the config. [​IMG] NOTE: If you want to disable the timeout message you can. Please do note that the train's destination is only set upon use. Disabling some kind of message might thus confuse your players.
    5. Now destinations can be added to the selector by creating destination lists. This is done by creating a sign with [TCDS] on the first line. The other lines must contain one or more destination. Every line should be a specific destination applicable in /train destination <destination>. [​IMG]
    6. More destinations can be added. See the place of the sign. Destination lists only work when attached to a block behind the destination selector, or a block behind a block where another destionation list is attached. Both the left and the right side work. Destinations are added in order of left to right, front to back. [​IMG]
    7. The destination selector now works! Use right-click to cycle down and left-click to cycle up. The sign essentially runs /train destionation <selected> on the player using the sign. This means all the rules and permissions of this command apply. The sign works best when used from inside a train. [​IMG]
    Permissions
    traincartsdestinationselector.* - Grants permission to both use and make TCDS signs.
    traincartsdestinationselector.use - Grants permission to use a destination selector.
    traincartsdestinationselector.make - Grants permission to make destination selector and destination lists.

    Config

    Code (YAML):
    # == TrainCartsDestinationSelector ==
    #     Some basic options for the    #
    #     destination selector sign     #
    # == TrainCartsDestinationSelector ==

    # Timeout in seconds before the rest message is displayed.
    # Set to -1 to disable the timeout message.
    timeout
    : 5
    # Reset selection progress when timeout is displayed?
    reset
    : true
    # Timeout message:
    message
    :
     - '[&6TCDS&0]'
      - 'Click to'
      - 'set train'
      - 'destination'