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 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

    Thebukkitlist.com

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

  • Avatar of tremby90 tremby90 Jun 25, 2014 at 07:00 UTC - 0 likes

    thank you so much for this plugin, been looking for something like this for ages

  • Avatar of Epesni Epesni May 30, 2014 at 20:49 UTC - 0 likes

    I have really big problems with duplicated commands... now i have in config about 20 000 commands... please help to fix this duplicates.

  • Avatar of MCer202 MCer202 May 05, 2014 at 02:11 UTC - 0 likes

    @callum343: Go

    Just wanted to say that I have seen you before on a server xD

  • Avatar of Dankrushen Dankrushen Apr 27, 2014 at 20:10 UTC - 0 likes

    @callum343: Go

    I also found another problem where the message duplicates itself! Btw, works fine with 1.7.9, that's great and all, but it always duplicates the messages!

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,620
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