Skip to content

Simple destination selector sign for the traincarts plugin.

Notifications You must be signed in to change notification settings

7kasper/TrainCartsDestinationSelector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: Find a Spot
  2. Place a sign with just the line [TCDS] down. Place TCDS Sign
  3. Order doesn't really matter. In this case no destination lists are present yet so this will be displayed: Selector Result
  4. After a while the timeout message will appear. The behaviour of this is configurable in the config. Selector Timeout _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>. Destination List
  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 destination list is attached. Both the left and the right side work. Destinations are added in order of left to right, front to back. More Destinations
  7. The destination selector now works! Use right-click to cycle down and left-click to cycle up. The sign essentially runs /train destination <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. Profit

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 both destination selector and destination list signs.

Config

# == 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'

About

Simple destination selector sign for the traincarts plugin.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages