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:[email protected]/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!


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    34722
  • Created
    Dec 13, 2011
  • Last Released File
    Jan 29, 2012
  • Total Downloads
    3,855
  • License

Categories

Members

Recent Files