Interface FPlayerMySQL

All Superinterfaces:
FPlayerSQL, SQL
All Known Subinterfaces:
FPlayerMariaDB

public interface FPlayerMySQL extends FPlayerSQL
MySQL-specific implementation of FPlayerSQL.
Since:
1.10.0
  • Method Details

    • setOfflineByServer

      void setOfflineByServer(String server)
      Description copied from interface: FPlayerSQL
      Sets all players associated with the specified server to offline status. Players without a server assignment or matching the given server will be set offline.
      Specified by:
      setOfflineByServer in interface FPlayerSQL
      Parameters:
      server - the server identifier to match against player server settings
    • insertOrIgnore

      void insertOrIgnore(int id, String uuid, String name)
      Description copied from interface: FPlayerSQL
      Inserts a player with the given ID, or does nothing if a conflict occurs.
      Specified by:
      insertOrIgnore in interface FPlayerSQL
      Parameters:
      id - the player database ID
      uuid - the player UUID
      name - the player name