antiRedstoneClock 1.0.5

prevent the redstoneClock to limit the lag

  1. Amosar
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    Source Code:
    https://gitlab.com/Trafalcraft/antiRedstoneClock
    Languages Supported:
    Français, and all others with custom config file
    antiredstoneClock.png
    antiRedstoneClock is a plugin to disallow redstoneclock in your minecraft server.
    This is my first public plugin , i need you suggestion to improve it.
    If you need support for an older version please tell me you version of spigot, WorldEdit and WorldGuard

    Feature:
    -Check the redstone to disable redstoneClock
    -You can configurate the texte of the sign
    -allow and disallow the notification to admin
    -Custom Message
    -MultiWorld Support
    -WorldGuard Support
    -Select if clock drop the redstone item or not
    -support redstone, comparator, observer and repeater clock

    Dependency:
    -WorldGuard (optionnal) - per zone support

    Command:
    -/arc reload - to reload the config file
    -/arc checkList <page> - display the active redstoneclock
    -/arc setMaxPulses<value> - change the "MaxPulses" setting
    -/arc setDelay <value> - change the "Delay" setting
    -/arc notifyAdmin <boolean> - change the "notifyAdmin" setting

    Permission:
    - antiRedstoneClock.Admin -> allow the access of all commands
    - antiRedstoneClock.notifyAdmin -> permission to received the antiRedstoneClock warning

    Clock support in all version:
    PistonClock2.gif PistonClock.gif
    RedstoneDiodeClock.gif redstoneWireClock.gif

    Clock support in 1.13:
    ObserverClock.gif RedstoneComparatorClock.gif

    CheckList legend :
    small clock
    Warn
    Limit clock

    Code (Text):

    #En:Don't touch this value
    #Fr: Ne pas modifier cette valeur
    version: 0.5
    #En:Maximal number Redstone blink authorized during the "Delay" period
    #Fr:Nombre maximal de clignotement de redstone autorise pendant la periode "Delay"
    MaxPulses: 150
    #En: Time (in second) before the reset of the variable "MaxImpulsion"
    #Fr:Temp (en secondes) avant de reset la premiere variable
    Delay: 300
    #En:You need it prevent an admin?
    #Fr:Faut t'il prevenir un admin?
    NotifyAdmins: true
    #En:Is it necessary to dropper items ( Redstone / repeater) when a loop is destroyed?
    #Fr:Faut-il dropper les items (Redstone/repeater) quand une boucle est détruite?
    DropItems: true
    #En:Write the text you want in the sign
    #Fr:Ecrire le texte a mettre sur les panneaux
    Sign:
      Line1: 'The RedstonClock'
      Line2: 'Are'
      Line3: '&4prohibited'
      Line4: ''

    #En:The list of worlds on which the plugin is disabled separate by "/", put a fake name if nothing
    #Fr: La list des mondes sur lequel le plugin est desactive separe par des "/", mettre un faut non si aucun
    IgnoreWorlds: redstoneWorld/survie

    #En:The list of Region on which the plugin is disabled separate by "/", put a fake name if nothing
    #Fr: La list des Regions sur lequel le plugin est desactive separe par des "/", mettre un faut non si aucun
    IgnoreRegion: redstone/admins

    checkedClock:
      comparator: true
      observer: true
      piston: true
      redstoneAndRepeater: true

    Msg:
      default:
        prefix: '&bAntiRedstoneClock &9&l> &r&b '
        error: '&4AntiRedstoneClock &l> &r&c '
        no_permission: '&4ERROR &9&l> &r&bYou don''t have permission to do that!'
        command_use: '&4SnowBallWar &l> &r&cCommand usage: &6/arc $command'
      message:
        MsgToAdmin: 'Redstone clock disable in x:$X y:$Y Z:$Z. In the world $World'
        unknownCmd: 'Unknown command. Type "/help" for help.'
        reloadSuccess: 'Reload Success!'
        newValueInConfig: 'The new value of $setting is $value'
        RedStoneClockListHeader: 'RedstoneClockList: $page'
        RedStoneClockListFooter: ''
      Exception:
        duplicate_object: 'This list already contains this redstone'
     

    Add Observer and Comparator support for spigot 1.12.2
    https://gitlab.com/Trafalcraft/antiRedstoneClock/tree/master/nms-patches/1.12.2
    Or use the 1.12.2 version of paper available her (build 1593 or newer) : https://papermc.io/downloads#Paper-1.12
    Futur update:
    • Add PlotSquared support
    • Teleport player to the clock when he click on a clock present on the checklist
    • I need your suggestion

    Serveur that use this plugin:
    Yours ?


    Source:
    [​IMG]
    If you like my plugin :)
    [​IMG]

    Images

    1. antiredstoneClock.png
    Jonah_Ferguson and shuiqing2046 like this.

Recent Reviews

  1. ChrissWalters
    ChrissWalters
    3/5,
    Version: 1.0.4
    This ist ok. Sometimes it workes instantly, sometimes it takes a while, even if I start more clocks. And, while testing, I expierienced, that the "sign" will show only in 1 of 5 tests. And in 1 of 10 tests, the plugin killed a unnecessary part of the clock, so the clock continued.

    Service is nice, I posted a bug some hours ago, and it was fixed immediately afterwards.
    1. Amosar
      Author's Response
      The plugin is not smart. It just check the redstone pulse of every single redstone element. And if the plugin hit the maxpulse limit in less time than the delay then it delete the redstone element.
      For the sign it's a security :/ to avoid sign dupplication than can be caused by Minecraft physic
      And please next time use the forum or the issue tracker ,I'll try to fix issue quickly
  2. ByKalpsiz
    ByKalpsiz
    1/5,
    Version: 1.0.2
    1. Amosar
      Author's Response
  3. Gustavo_Player
    Gustavo_Player
    5/5,
    Version: 1.0.2
    Great plugin! =D
  4. SpacePuppeh
    SpacePuppeh
    5/5,
    Version: 1.0.1
    Works well, does as advertised.

    I like how there are many options in the settings unlike other plugins. 1.13 is supported.
  5. andrewkm
    andrewkm
    5/5,
    Version: 1.0.1
    Great work. Had to move plugins due to a recent one being abandoned. Glad to see something new :) Thank you!
  6. DrOreo002
    DrOreo002
    5/5,
    Version: 1.0.1
    Thanks for the plugin!. Its really useful for my server, and its working fine ;). With 0 bugs.

    10/10 ~ DrOreo002
  7. Mr_robbit
    Mr_robbit
    5/5,
    Version: 1.0.1
    This plugin is great.Many similar plug-ins can only detect and delete redstone.I think a lot of people need it.

    Can I redistribute this resource to ww.mcbbs.net?
    There are many people who need this resource.
    pls qwo <3
    1. Amosar
      Author's Response
      Thanks for your review :)
      And yes you can share it, the plugin is OpenSource, just mention the gitlab repository or this page as source.
  8. SomeonePIX
    SomeonePIX
    5/5,
    Version: 0.10.2
    Great job i like this plugin, work for now perfect i hope you will add some more features and fixes and keep updated this is very important fo us thank you.
  9. WeedPlays
    WeedPlays
    5/5,
    Version: 0.10.2
    Schönes Plugin, es hilft mir sehr. :)
  10. minez
    minez
    5/5,
    Version: 0.10.1
    Thanks, just looking for something like that. The plugin works, no complaints there. Thanks To The Author!