Hey there! How can I use MySQL in my Plugin? Example: /add <player> adds the Name to a List, /check <player> checks if the Player is in the list.
This seems more a plugin request. However learn about PHP MySQLi extension and also learn how MySQL works (learn about queries...)