Command Scheduler
Summary
This plugin will execute commands from a file on an ftp server, scheduling after a set amount of time.
Setting up
Config.yml
After running the server with the plugin installed for the first time, a config.yml file will be generated. It should look something like this:
settings: URL: ftp://user:pass@ftp-server.net/path/to/file.txt #path to file Delay: 2 #delay between issuing commands (in days)
Edit this file to suit your server's needs. Note: It is not necessary to have an ftp connection, and you can use http, its just that the commands file will not be wiped (useful for announcements).
executed file
This file should be the one located in the config.yml file. Each command is separated by a new line. For example, it may look like this
say This has been scheduled. pay mahoutsukaii 50
After the command has been executed, the file will be cleaned (if there are sufficient ftp permissions).
Permissions / commands
This plugin has no commands, as it is fully automated.
Ideas for use
A possible use for this would be to integrate a php page to unban people, or change their permissions. The possibilities are endless!
-
View User Profile
-
Send Message
Posted Oct 16, 2012does this work with 1.3.2
-
View User Profile
-
Send Message
Posted Sep 27, 2012Is there any way of making this check the file every 5 minutes or so? So anything below 1 day really.
Gr.Viller
-
View User Profile
-
Send Message
Posted May 9, 2012will it execute command as soon as it will be writen in the text file, or is it needed to restart server?
-
View User Profile
-
Send Message
Posted Feb 22, 2012I wish I could just put the file in the minecraft server folder.
-
View User Profile
-
Send Message
Posted Feb 11, 2012would it be possible to add commands similar to system tasks for instance Repeat: everyday 12.00am - say GO TO BED ITS 12AM
-
View User Profile
-
Send Message
Posted Jan 21, 2012@efstajas
Use cron. It's part of pretty much every modern linux distribution.
-
View User Profile
-
Send Message
Posted Jan 6, 2012Great! However, could you add something like planning? I want to have a command ran every friday at 0:00. How do I do that?
-
View User Profile
-
Send Message
Posted Dec 31, 2011heya, great idea.. was searching for this and found pretty much only this one... i wonder if you could update it so that you can have local files with commands and a flag for if to clear the file (you can do it with permissions but its cleaner if you have option for it)
if you dont want to do this but could share the code id be happy to rewrite it :P
thanks for the mod :)