Inactive [ADMN/INFO] ConsoleScheduler v0.3.3 - Easy timed console commands [1.0.1-R1]

Discussion in 'Inactive/Unsupported Plugins' started by Rahazan, Oct 22, 2011.

  1. Offline

    Rahazan

    [​IMG]

    <Edit by Moderator: Redacted bit url>


    This plugin allows one to configure commands to be executed after a certain time period. As of v0.2 it supports repeated commands. As of v0.3 it also supports the commands to be executed at a specific time (12:00PM for instance).
    One can configure the console to use any command one would normally type in the console.
    For example, one might want to have the "save-all" command to be sent every hour. Another example, a very simple broadcast "say Remember to visit our forums!". A must-have!


    Show Spoiler
    Code:
    # ###############################################################
    # # Hello! Thank you for using ConsoleScheduler. Below you find #
    # # configuration settings for this plugin. Make sure you don't #
    # # use TABs in your text, only spaces!                         #
    # #                                                             #
    # # If you have any questions or requests, don't be afraid to   #
    # # send me a PM on minecraftforum.net! (username is Rahazan)   #
    # # And ehm, consider donating if you like this plugin :x       #
    # #                                                             #
    # # Yours truly,                                                #
    # # Rahazan                                                     #
    # ###############################################################
    # # Configuration explanation below ~                           #
    #   ALL TIMES ARE IN SECONDS!
    # Initial delay is the time before the plugin starts starting
    # the commands in the schedule. This is in place so that other
    # plugins have the time to start. You could set this to 0,
    # but errors may occur.
    # Make sure the Command1, Command2, Command3 etc. are numbered
    # in succession. This will ensure they all load.
    #
    # Also make sure you enter a command, heh.
    #
    # 1 minute = 60 seconds. 1 hour = 3600 seconds
    # HOUR in 24-hour format!
    # SpecificTime commands ALWAYS repeat!
    # ###############################################################
    
    InitialDelay: 5
    CommandSchedule:
      Command1:
        After: 5
        Repeat: true
        Interval: 30
        Command: say This is an example of a repeating command! It repeats every 30 seconds.
      Command2:
        After: 10
        Repeat: false
        Command: say This is an example of a non-repeating command which launches after 10 sec!
      Command3:
        SpecificTime: true
        Hour: 14
        Minute: 30
        Second: 0
        Command: say This is an example of a command which launches at 2:30:00PM!


    ----

    Dependencies:
    * None that I know of.

    Features:

    * Allows for repeating commands.
    * Allow for specific-time commands.

    * Easy to configure.

    * Lightweight.
    * Optional: Delay before it starts the schedule so that all other plugins can load.
    * No trouble with anything permissions-wise.


    Downloads:
    <Edit by Moderator: Redacted bit url>


    Show Spoiler
    How does it help my plugin?
    Plugin-wise, in absolutely no way.

    Then why on Earth would I donate?
    Time and effort was put into this plugin. Maybe this plugin makes your life easier, gets your server more players or simply makes you and the players have a good time.
    How do I donate?
    You can donate through PayPal. If you do not have the means to do so, you can also "donate" by showing your appreciation in the form of a nice comment. These donations and comments keep me motivated. Oh, and it keeps me alive in this overpriced studentroom I live in. It means the world to me.

    Thank you for reading this.


    Changelog



    Show Spoiler
    version 0.3.3
    * Updated for CB 1.0.1-R1

    version 0.3.2
    * Updated for CB #1542.

    Version 0.3.1
    * Hotfix for defaulting config. (Only one command as example now).

    Version 0.3

    * Added support for specific-time commands.

    Version 0.2



    * Added support for repeating commands.

    Version 0.1



    * Initial release.




    Any feedback is more than welcome!
     
    Last edited by a moderator: Feb 21, 2017
    kahlilnc, lastern, efstajas and 2 others like this.
  2. Offline

    jamesh1333

    i have been having problems with my script please help:


    InitialDelay: 5
    CommandSchedule:
    Command1:
    After: 5
    Repeat: true
    Interval: 1800
    Command: MINES ARE RESETTING IN 1 MINUTE.

    InitialDelay: 5
    CommandSchedule:
    Command2:
    After: 5
    Repeat: true
    Interval: 1850
    Command: MINES ARE RESETTING IN 10 SECONDS

    InitialDelay: 5
    CommandSchedule:
    Command3: /mine reset CobbleMine
    After: 5
    Repeat: true
    Interval: 1860
    Command: CobbleMine RESET

    InitialDelay: 5
    CommandSchedule:
    Command4: /mine reset DirtMine
    After: 5
    Repeat: true
    Interval: 1862
    Command: DirtMine RESET

    InitialDelay: 5
    CommandSchedule:
    Command5: /mine reset SandstoneMine
    After: 5
    Repeat: true
    Interval: 1864
    Command: SandstoneMine RESET

    InitialDelay: 5
    CommandSchedule:
    Command6: /mine reset PortalMine
    After: 5
    Repeat: true
    Interval: 1866
    Command: PortalMine RESET

    InitialDelay: 5
    CommandSchedule:
    Command7: /mine reset WoolMine
    After: 5
    Repeat: true
    Interval: 1868
    Command: WoolMine RESET

    InitialDelay: 5
    CommandSchedule:
    Command8: /mine reset CobbleMine2
    After: 5
    Repeat: true
    Interval: 1870
    Command: CobbleMine2 RESET

    InitialDelay: 5
    CommandSchedule:
    Command3: /mine reset ClayMine
    After: 5
    Repeat: true
    Interval: 1872
    Command: ClayMine RESET
     
  3. Offline

    jycs

    hello, I sorely lacks some options :
    "if the time is between xx:xx and yy:yy..." (working with the others options, like After and Repeat) << indispendable for me.

    secondary:
    "if a player x logon"
    "If a player x says y"

    Did it's possible ?
     
  4. Suggestion: an option for a specific world? thanks :>
     
  5. Offline

    Zach Wein

  6. Offline

    allradio

    Please, update your plugin!
     

Share This Page