Loading...
Beta Modpages Unclaimed

Server Redstone Block

ever have a broken redstone contraption due to server restarts again!

0 Likes
826 Downloads
Created by Meza

Description

Server Redstone Block

Server Redstone Block Logo

Description

Ever had redstone contraptions break on you due to a server restart?

This block acts as a normal redstone block but the server admins can trigger a warning state and an off state at will. This can give time for the contraptions to shut down gracefully before a server shutdown.

Usage

You have to have it installed both on the server and the client side as it adds a new block.

Why do you need it on the client side too?

Believe me, I've tried to make this a server-only mod. The issue is: player experience. Using only vanilla items and solutions that work from 1.18.2 upwards makes it very difficult to create a solution that is easy to grasp as a player. Imagine using a bunch of redstone blocks in your build but one of them is a "special" block that gets turned off. We need some sort of a visual clue so that you could identify the block in question.

With the client side present, we have the option of custom textures and custom block behaviour which makes it very straight forward to use.

Do you think you can solve this issue?

If you're a mod developer and you think you have a solution for this, please get in touch. I'm very interested in a good solution!

Player

As a player, you can use the block as a normal redstone block.

Crafting

You can craft it with a regular redstone block and a lever.

3x3 crafting grid showing a redstone block with a lever above crafting a server redstone block

Redstone Output

  • On: 15 power
  • Warning: 1 power
  • Off: 0 power

Recommended use for players

Use the above power states to react. Things that usually break the most on a restart are minecart and flying machine based contraptions. You can use the block to add in a check if you should start a next run of your system. You could outright use it as a power source that will shut off when need to. Just make sure that your system doesn't run longer than the time it warns you of an impeding restart.

Admin

To control the block, you need to have a permission level of 4.

When the server starts, the blocks always start in the ON state.

Commands

  • /srs on : Sets the block to the on state
  • /srs warning : Sets the block to the warning state
  • /srs off : Sets the block to the off state

Recommended use

If you have scheduled restarts on your server, I recommend having the automation issue a srs warning 5 minutes before the restart. That signals to the contraptions that if it's a fast system, it could still run. Otherwise caution.

Around 1-2 minutes before the restart/shutdown, you should issue a srs off to make sure that all running contraptions have time to settle down.

Telemetry

The mod collects minimal anonymous telemetry to help the decision making when maintaining the mod. You can see what is collected here)

Get in touch

I'm very curious to learn how you use this. Please drop by discord if you have any questions or feedback https://discord.gg/dvg3tcQCPW

I'd also like to hear from server owners if there's anything else I could help with.


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Controlling

Adds a search bar to the Key-Bindings menu

Crafting Tweaks

Allows you to rotate, balance or clear the crafting matrix by the press of a button, in any (supported) crafting window.

Client Tweaks

There, I fixed Minecraft for you. Various optional tweaks to improve Minecraft Quality of Life.

TrashSlot

Adds a trash slot to the inventory screen that allows deletion of unwanted items.

TipTheScales

Allows for more options when adjusting the GUIScale option as well as making it a slider.

Configured

Automatic in-game configuration menus for every mod!

Charm

A vanilla+ mod inspired by Quark, adding lots of small things to the game.