ScheduledCommands
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
NOTE: This plugin has not been updated since a long time but should still be working fine! Due to circumstances (For example final school year) I am not able to update my plugins anymore. However most of them should still be working fine and besides I have found Maintainers for a few of my projects, who keep these updated. Thanks for your understanding ;-)
What would the command be to do: /save-all every 45 minutes??
@Natedanp
Use 60s or 1m
I want to do /tcmd 4:59 /bcast &b&lServer Restarting in &3&lOne Minute&b&l!
Will this work?
What is the time format? 459, 4:59, and 4:59am will not work.
@FGedda
Make CommandRank execute the command setting the permission AND make CommandRank execute this command: "/tcmd <time> <command removing the permission>"
How do i use it together with CommandRank to give them a temporarly permission?
Is it possible to schedule a command to go off once a week at a certain time?
@shadvalentine
The new version fixes that.
Is there a way I can turn debug off or is that something you have to do?
@shadvalentine
Oh looks like I forgot to remove the debug messages...
Ok I am finally getting around to really testing this out .. and I found 2 things ..
1. when you start a rankup with the it puts the information about the scheduledcommand in the chat see screen shot
2. if I set the scheduledcommand to run a rankup it will run it just fine but it will not print the message line in the chat .. I have gotten around this by using player command /me and/or console command /tell %player%
Please say this works with 1.5.2
@shadvalentine
Exactly.
@Blackixx
testing 1.1 out now .. now I can use it in game .. Thank You
question on the #playername .. this counts down weather or not the player is online but will only run the command when the player is on .. correct? .. so if the player starts a scheduledcommand with 2 hours and logs off before the command is ran then logs back in in 4 hours it will then run on the next check?
First the name of this plugin was TimedCommands so the permission is TimedCommands.use. I've also uploaded v1.1 which is using ScheduledCommands.use though.
Not sure if I am doing something wrong .. but it says I do not have permission to use the command .. I have the permission ScheduledCommands.use