Allows you to maniluplate redstone on your server.

Features:
  • Limit redstone changes per second per chunk
  • Option to completely disable redstone
  • Auto disable redstone when tps reach value set by user
  • Notify player when redstone is disabled

Commands:
  • /redstone limit <number> -- Allows you to change limit redstone state changes per second
  • /redstone tps <number> -- Allows you to change auto-disable tps trigger
  • /redstone state <true/false> -- Allows you to enable/disable redstone (true=enabled, false=disabled)
  • /redstone auto <true/false> -- Allows you to enable/disable auto-disable (true=enabled, false=disabled)
Config:

{
  "RedstoneChangeLimiter": {
    "enabled": true,
    "maxChanges": 600,
    "maxChangesPer": 1,
    "maxChangesPerUnit": "SECONDS"
  },
  "AutoDisable": {
    "enabled": true,
    "tpsTrigger": 16
  },
  "disableRedstone": false,
  "notifyNearestPlayer": false,
  "canDisableRedstone": false,
  "Messages": {
    "CommandUsage": " §8» §7Usage: §c/redstone \u003climit/tps/state/auto\u003e \u003cvalue\u003e",
    "auto": " §8» §c{state} §7auto redstone disabler",
    "maxchanges": " §8» §7Max redstone changes was set to: §c {amount}",
    "tps": " §8» §7Auto disable min tps was set to: §c {amount}",
    "EnabledRedstone": " §8» §cRedstone has been enabled because lags gone",
    "DisabledRedstone": " §8» §cDisabled redstone because of lags",
    "state": " §8» §c{state} §7redstone",
    "NumberCommandUsage": " §8» §7Usage: §c/redstone \u003cmaxchanges/tps\u003e \u003cnumber\u003e",
    "PlayerNotify": " §8» §cSorry redstone is currently disabled"
  }
}