[ADMN] OnTimeCommands v1.4 - Commands that run at a certain time of day [1337]

Discussion in 'Inactive/Unsupported Plugins' started by briman0094, May 29, 2011.

  1. Offline

    briman0094

    OnTimeCommands is now on BukkitDev. Support will no longer be provided here. If you need help, put a ticket in on the BukkitDev page.
     
    monotonehell likes this.
  2. Offline

    Plague

  3. Offline

    briman0094

    fixed :) thanks for letting me know; i didn't see the template
     
  4. Offline

    MonsieurApple

    You need to be supporting 818 before your plugin will be approved.
     
  5. Offline

    briman0094

    sorry about that. it has now been confirmed to work with 818.
     
  6. Offline

    Sekonda

    Would it be possible to loop certain commands? I mean like could you set it up so that the server reloads every 3 hours? If so, I'd be interested.
     
  7. Offline

    hofec

    Could you add to the config a date ? Like yyyy.mm.dd .. i just want to start looping day on sundays :D via. TimeShift .. btw. great plugin [gold]
     
  8. Offline

    briman0094

    Thanks for the ideas! I'll work on making the date loop so you can configure the repeat options. @Sekonda, for now just set up 8 (yes, it is a lot) commands using copy-paste until I get the new update out.
     
  9. Offline

    Albertpuding

    It gives me an error with this config file, could anyone point out what's wrong?

    Code:
    enabled: true
    
    tasks:
        Save3
            date: 10:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save2
            date: 09:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save1
            date: 08:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save4
            date: 11:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save5
            date: 12:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save6
            date: 13:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save7
            date: 14:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save8
            date: 15:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save9
            date: 16:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save10
            date: 17:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save11
            date: 18:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save12
            date: 19:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save13
            date: 20:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save14
            date: 21:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save15
            date: 22:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
        Save16
            date: 23:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.
                - 'save-all'
    Thanks!
     
  10. Offline

    briman0094

    Simple yet common mistake. You forgot a quote at the end of every say command. I fixed it for you:

    Code:
    enabled: true
    
    tasks:
        Save3
            date: 10:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save2
            date: 09:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save1
            date: 08:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save4
            date: 11:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save5
            date: 12:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save6
            date: 13:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save7
            date: 14:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save8
            date: 15:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save9
            date: 16:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save10
            date: 17:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save11
            date: 18:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save12
            date: 19:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save13
            date: 20:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save14
            date: 21:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save15
            date: 22:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save16
            date: 23:00:00
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
    
     
  11. Offline

    Albertpuding

    Ah, thanks! I just copied and pasted, so that's why it's not there on all of them.

    EDIT: I'm still getting an error, it says something about the ":" after "date"

    Here's the error:

    http://pastebin.com/XXU0QGMG
     
  12. Offline

    briman0094

    Oh! I forgot that you have to surround the date in single quotes like the commands. Hope that helps!
     
  13. Offline

    Leavaris

    having some issues.
    heres my config.
    Code:
    enabled: true
    
    tasks:
        Save1
            date: '08:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save2
            date: '09:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save3
            date: '10:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save4
            date: '11:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save5
            date: '12:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save6
            date: '13:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save7
            date: '14:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save8
            date: '15:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save9
            date: '16:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save10
            date: '17:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save11
            date: '18:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save12
            date: '19:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save13
            date: '20:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save14
            date: '21:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save15
            date: '22:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save16
            date: '23:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save17
            date: '00:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save18
            date: '01:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save19
            date: '02:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save20
            date: '03:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save21
            date: '04:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save22
            date: '04:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save23
            date: '05:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save24
            date: '06:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save25
            date: '07:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Restart1
            date: '00:30:00'
            commands:
                - 'say Restarting Server... The Server Restarts every 6 hours. You may log back in in 2 mins.'
                - 'stop'
        Restart2
            date: '06:30:00'
            commands:
                - 'say Restarting Server... The Server Restarts every 6 hours. You may log back in in 2 mins.'
                - 'stop'
        Restart3
            date: '12:30:00'
            commands:
                - 'say Restarting Server... The Server Restarts every 6 hours. You may log back in in 2 mins.'
                - 'stop'
        Restart4
            date: '18:30:00'
            commands:
                - 'say Restarting Server... The Server Restarts every 6 hours. You may log back in in 2 mins.'
                - 'stop'
    heres the error

    Code:
    mapping values are not allowed here
     in "<reader>", line 5, column 13:
                date: '08:00:00'
                    ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:74)
        at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:156)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:174)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:194)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:117)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    scratch my last post i figured it out. the argument before date: was missing :
    for thoes wanting hourly saving nd 6 hour restarts heres a working config. also maby update your example to have ' ' around the time

    Code:
    enabled: true
    
    tasks:
        Save1:
            date: '08:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save2:
            date: '09:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save3:
            date: '10:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save4:
            date: '11:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save5:
            date: '12:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save6:
            date: '13:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save7:
            date: '14:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save8:
            date: '15:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save9:
            date: '16:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save10:
            date: '17:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save11:
            date: '18:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save12:
            date: '19:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save13:
            date: '20:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save14:
            date: '21:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save15:
            date: '22:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save16:
            date: '23:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save17:
            date: '00:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save18:
            date: '01:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save19:
            date: '02:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save20:
            date: '03:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save21:
            date: '04:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save22:
            date: '04:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save23:
            date: '05:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save24:
            date: '06:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Save25:
            date: '07:00:00'
            commands:
                - 'say Saving Data... Expect some lag for a short while.'
                - 'save-all'
        Restart1:
            date: '00:30:00'
            commands:
                - 'say Restarting Server... The Server Restarts every 6 hours. You may log back in in 2 mins.'
                - 'stop'
        Restart2:
            date: '06:30:00'
            commands:
                - 'say Restarting Server... The Server Restarts every 6 hours. You may log back in in 2 mins.'
                - 'stop'
        Restart3:
            date: '12:30:00'
            commands:
                - 'say Restarting Server... The Server Restarts every 6 hours. You may log back in in 2 mins.'
                - 'stop'
        Restart4:
            date: '18:30:00'
            commands:
                - 'say Restarting Server... The Server Restarts every 6 hours. You may log back in in 2 mins.'
                - 'stop'
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  14. Offline

    Ambedrake

    if we can get specific days such as making it reboot every friday at 00:00 that would be awsome. something like the following format -

    for a weekday something like : friday:23:15:00 for friday @23:15
    for a scheduled amount of days: 15:23:15:00 for 23:15 every 15 days
     
  15. Offline

    briman0094

    how does this sound:

    you have a date set just as it is now, except that you can specify HH:mm:ss mm-dd-yyyy and then another tag called "repeat" with the same format. so if you wanted to have one that ran every sunday at 11:00PM starting on June 12, 2011 it would be:

    Code:
    date: 22:00:00 06-12-2011
    repeat: 00:00:00 00-07-0000
    
    or something like that. I'll have to take a look at the Java DateFormat specifications.
     
  16. Offline

    Ambedrake

    actually sounds better as it would create a more tight control
     
  17. Offline

    briman0094

    I will start working on the new date setup in a couple of days. kinda busy right now.
     
  18. Offline

    Scizzr

    Sounds good! I'd really like to see this be able to enable things on a Monday to Friday schedule and have separate rules for the weekends (without having a bloated config file). Maybe also include instances, so that the same task can be run more than once but with more configuration on the other times that it runs as well. Something like:
    Code:
    tasks:
        openMobArena:
            instances:
                week:
                    date: '16:00:00'
                    days:
                        sunday: false
                        monday: true
                        tuesday: true
                        wednesday: true
                        thursday: true
                        friday: true
                        saturday: false
                weekend:
                    date: '08:00:00'
                    days:
                        week: false
                        weekend: true
            commands:
                - 'ma enabled true'
                - 'say MobArena open.'
        closeMobArena:
            instances:
                week:
                    date: '22:00:00'
                    days:
                        week: true
                        weekend: false
                weekend:
                    date: '00:00:00'
                    days:
                        sunday: true
                        monday: true
                        tuesday: false
                        wednesday: false
                        thursday: false
                        friday: false
                        saturday: false
            commands:
                - 'ma enabled false'
                - 'say MobArena closed.'
    
    This would open MobArena Monday through Friday at 4:00 PM then close it at 10:00 PM, as well as open it on Saturday and Sunday at 8:00 AM and close it at 12:00 PM (the next day, 00:00:00).

    You could even go on to allow (as stated earlier) a starting date in the current 'date:' option as well as a 'repeat:' option to allow repeating the commands on a hh:mm:ss mm:dd:yyyy frequency:
    Code:
    tasks:
        warning:
            instances:
                daily:
                    date: '06:30:00 00:00:0000'
                    repeat: '00:10:00 00:00:0000'
                    days:
                        - week: true
                        - weekend: true
            commands:
                - 'save-all'
                - 'say Server will shutdown soon.'
        shutdown:
            instances:
                daily:
                    date: '07:00:00 00:00:0000'
                    repeat: '00:00:00 00:00:0000'
                    days:
                        sunday: true
                        monday: true
                        tuesday: true
                        wednesday: true
                        thursday: true
                        friday: true
                        saturday: true
            commands:
                'save-all'
                'stop'
    
    
    This would cause the server to 'save-all' and broadcast a 'server will shutdown soon' message every morning at 6:30 AM, 6:40 AM, and 6:50 AM then 'stop' at 7:00 AM.

    Yeah it would probably be a LOT of coding and I understand this, but it's just some ideas to keep you busy. ^_^

    General overview of feature ideas:
    • instances of tasks so that they can be run multiple times without having to copy the commands, as well as ability to name these instances whatever the user desires (similar to the current ability to name the tasks various things)
    • ability to do a task day-by-day as a [true|false] option (as well as "week", "weekend", and "all" for simple configuration)
    • some sort of a date code that would allow users to specify 'hour:minute:second month:day:year' for 'date:', thus allowing the task to be postponed until a further date in the future (assume no value if 'mm:dd:yyyy' is nonexistent, such as '12:00:00')
    • 'repeat:' option and some sort of a date code that would allow users to specify 'hour:minute:second month:day:year' for a task to be executed on a time basis such as a task that runs every year on Halloween at 6:00:00 PM and uses GiveAll to give every user on the server right now 2 cakes and 5 cookes and say (using console) 'Happy Halloween!':
    Code:
    tasks:
        halloweenGoodies:
            instances:
                everyYear:
                    date: '18:00:00 10:31:2011'
                    repeat: '00:00:00 00:00:0001'
                    days:
                        all: true
            commands:
                'giveall 354 2'
                'giveall 91 5'
                'say Happy Halloween!'
    
     
  19. Offline

    malabarth

    It doesn't work for me, any command is run on good time!
    I'm on bukkit 860, and have not errors in the server log!

    Here is my configuration test:
    Any idea?

    Code:
    enabled: true
    
    Please, excuse my poor English, I'm french! =)
     
  20. Offline

    briman0094

    what part isn't working? can you please post your entire config.yml file please?
     
  21. Offline

    malabarth

    Oups, sorry, paste error with my previous post! :)
    Here is the entire config:

    Code:
    enabled: true
    
    tasks:
        Save1:
            date: '05:45:00'
            commands:
                - 'say Saving Data...'
                - 'save-all'
     
  22. Offline

    briman0094

    ok. the config looks good, what isn't working?
     
  23. Offline

    malabarth

    Nothing works.
    Hé don't say anything. :/
     
  24. Offline

    Hanswalter123

    The commands dont run themselfs :(
    Can u tell me what i do wrong?

    Code:
    enabled: true
    
    tasks:
        warnshutdown:
            date: '04:59:50'
            commands:
                - 'say The server will restart in 10 seconds. All work will be saved.'
                - 'save-all'
        shutdown:
            date: '05:00:00'
            commands:
                - 'stop'
        Save3:
            date: '10:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save2:
            date: '09:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save1:
            date: '08:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save4:
            date: '11:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save5:
            date: '12:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save6:
            date: '13:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save7:
            date: '14:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save8:
            date: '15:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save9:
            date: '16:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save10:
            date: '17:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save11:
            date: '18:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save12:
            date: '19:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save13:
            date: '20:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save14:
            date: '21:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save15:
            date: '22:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save16:
            date: '23:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save17:
            date: '00:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save18:
            date: '01:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save19:
            date: '02:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save20:
            date: '03:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save21:
            date: '04:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save22:
            date: '05:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save23:
            date: '06:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
        Save24:
            date: '07:00:00'
            commands:
                - 'say Speichere Welt... Minilags fuer kurze Zeit.'
                - 'save-all'
     
  25. Offline

    briman0094

    are you trying to run these in the morning or at night? for PM times, you must add 12 to the hour, so 5 PM would be 17:00:00. Otherwise, I don't know what else to say as the configuration is fine. When you start the server, can you see the [OnTimeCommands] messages confirming that it is enabled?
     
  26. Offline

    Hanswalter123

    I think u code somthing wrong
    i get this file in my minecraft root folder
    OnTimeCommands\config.yml
    schould the config not creaded itself in the oncommand directory?
     
  27. Offline

    briman0094

    The file should be in "[folder with bukkit jar]\plugins\OnTimeCommands\config.yml". It works fine for me, what OS are you on?
     
  28. Offline

    wolf9988

    ahh i get this error

     
  29. Offline

    briman0094

    can you please post your config.yml file?
     
  30. Offline

    wolf9988

Share This Page