Giter Site home page Giter Site logo

wirelessredstone's Introduction

WirelessRedstone v0.4.4.3

A simple redstone plugin that allows for wireless redstone signals to be sent over infinite distances and through worlds. This plugin is almost out of early development, any support, suggestions and help is appreciated. Join my discord at https://discord.gg/TsRTa7BUWm



Showcase
Showcase



Installation

  • Drag & drop the downloaded .jar file in your plugins folder and restart/reload your server.
  • Edit the configuration file to fit your demands.
  • Leave the database file untouched to avoid losing redstone devices when restarting/reloading the plugin.

How to use WirelessRedstone

This concept is easy to use by anyone with any redstone expertise. Using this plugin will allow you to obtain 2 custom items. The Redstone Sender and the Redstone Receiver. You can edit the block type, item name and item lore in the configurations to fit your server.

Use /device give

You can replace with * so this command will apply to all online players. You can also replace with * to give both devices at once.

The is set to how ever you named the items in the configuration file. This is Redstone Sender and Redstone Receiver by default.

Upon placing down the devices anywhere in the world, you can right click either one to start the linking process. If you have clicked on a Redstone Sender, you will be asked to click any Redstone Receiver to establish a link between these two devices.

You can cancel a linking progress by using /device link cancel. A link will break if either devices break or get destroyed. You can have up to infinite links per device, depending on your settings.

In order to break a link without breaking a device, you can use the /device link <breakall/breakfirst/breaklast> command.

Tutorial



How do Redstone Devices work
As the name suggests, the Redstone Sender, sends a redstone power signal towards any linked Redstone Receiver. The initial power signal is the highest redstone power the Redstone Sender is powered with. This means that if you were to power a Redstone Sender with a redstone wire with a power of 8, that this value will be transmitted to any linked Redstone Receiver.

Without any delay, the Redstone Receiver, which received the power signal from its linked Redstone Sender, will emit its power to any block surrounding it. This will result in powering redstone wire, repeaters, lamps, pistons and more.

A Redstone Receiver can also power another Redstone Sender, allowing for more compact redstone machines.

How do you craft Redstone Devices
In order to support survival gameplay, there are recipes for each device. However they are not custom but require a default recipe to craft. You can unlock the recipe when you unlock any redstone recipe.

Crafting recipe for a Redstone Sender
image

Crafting recipe for a Redstone Receiver
image


Permissions
Permissions are by default disabled in the configuration. Once enabled, those with the correct permissions can overwrite certain configuration settings.
Permission for everything:
wirelessredstone.*

Permission for using commands:

wirelessredstone.commands.*
wirelessredstone.commands.wirelessredstone.*
wirelessredstone.commands.wirelessredstone.reload
wirelessredstone.commands.wirelessredstone.disable
wirelessredstone.commands.device.*
wirelessredstone.commands.device.give
wirelessredstone.commands.device.info
wirelessredstone.commands.device.link.cancel
wirelessredstone.commands.device.link.breakall
wirelessredstone.commands.device.link.breakfirst
wirelessredstone.commands.device.link.breaklast

Permission for using devices:

_wirelessredstone.device.*
wirelessredstone.device.place
wirelessredstone.device.break
wirelessredstone.device.noplacelimit
wirelessredstone.device.nolinklimit
wirelessredstone.device.destroythirddevices

Permission for linking devices:

wirelessredstone.link.*
wirelessredstone.link.create
wirelessredstone.link.break
wirelessredstone.link.nolimit
wirelessredstone.link.infinitedistance
wirelessredstone.link.crossworld
wirelessredstone.link.breakthirdlinks
wirelessredstone.link.createthirdlinks

Configuration
Modify your experience by changing the configurations to your need. You can find a more elaborated list of config settings in the config.yml file of the plugin. A value of 0 represents infinity.

Language: EN
SenderItemName: Redstone Sender
SenderItemLore: Sends wireless Redstone signals
ReceiverItemName: Redstone Sender
ReceiverItemLore: Receives wireless Redstone signals
SenderBlockType: red_terracotta
ReceiverBlockType: green_terracotta
Permissions: false
Messages: true
MaxDeviceInServer: 0
MaxDevicesPerPlayer: 0
BreakThirdDevices: true Recipes: true MaxLinksInServer: 0
MaxLinksPerPlayer: 0
MaxLinksPerDevice: 0
MaxLinkDistance: 0
CrossWorldSignals: true
ContactSignals: true
SignalDelay: 0
CreateThirdLinks: true
DestroyThirdLinks: true
Overload: true
OverloadTrigger: 8
OverloadCooldown: 10

Languages Support & Messages
Check https://www.spigotmc.org/resources/wirelessredstone.101871/ for more information on messages and languages.


API Support
The API can be accessed by anyone in anyway. This plugin supports a small number of API functions for other plugin developers to integrate and control WirelessRedstone.

Access the API:
U_Api api = new U_Api();


Example of API usage

image



Community Support
If you have any further questions don't forget to contact me through discord or spigot. Satisfied? Please leave a review!

Check out my Discord for suggestions, tips, questions and support. https://discord.gg/TsRTa7BUWm

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.