Giter VIP home page Giter VIP logo

redstonehelper's Introduction

RedstoneHelper Spigot/Bukkit Plugin

Makes working with redstone less difficult.

Usage

Hold shift & place a supported block that has a direction, and it'll flip the direction upon placement.

Hold shift & right click a composter or end portal frame to fill it. Will also show you if it is filled or how much level is in the composter on the player's action bar.

Features

Reverse direction

Allows players to reverse (flip) the direction a block when placed.

Supported blocks:

  • Piston
  • Sticky piston
  • Repeater
  • Redstone torch (walls)
  • Dropper
  • Dispenser
  • Comparator
  • Observer

Adding your own supported blocks is easy. Just go into config.yml and add the block.

Refer to this for correct block names.

Filler

Allows players to shift + right click these blocks to change their "fullness" Supported blocks are:

  • Composter
  • End portal frame

Other features

  • Allows players to shift + right click a redstone wire then it'll output the power level to the action bar.

Commands & permissions

Command Permission Description
/redstonehelp none Shows information about the plugin
/redstonehelp reload redstonehelp.reload Reloads the plugin configuration

Default configuration

# RedstoneHelper v1.4
# Enable or disable the functions of the plugin
enabled: true
reverse:
  # Enable or disable ALL reversals.
  enabled: true
  #You can add your own types here.
  #Refer to https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html for the correct block names
    types:
    - "PISTON"
    - "STICKY_PISTON"
    - "REPEATER"
    - "REDSTONE_WALL_TORCH"
    - "DROPPER"
    - "DISPENSER"
    - "COMPARATOR"
    - "OBSERVER"
fillables:
  #Enable or disable the fill function of this plugin
  enabled: true
  types:
    # Enable or disable the supported blocks
    # Do not add your own here, will not do anything.
    COMPOSTER:
      enabled: true
    END_PORTAL_FRAME:
      enabled: true
level:
  # Enable or disable fetching the level of a redstone wire
  enabled: true
  types:
    # Do not add your own here, will not do anything.
    REDSTONE_WIRE:
      enabled: true

Tested versions

  • 1.16.3

Contributing

You may pull request if you feel you can contribute to the plugin's development.

Todo

  • Filling support for furnaces.

redstonehelper's People

Contributors

datadropp avatar

Stargazers

Unix avatar

Watchers

 avatar

redstonehelper's Issues

Error on startup while using 1.16.4

Redstone Helper warns on startup, using Paper-294, 1.16.4.

[12:25:22] [Server thread/WARN]: [RedstoneHelper] Task #29 for RedstoneHelper v1.4-SNAPSHOT generated an exception
dev.jorel.commandapi.exceptions.UnsupportedVersionException: This version of Minecraft is unsupported: This version of Minecraft is unsupported: 1.16.4
at dev.jorel.commandapi.CommandAPIVersionHandler.getNMS(CommandAPIVersionHandler.java:43) ~[?:?]
at dev.jorel.commandapi.CommandAPIHandler.(CommandAPIHandler.java:78) ~[?:?]
at dev.jorel.commandapi.CommandAPIHandler.getInstance(CommandAPIHandler.java:66) ~[?:?]
at dev.jorel.commandapi.CommandAPI.lambda$onEnable$0(CommandAPI.java:100) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.4.jar:git-Paper-294]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.4.jar:git-Paper-294]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:949) ~[patched_1.16.4.jar:git-Paper-294]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.4.jar:git-Paper-294]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]

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.