Bukkit MySQL-Reader

General:

This plugin reads commands from a MySQL database and performs them with operating rights to the console.

Features:

  • Automated extraction of commands from a table
  • Login data configurable
  • Interval: Configurable (defined in minutes)
  • Query on the port which is defined in config (by default, it is 3306)
  • Deleting commands from the table after execution if you want to

Installation and configuration:

To install the plugin you just have to specify the login data to the MySQL server in the plugin's configuration file which is found in "plugins/MySQL-Reader/config.yml". After that, you have to reload your server. Now, create a column with that name you have specified in the configuration file. This column has to contain items of the SQL type "VARCHAR". Now, just enter your commands and have fun :D

Upcoming Features:

  • Ingame commands to add and remove tasks
  • Ingame commands to change the configuration

Known Bugs:

No bugs are actually known! Feel free to report some!

Changelog:

1.0:

  • Initial release

2.0:

  • Added configuration option for interval in minutes
  • Added adjustable column name
  • Added adjustable port
  • Renamed some classes
  • Added description to the plugin.yml file

3.0:

  • Added configuration option for using the commands just once
  • Fixed connection not closing properly

Sample config:

Config:
  server: localhost
  table: bukkit
  database: bukkit
  user: root
  password: password
  port: 3306
  column_name: commands
  interval: 5
  singleuse: false

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files