ScheduledCommands

Logo
ScheduledCommands allows you to execute scheduled commands after a long time period.

Have you ever wanted to have temporary donator ranks? You can use ScheduledCommands for many different things!

Example use:

  • Use it together with CommandRank. CommandRank promotes the players and ScheduledCommands demotes them after a specific time.
  • Use it to run automatic events and enjoy them instead of always having to be online and typing the event commands.
  • Temp-(mute/ban/whitelist/etc.) somebody (Many plugins already have a tempban/tempmute command though)
  • Etc.

Features

  • Easy to use
  • Permissions support
  • ScheduledCommands is able to execute commands after a long time period - even after 20 weeks
  • Player-check: Some commands are only executed when the named player is online
  • API: Developers are able to easily hook into ScheduledCommands and to work with it

Commands

  • /tcmd reload - Reloads the config
  • /tcmd <time> <cmd> - Executes <cmd> in <time>
  • /tcmd <time> <cmd>#<name of player> - Executes <cmd> in <time> as soon as the named player is online

Permissions

  • ScheduledCommands.use - Allows to use the /tcmd command

Help

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

  • Avatar of niels1189 niels1189 Aug 31, 2014 at 17:06 UTC - 0 likes

    @niels1189: Go scheduletime: 10

    Set it to how many times you want it to check for commands to execute. 10 = 1x every 10 seconds. 1 = 1x every second

  • Avatar of niels1189 niels1189 Aug 31, 2014 at 17:04 UTC - 0 likes

    @xdmen62: Go

    I'm having the same problem

  • Avatar of oliverDahlin oliverDahlin Aug 31, 2014 at 11:41 UTC - 0 likes

    can you make so you can schedule at like 0:00:00 am?

  • Avatar of xdmen62 xdmen62 Aug 25, 2014 at 01:09 UTC - 0 likes

    Hello there

    I have a problem when I do /bcast 1s bcast or test /tcmd 1s / bcast test, it does not perform the command in 1 second, the fact that much later If you could help me it would be nice :)

    Thank you in advance! PS: Sorry for my english, I'm french

  • Avatar of monstercat101 monstercat101 Jul 27, 2014 at 06:06 UTC - 0 likes

    Im using spigot 1494, 1.7.9, and the commands don't seem to work, using command like:
    /tcmd 1s /bcast test1

    Last edited Jul 27, 2014 by monstercat101
  • Avatar of sluggishturtle sluggishturtle Jul 18, 2014 at 08:05 UTC - 0 likes

    plugins/scheduledcommands/config.yml

  • Avatar of ElliotVS ElliotVS Jul 15, 2014 at 10:47 UTC - 0 likes

    Great plugin, but where does it store commands?

  • Avatar of sluggishturtle sluggishturtle Jul 09, 2014 at 13:01 UTC - 0 likes

    Hello,
    I think the problem with duplicated commands is in some changes in Bukkit 1.7.x, because it worked correctly when we used older version (1.6.x). It's strange that all duplicated commands are always increased by 1 (I mean the key/time value in config.yml ). Because of that I decompiled your plugin and tried to find code which increased the value but I didn't find it... So then I made two changes:
    1. removed using of long and changed them to Long
    2. modified your method addCommandToConfig to check if the command already exists:
      public void addCommandToConfig(Long time, String command)
      {
        String key = "waiting." + time.toString();
        if (this.plugin.getConfig().getString(key) == null)
        {
          this.plugin.getConfig().set(key, command);
        }
      }
    Combination of these changes works correctly and now we have no duplicities :) Please could you check it and modify your plugin? Maybe it's enough just to change long->Long, maybe there must be both of these changes, I don't know.

    Last edited Jul 09, 2014 by sluggishturtle
  • Avatar of CaptainSisko CaptainSisko Jul 06, 2014 at 00:22 UTC - 0 likes

    This plugin is great, works fine.

    Just one problem, how do i delete the repeated commands?

    One other thing, where does it store the commands?

  • Avatar of boidyluke boidyluke Jul 01, 2014 at 11:20 UTC - 0 likes

    Works with 1.7.9 great plugin no problems here

    http://status.mclive.eu/Astracraft/play.astracraft.com/25565/banner.png

    Join us now on our new dedicated server at www.astracraft.com or login straight away using play.astracraft.com

Facts

Date created
Jul 09, 2013
Category
Last update
Jan 24, 2014
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
ScheduledCommands
Downloads
2,955
Recent files
  • B: v1.3 for CB 1.7.2-R0.2 Jan 24, 2014
  • R: v1.2 for CB 1.6.2-R0.1 Aug 18, 2013
  • R: v1.1 for 1.6.2 Jul 11, 2013
  • R: v1.0 for 1.6.2 Jul 09, 2013

Authors