code: private boolean importDatabase(String sender) {
          Connection connection = null;
          PreparedStatement statement = null;
          try {
              connection = db.getConnection();
              if (getDbConnectInfo().get("tablename") != null) {
                  statement = connection.prepareStatement("SELECT * FROM " + getDbConnectInfo().get("tablename"));
              } else {
                  statement = connection.prepareStatement(IConomyTable.SELECT_ENTRY);
              }
              ResultSet set = statement.executeQuery();
              List<User> userList = new ArrayList<>();
              while (set.next()) {
                  userList.add(new User(set.getString("username"), set.getDouble("balance")));
              }
              addAccountToString(sender, userList);
          } catch (SQLException e) {
              e.printStackTrace();
          } finally {
              Tools.closeJDBCStatement(statement);
              Tools.closeJDBCConnection(connection);
          }
          return true;
      }
docs: Import accounts from the database.
  
  @param sender The command sender so we can send back messages.
  @return True if the convert is done. Else false.