InTime

Logo

Support my work Source Metrics

InTime Banner


What is InTime?

InTime gives you the possibility to disable/enable plugins at a defined time. Since Version 0.2 it also supports executing commands by [Console]. Very simple and lightweight, isn't it?

Features:

  • Time-based plugin disabling and enabling
  • 24H time format (12H not supported yet)
  • Executing commands by [Console] (since v0.2)

Configuration

Plugins

Explanation:

plugins:
  (yourplugin):
    type: enable or disable
    times:
    - (starttime)-(endtime)
    - (anotherStartTime)-(anotherEndTime)

Example:

  samplePlugin:
    type: disable
    times:
    - 9:00-15:30
    - 18:00-23:00

WARNING!

One plugin can only be enabled OR disabled!:

  • enable -> plugin is disabled and will be enabled between the times
  • disable -> plugin is enabled and will be disabled between the times

Commands

Explanation and Example

commands:
  a:
    command: say
    arguments: A new day starts....
    time: '00:00'
  b:
    command: say
    arguments: Good night!
    time: '23:00'
  c:
    command: say
    arguments: It's friday! Playing MC until we have to call the doctor!
    time: '14:00'
    weekday: Friday

The weekday parameter is optional. Values are Monday to Sunday and all for all days in the week

WARNING!

All scheduled commands are ran as [Console]


Help via PM, bug fix via ticket! Comments won't be answered.


You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of HomerBond005 HomerBond005 Jan 03, 2014 at 19:29 UTC - 0 likes

    @Gunnerrrrr: Go

    The plugin uses the server time. If no commands are executed, you should check the server time. (The time varies between time zones, keep that in mind)

    Updated GroupBasedPVP, the most advanced PvP group management plugin!

    You can help me keeping up my work through donating. A small value also helps ;)
    Donate

  • Avatar of Gunnerrrrr Gunnerrrrr Dec 28, 2013 at 03:36 UTC - 0 likes

    Does this go off the actual servers real time, or the time in game?  I can't get any of the messages to work.

    Last edited Dec 28, 2013 by Gunnerrrrr
  • Avatar of ngbeslhang ngbeslhang Mar 28, 2013 at 03:02 UTC - 0 likes

    oh wait,so that's mean you can enable a plugin or the console automatically sent a command but you must set the time right? if i use the NameChanger plugin i can let everyone know my real name or real IGN at a time like this :P :

    a:
        command: rename
        arguments: ngbeslhang &angb&eeslhang(Before that my fake IGN is "troll")
        time: '12:00'
    

    And i can hide my real IGN after 1 hours :P

    b:
        command: rename
        arguments: ngbeslhang troll
        time: '13:00'
    

    lawl so fun,but i don't want to use this for my vanilla survival server :/ but i'll translate if i can :3(Maybe i'll start translate now)

    Last edited Mar 28, 2013 by ngbeslhang
  • Avatar of HomerBond005 HomerBond005 Jan 24, 2013 at 21:20 UTC - 0 likes

    @MrMightyGnome: Go

    I do not know if I interpreted your config correct, but keep in mind that this time is real-life time. This plugin takes the time of the server and executes commands when a specific real-life time is reached. If I interpreted the config not correct, please open a ticket if the sunset command is nor executed at 19:01.

    Btw: I'm planning an update. It is completely rewritten and should provide in-game time. Currently I'm working on that in-game time.

  • Avatar of MrMightyGnome MrMightyGnome Jan 24, 2013 at 16:17 UTC - 0 likes

    Very nice plugin, keep this up and updated for me! :)

    EDIT: doesnt seem like this plugin is working with 1.4.7... Please update!
    This is my config, with no errors...
    http://pastebin.com/MScLF7cy

    Last edited Jan 24, 2013 by MrMightyGnome
  • Avatar of Ordrox Ordrox Jun 19, 2012 at 05:11 UTC - 0 likes

    @HomerBond005: Go

    I've in mind to trigger a command a certain hour of some days of the week. Is it possible?

  • Avatar of HomerBond005 HomerBond005 Jun 18, 2012 at 20:00 UTC - 0 likes

    @Ordrox: Go

    Hmm. Probably. Which feature do you exactly want? You want commands to be executed at a specified date, right? Please create a ticket with this feature.

  • Avatar of Ordrox Ordrox Jun 18, 2012 at 17:19 UTC - 0 likes

    Hi! Do you thing it's possible to add days (real time, not in-game) feature? It'll be awesome.

  • Avatar of HomerBond005 HomerBond005 Jun 18, 2012 at 15:45 UTC - 0 likes

    @gibbly96: Go

    No, that is not possible. But you can execute any command you want to. You have to find a plugin which provides broadcasting a raw message via a command. That's all.

  • Avatar of HomerBond005 HomerBond005 Jun 18, 2012 at 15:43 UTC - 0 likes

    @Rat_Cat12: Go

    The server would be more busy, if I add seconds. Every second a check if there any commands to be executed... This is not that good. But I'll think about it. Thanks

Facts

Date created
Jan 16, 2012
Category
Last update
Sep 26, 2013
Development stage
Release
Language
  • enUS
License
CreativeCommons BY-NC-ND 3.0
Curse link
InTime
Downloads
3,373
Recent files

Authors