Adapted a MySQL System from another plugin developer