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
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.
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
Crafting recipe for a Redstone Receiver
Permissions
Permissions are by default disabled in the configuration. Once enabled, those with the correct permissions can overwrite certain configuration settings.
Permission for everything:
Permission for using 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.place
wirelessredstone.device.break
wirelessredstone.device.noplacelimit
wirelessredstone.device.nolinklimit
wirelessredstone.device.destroythirddevices
Permission for linking devices:
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.
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:
Example of API usage
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