Coder Social home page Coder Social logo

nebula161 / railswitch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from civmc/railswitch

0.0 1.0 0.0 224 KB

Minecraft plugin for automated destination selection for rails. Built for Paper 1.16.5

License: MIT License

Java 89.52% Kotlin 10.48%

railswitch's Introduction

RailSwitch

How to use

Setup

  1. Place a sign in the block above a detector rail. It must be reinforced on the same group as the detector rail.
  2. The first line must be [destination] (case insensitive)
  3. The second, third and fourth lines can be destination names.
  4. When a player passes over the detector rail, it will only activate and emit redstone if a player set their destination as any of the three on the sign.

You may also use [!destination], which will activate the rail if a player's destination is not on the signs.

Usage

  1. Type /dest <destination>
  2. Go AFK
  3. Arrive

You can also use spaces in a /dest command as an "or" operator, like /dest <destination1> <destination2>. In this command, RailSwitch will route players towards signs that contain either <destination1> or <destination2>.

Another way to think about it is that /dest takes multiple arguments. Each argument is a destination that will be checked as you pass a sign.

Example Video

RailSwitch Demo Video

railswitch's People

Contributors

protonull avatar okx-code avatar maxopoly avatar diet-cola avatar angrysoundtech avatar arowshot avatar wingzero54 avatar

Watchers

Gjum avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.