Schedule

Discussion in 'Plugin Requests' started by Herroitsasain, Aug 27, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    Herroitsasain

    Version:
    1.11.2

    What I want:
    I would like a plugin that runs console commands at certain times. In the config you would have the commands what time they would be initiated and time between them in days.
    '1'
    Times:
    -1:00 P.M. 3-
    Commands:
    -broadcast hi-

    The number 3 after 1:00P.M. means every 3 days at 1
    Btw this is in EST


    No commands or Permissions
     
  2. Offline

    nahkd123

    Well this is what is look in your config file:
    Config file sample (open)

    Code:
    schedules:
       yourScheduleName:
          startTime: '3d'
          command: 'boardcast hi'
       anotherScheduleName:
          startTime: '1s'        <--Executed after 1 sec
          command: 'say All command executed by CONSOLE'


    I will make this plugin for you, this will use time and date of server.
     
  3. Offline

    HeroJackPvP

    Are you still working on this?
     
  4. Offline

    nahkd123

    @HeroJackPvP well I can only make plugin in Saturday and Sunday so just wait
     
  5. Offline

    HeroJackPvP

    Alright sounds good
     
  6. Offline

    nahkd123

    @HeroJackPvP and @Herroitsasain: I'm done, and here is a link: https://www.dropbox.com/s/lbp38csl3lllzr3/Schedule.jar?dl=0

    Permission:
    schedule.useCommand: Allow player to use "/schedule" command

    Command:
    /schedule
    - add (Task name) (Timing Type) (Timing Count) (Command) :Create new scheduled task
    - list :Show all scheduled tasks (RED for disabled task, GREEN for enabled task)
    - remove (Task name): Remove scheduled task
    - enable (Task name): Enable or disable scheduled task (if task is enabled then it will disable, if task is disabled then it will enable back again)

    Config file:
    Config file sample (Just a part) (open)

    Code:
      Example:
        timingType: min
        timing:
          perMin: 1
          count: 28
        execCommand: say Executed as console
        enabled: false


    If it has error, please tahg me then reply down below.
     
  7. Offline

    HeroJackPvP

    Thank you
    sorry I could not respond earlier
     
Thread Status:
Not open for further replies.

Share This Page