Redstone Clock Preventer 1.3.1

Redstone Clocks can bring up your server to lag or even crash! This plugin can prevent this.

  1. MGbeenieboy


    Many players have the brilliant idea to build a redstone clock connected to e.g. a dispanser, filled with tnt, spawn eggs or whatever. Then it happens. The server slows dramaticly down. You're in panic. What happened? While you try to understand what's going on on your server, it crashs. Now you have a suspicion... and another problem. You try to reach the clock and break it, but that isn't easy with 1 fps and 2 tps. Finally you did it. If you have luck, the server progress has saved despite the crash and you don't have to explain everything to your users.
    Redstone clocks are problematic especially on creative servers. You might have thought whether just disable redstone in the creative world, but this is not the best solution, but most importantly not the ONLY anymore! Creative means not just building empires. Inventing machines, testing a circuit, ... Redstone is a big part of it. Redstone Clock Preventer makes it realizable to test redstone clocks without letting them becoming a threat for your server. In my personal opinion, really every type of server (except for minigame server networks maybe) should be running this plugin!

    How does it work?

    I didn't want to disable clocks at all. Not every redstone clock is "bad". Some has kind of a good cause. Either way, no redstone clock may run too long and too quick. And this is what this plugin wants to prevent. A clock is nothing else than redstone becoming activated and deactived in very short timestamps. This plugin counts the signal-changes (from on to off and from off to on). After a (configurable) limit is reached during a also configurable time period, the "over loaded" redstone gets replaced with a block, YOU SET! It may be air, then the redstone would just get removed and the circuit is stopped. You can set it to water, and the whole redstone clock will get flooded. But you can also set it to a sign with a specific text, which you can determine (to inform the player about what happened, but I would it use only on creative servers, because otherweise players would be able to cheat signs). You can also set that the redstone gets replaced with air and when the clock loses its power it will be replaced with the wire again, so that the player wouldn't experience any loss of redstone.


    RCP does also have a WorldGuard support to whitelist regions where clocks are allowed!

    - Gives basic information about this plugin
    /rcp reload
    - Reloads the config.yml
    /rcp whitelist [add|remove] <region>
    - Adds or removes a WorldGuard region to the whitelist

    - Permission for the /rcp reload command
    - Players with this permission will get notified if a redstone clock was detected and blocked, but only if this option is enabled in the config.yml

    Code (Text):

    # This is the maximum signal switches a redstone wire may experience within the below configured time period before RSCP acts
    MaxSignalChanges: 1500
    # This is the above described time period (in seconds)
    TimePeriod: 10
    # Should player who have the permission rscp.getnotified be notified about new found and blocked redstone clock?
    NotifyAdmins: false
    # The clock will be stopped by replacing a redstone with a block that you can choose here
    # It can be everything, like a SAPLING, WATER or even AIR, if you want a written sign remember to write SIGN_POST
    # If you write REDSTONE_WIRE, it will replace the wire with air, wait until the clocks loses its power and place the redstone wire back where it was
    ClockBlocker: SIGN_POST
    # This part is only relevant if ClockBlocker is set to SIGN_POST
    # A sign has four lines. Edit them here.
      Line1: 'Redstone-Clocks'
      Line2: 'are'
      Line3: '&4FORBIDDEN!'
      Line4: ''
    # Here you can add worlds in which the plugin should check on redstone clocks and stop them
    - world
    - world_nether
    - world_the_end
    # These features only work if you have the plugin WorldGuard on your server!
    # Redstone clocks in these regions will not get blocked by this plugin
      - redstone
      - area

    If you like my work and want to support me for further developing or if you are just a nice person with too much money, I would be very happy about some donations :)


Recent Reviews

  1. SliderKP
    Version: 1.3.1
    not working correctly in 1.15 minecraft version, can make some clocks... please update and block all clocks :c
  2. GabrielW
    Version: 1.3.1
    Would give it 10/10 if it did work with 1.15.2.

    aww.......... 80 character limt thing
  3. Stefanus
    Version: 1.3.1
    Great plugin for my 1.13.2 server!
  4. IAlekseyI
    Version: 1.3.1
    Bad plugin. No updates, can not work independently.

  5. AeSix
    Version: 1.3.1
    Works great! for 1.12.2.
    Can we get the source to update to 1.13.2 please?
    it does *not* work on 1.13.2.
  6. DerpyTheCoder
    Version: 1.3.1
    Its neat, but maybe add a check for repeaters too.
    Players just replace the redstone dust with blocks...
  7. kamikazifrosty
    Version: 1.3.1
    yea, can confirm, works in 1.12. does as advertised.
    even still generates the sign! Great stuff!
  8. Trademark
    Version: 1.3.1
    Amazing plugin, does everything the page says and even more. Really cool. Keep doing these cool plugins ;)
  9. MultiDJRoni
    Version: 1.3.1
    Very nice Plugin, works Perfectly!

    Thank you ^^ And the Forum Owner for the 100 Characters <3 Love you :P
  10. LogoCat
    Version: 1.3.1
    Perfect with 1.9 spigot! nice.
    This really give the abusing player a polite notice.
    Thanks for the plugin.