Class OfflineSDBPlayer

java.lang.Object
nl.minetopiasdb.api.playerdata.objects.OfflineSDBPlayer
All Implemented Interfaces:
SDBPlayer

public class OfflineSDBPlayer extends Object implements SDBPlayer
OfflineSDBPlayer object NOTE: All sets are ran asynchronously, but data loading is not. Instantiate asynchronously!
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the citycolor of this SDBPlayer.
    long
    The value of System.currentTimeMillis() when the deathban of this SDBPlayer expires.
    Get the fitness object of this SDBPlayer.
    double
    Get the amount of goldshards this SDBPlayer has.
    Get a formatted string that represents the amount of goldshards this SDBPlayer has.
    int
    Get the amount of graycoins this SDBPlayer has.
    double
    Get the amount of grayshards this SDBPlayer has.
    Get a formatted string that represents the amount of grayshards this SDBPlayer has.
    Get the possibly null UUID of the player who handcuffed this SDBPlayer.
    int
    Get the level of this SDBPlayer.
    Get the levelcolor of this SDBPlayer.
    double
    Get the amount of luckyshards this SDBPlayer has.
    Get a formatted string that represents the amount of luckyshards this SDBPlayer has.
    Get the prefix of this SDBPlayer.
    Get the prefixcolor of this SDBPlayer.
    Get the current selected chatcolor of this player.
    int
    Get the online days of this SDBPlayer.
    int
    Get the online hours of this SDBPlayer.
    int
    Get the online minutes of this SDBPlayer.
    int
    Get the online seconds of this SDBPlayer.
    Get the UUID of this SDBPlayer.
    void
    handcuffPlayer(UUID handcuffedBy)
    Handcuff a player.
    boolean
    See if this SDBPlayer has chatspy enabled.
    boolean
    See if this SDBPlayer has commandspy enabled.
    boolean
    Check if player has a pending fitness reset
    boolean
    See if this SDBPlayer has staffchat muted.
    boolean
    Check if player is handcuffed.
    void
    muteStaffChat(boolean muted)
    Mute or unmute staffchat for this SDBPlayer.
    void
    muteStaffChatSilent(boolean muted)
    Mute or unmute staffchat for this SDBPlayer without communicating it through message channels.
    void
    Pull all the data from the database.
    void
    Reset the MinetopiaSDB playerdata of this player, this does not includes fitnessdata.
    void
    setChatSpy(boolean chatspy)
    Enable or disable chatspy for this SDBPlayer.
    void
    setChatSpySilent(boolean chatspy)
    Enable or disable chatspy for this SDBPlayer without communicating it through message channels.
    void
    setCitycolor(String citycolor)
    Change the citycolor of this SDBPlayer.
    void
    Change the citycolor of this SDBPlayer without communicating it through message channels.
    void
    setCommandSpy(boolean commandspy)
    Enable or disable commandspy for this SDBPlayer.
    void
    setCommandSpySilent(boolean commandspy)
    Enable or disable commandspy for this SDBPlayer without communicating it through message channels.
    void
    setDeathbanTime(long deathbanmillis)
    Change until what value of System.currentTimeMillis() the deathban of this SDBPlayer expires.
    void
    setDeathbanTimeSilent(long deathbanmillis)
    Change until what value of System.currentTimeMillis() the deathban of this SDBPlayer expires without communicating it through message channels.
    void
    Change the fitness object of this SDBPlayer.
    void
    setFitnessReset(boolean fitnessreset)
    Enable or disable a fitnessreset for this SDBPlayer.
    void
    setFitnessResetSilent(boolean fitnessreset)
    Enable or disable a fitnessreset for this SDBPlayer without communicating it through message channels.
    void
    setGoldShards(double goldshards)
    Change the amount of goldshards this SDBPlayer has.
    void
    setGoldShardsSilent(double goldshards)
    Change the amount of goldshards this SDBPlayer has without communicating it through message channels.
    void
    setGrayCoins(int graycoins)
    Change the amount of graycoins this SDBPlayer has.
    void
    setGrayCoinsSilent(int graycoins)
    Change the amount of grayoincs this SDBPlayer has without communicating it through message channels.
    void
    setGrayShards(double grayshards)
    Change the amount of grayshards this SDBPlayer has.
    void
    setGrayShardsSilent(double grayshards)
    Change the amount of grayshards this SDBPlayer has without communicating it through message channels.
    void
    setLevel(int level, LevelChangeReason reason)
    Change the level of this SDBPlayer.
    void
    setLevelColor(String levelcolor)
    Change the levelcolor of this SDBPlayer.
    void
    Change the levelcolor of this SDBPlayer without communicating it through message channels.
    void
    setLevelSilent(int level)
    Change the level of this SDBPlayer without communicating it through message channels.
    void
    setLuckyShards(double luckyshards)
    Change the amount of luckyshards this SDBPlayer has.
    void
    setLuckyShardsSilent(double luckyshards)
    Change the amount of luckyshards this SDBPlayer has without communicating it through message channels.
    void
    setPrefix(String prefix)
    Change the prefix of this SDBPlayer.
    void
    setPrefixColor(String prefixcolor)
    Change the prefixcolor of this SDBPlayer.
    void
    Change the prefixcolor of this SDBPlayer without communicating it through message channels.
    void
    Change the prefix of this SDBPlayer without communicating it through message channels.
    void
    setSelectedChatColor(String selectedChatcolor)
    Change the selected chatcolor of this SDBPlayer.
    void
    Change the selected chatcolor of this SDBPlayer without communicating it through message channels.
    void
    setTimeDays(int days)
    Change the online days of this SDBPlayer.
    void
    Change the online days of this SDBPlayer without communicating it through message channels.
    void
    setTimeHours(int hours)
    Change the online hours of this SDBPlayer.
    void
    setTimeHoursSilent(int hours)
    Change the online hours of this SDBPlayer without communicating it through message channels.
    void
    setTimeMinutes(int minutes)
    Change the online minutes of this SDBPlayer.
    void
    setTimeMinutesSilent(int minutes)
    Change the online minutes of this SDBPlayer without communicating it through message channels.
    void
    setTimeSeconds(int seconds)
    Change the online seconds of this SDBPlayer.
    void
    setTimeSecondsSilent(int seconds)
    Change the online seconds of this SDBPlayer without communicating it through message channels.
    void
    Remove the handcuffs from a player.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface nl.minetopiasdb.api.playerdata.objects.SDBPlayer

    isWearingBivak
  • Constructor Details

    • OfflineSDBPlayer

      public OfflineSDBPlayer(UUID uuid)
  • Method Details

    • reloadDataFromDB

      public void reloadDataFromDB()
      Pull all the data from the database. NOTE: Call this method async.
    • getUUID

      public UUID getUUID()
      Get the UUID of this SDBPlayer.
      Specified by:
      getUUID in interface SDBPlayer
      Returns:
      the UUID of this SDBPlayer.
    • getPrefix

      public String getPrefix()
      Get the prefix of this SDBPlayer.
      Specified by:
      getPrefix in interface SDBPlayer
      Returns:
      the prefix that this SDBPlayer has.
    • setPrefix

      public void setPrefix(String prefix)
      Change the prefix of this SDBPlayer.
      Specified by:
      setPrefix in interface SDBPlayer
      Parameters:
      prefix - New prefix of this SDBPlayer.
    • getPrefixColor

      public String getPrefixColor()
      Get the prefixcolor of this SDBPlayer.
      Specified by:
      getPrefixColor in interface SDBPlayer
      Returns:
      the prefixcolor that this SDBPlayer has.
    • setPrefixColor

      public void setPrefixColor(String prefixcolor)
      Change the prefixcolor of this SDBPlayer.
      Specified by:
      setPrefixColor in interface SDBPlayer
      Parameters:
      prefixcolor - New prefixcolor of this SDBPlayer.
    • getSelectedChatColor

      public String getSelectedChatColor()
      Get the current selected chatcolor of this player.
      Specified by:
      getSelectedChatColor in interface SDBPlayer
      Returns:
      currently selected chatcolor of this player.
    • setSelectedChatColor

      public void setSelectedChatColor(String selectedChatcolor)
      Change the selected chatcolor of this SDBPlayer.
      Specified by:
      setSelectedChatColor in interface SDBPlayer
      Parameters:
      selectedChatcolor - the newly selected chatcolor of this player.
    • getCitycolor

      public String getCitycolor()
      Get the citycolor of this SDBPlayer.
      Specified by:
      getCitycolor in interface SDBPlayer
      Returns:
      the citycolor that this SDBPlayer has.
    • setCitycolor

      public void setCitycolor(String citycolor)
      Change the citycolor of this SDBPlayer.
      Specified by:
      setCitycolor in interface SDBPlayer
      Parameters:
      citycolor - the new citycolor of this player.
    • getLevelColor

      public String getLevelColor()
      Get the levelcolor of this SDBPlayer.
      Specified by:
      getLevelColor in interface SDBPlayer
      Returns:
      the levelcolor that this SDBPlayer has.
    • setLevelColor

      public void setLevelColor(String levelcolor)
      Change the levelcolor of this SDBPlayer.
      Specified by:
      setLevelColor in interface SDBPlayer
      Parameters:
      levelcolor - the new levelcolor of this player.
    • getLevel

      public int getLevel()
      Get the level of this SDBPlayer.
      Specified by:
      getLevel in interface SDBPlayer
      Returns:
      the level that this SDBPlayer has.
    • setLevel

      public void setLevel(int level, LevelChangeReason reason)
      Change the level of this SDBPlayer.
      Specified by:
      setLevel in interface SDBPlayer
      Parameters:
      level - the new level of this player.
      reason - reason why level has been changed.
    • hasChatspy

      public boolean hasChatspy()
      See if this SDBPlayer has chatspy enabled.
      Specified by:
      hasChatspy in interface SDBPlayer
      Returns:
      true if player has chatspy enabled.
    • setChatSpy

      public void setChatSpy(boolean chatspy)
      Enable or disable chatspy for this SDBPlayer.
      Specified by:
      setChatSpy in interface SDBPlayer
      Parameters:
      chatspy - True if player should have chatspy enabled, false if player shouldn't have it enabled.
    • hasFitnessReset

      public boolean hasFitnessReset()
      Check if player has a pending fitness reset
      Specified by:
      hasFitnessReset in interface SDBPlayer
      Returns:
      true if player has fitness reset
    • setFitnessReset

      public void setFitnessReset(boolean fitnessreset)
      Enable or disable a fitnessreset for this SDBPlayer.
      Specified by:
      setFitnessReset in interface SDBPlayer
      Parameters:
      fitnessreset - True if player should have a pending fitnessreset, false if player shouldn't have one.
    • hasCommandSpy

      public boolean hasCommandSpy()
      See if this SDBPlayer has commandspy enabled.
      Specified by:
      hasCommandSpy in interface SDBPlayer
      Returns:
      true if player has commandspy enabled.
    • setCommandSpy

      public void setCommandSpy(boolean commandspy)
      Enable or disable commandspy for this SDBPlayer.
      Specified by:
      setCommandSpy in interface SDBPlayer
      Parameters:
      commandspy - True if player should have commandspy enabled, false if player shouldn't have it enabled.
    • hasMutedStaffChat

      public boolean hasMutedStaffChat()
      See if this SDBPlayer has staffchat muted.
      Specified by:
      hasMutedStaffChat in interface SDBPlayer
      Returns:
      true if player has staffchat muted.
    • muteStaffChat

      public void muteStaffChat(boolean muted)
      Mute or unmute staffchat for this SDBPlayer.
      Specified by:
      muteStaffChat in interface SDBPlayer
      Parameters:
      muted - True if player should have staffchat muted, false if player shouldn't have it muted.
    • getGrayCoins

      public int getGrayCoins()
      Get the amount of graycoins this SDBPlayer has.
      Specified by:
      getGrayCoins in interface SDBPlayer
      Returns:
      the amount of graycoins that this SDBPlayer has.
    • setGrayCoins

      public void setGrayCoins(int graycoins)
      Change the amount of graycoins this SDBPlayer has.
      Specified by:
      setGrayCoins in interface SDBPlayer
      Parameters:
      graycoins - the new amount of graycoins this player has.
    • getGoldShards

      public double getGoldShards()
      Get the amount of goldshards this SDBPlayer has.
      Specified by:
      getGoldShards in interface SDBPlayer
      Returns:
      the amount of goldshards that this SDBPlayer has.
    • getGoldShardsFormatted

      public String getGoldShardsFormatted()
      Get a formatted string that represents the amount of goldshards this SDBPlayer has.
      Specified by:
      getGoldShardsFormatted in interface SDBPlayer
      Returns:
      formatted string that represents the amount of goldshards.
    • setGoldShards

      public void setGoldShards(double goldshards)
      Change the amount of goldshards this SDBPlayer has.
      Specified by:
      setGoldShards in interface SDBPlayer
      Parameters:
      goldshards - the new amount of goldshards this player has.
    • getGrayShards

      public double getGrayShards()
      Get the amount of grayshards this SDBPlayer has.
      Specified by:
      getGrayShards in interface SDBPlayer
      Returns:
      the amount of grayshards that this SDBPlayer has.
    • getGrayShardsFormatted

      public String getGrayShardsFormatted()
      Get a formatted string that represents the amount of grayshards this SDBPlayer has.
      Specified by:
      getGrayShardsFormatted in interface SDBPlayer
      Returns:
      formatted string that represents the amount of grayshards.
    • setGrayShards

      public void setGrayShards(double grayshards)
      Change the amount of grayshards this SDBPlayer has.
      Specified by:
      setGrayShards in interface SDBPlayer
      Parameters:
      grayshards - the new amount of grayshards this player has.
    • getLuckyShards

      public double getLuckyShards()
      Get the amount of luckyshards this SDBPlayer has.
      Specified by:
      getLuckyShards in interface SDBPlayer
      Returns:
      the amount of luckyshards that this SDBPlayer has.
    • getLuckyShardsFormatted

      public String getLuckyShardsFormatted()
      Get a formatted string that represents the amount of luckyshards this SDBPlayer has.
      Specified by:
      getLuckyShardsFormatted in interface SDBPlayer
      Returns:
      formatted string that represents the amount of luckyshards.
    • setLuckyShards

      public void setLuckyShards(double luckyshards)
      Change the amount of luckyshards this SDBPlayer has.
      Specified by:
      setLuckyShards in interface SDBPlayer
      Parameters:
      luckyshards - the new amount of luckyshards this player has.
    • getFitness

      public OfflineFitness getFitness()
      Get the fitness object of this SDBPlayer.
      Specified by:
      getFitness in interface SDBPlayer
      Returns:
      the fitness object of this SDBPlayer.
    • setFitness

      public void setFitness(Fitness fitness)
      Change the fitness object of this SDBPlayer.
      Specified by:
      setFitness in interface SDBPlayer
      Parameters:
      fitness - The new fitness object for this SDBPlayer.
    • getTimeSeconds

      public int getTimeSeconds()
      Get the online seconds of this SDBPlayer.
      Specified by:
      getTimeSeconds in interface SDBPlayer
      Returns:
      the amount of online seconds this SDBPlayer has.
    • setTimeSeconds

      public void setTimeSeconds(int seconds)
      Change the online seconds of this SDBPlayer.
      Specified by:
      setTimeSeconds in interface SDBPlayer
      Parameters:
      seconds - the new amount of online seconds for this SDBPlayer.
    • getTimeMinutes

      public int getTimeMinutes()
      Get the online minutes of this SDBPlayer.
      Specified by:
      getTimeMinutes in interface SDBPlayer
      Returns:
      the amount of online minutes this SDBPlayer has.
    • setTimeMinutes

      public void setTimeMinutes(int minutes)
      Change the online minutes of this SDBPlayer.
      Specified by:
      setTimeMinutes in interface SDBPlayer
      Parameters:
      minutes - the new amount of online minutes for this SDBPlayer.
    • getTimeHours

      public int getTimeHours()
      Get the online hours of this SDBPlayer.
      Specified by:
      getTimeHours in interface SDBPlayer
      Returns:
      the amount of online hours this SDBPlayer has.
    • setTimeHours

      public void setTimeHours(int hours)
      Change the online hours of this SDBPlayer.
      Specified by:
      setTimeHours in interface SDBPlayer
      Parameters:
      hours - the new amount of online hours for this SDBPlayer.
    • getTimeDays

      public int getTimeDays()
      Get the online days of this SDBPlayer.
      Specified by:
      getTimeDays in interface SDBPlayer
      Returns:
      the amount of online days this SDBPlayer has.
    • setTimeDays

      public void setTimeDays(int days)
      Change the online days of this SDBPlayer.
      Specified by:
      setTimeDays in interface SDBPlayer
      Parameters:
      days - the new amount of online days for this SDBPlayer.
    • setPrefixSilent

      public void setPrefixSilent(String prefix)
      Change the prefix of this SDBPlayer without communicating it through message channels. Please use SDBPlayer.setPrefix(String) instead.
      Specified by:
      setPrefixSilent in interface SDBPlayer
      Parameters:
      prefix - New prefix of this SDBPlayer.
    • setPrefixColorSilent

      public void setPrefixColorSilent(String prefixcolor)
      Change the prefixcolor of this SDBPlayer without communicating it through message channels. Please use SDBPlayer.setPrefixColor(String) instead.
      Specified by:
      setPrefixColorSilent in interface SDBPlayer
      Parameters:
      prefixcolor - New prefixcolor of this SDBPlayer.
    • setSelectedChatColorSilent

      public void setSelectedChatColorSilent(String selectedChatcolor)
      Change the selected chatcolor of this SDBPlayer without communicating it through message channels. SDBPlayer.setSelectedChatColor(String)
      Specified by:
      setSelectedChatColorSilent in interface SDBPlayer
      Parameters:
      selectedChatcolor - New prefix of this SDBPlayer.
    • setCitycolorSilent

      public void setCitycolorSilent(String citycolor)
      Change the citycolor of this SDBPlayer without communicating it through message channels. Please use SDBPlayer.setCitycolor(String) instead.
      Specified by:
      setCitycolorSilent in interface SDBPlayer
      Parameters:
      citycolor - the new citycolor of this SDBPlayer.
    • setLevelColorSilent

      public void setLevelColorSilent(String levelcolor)
      Change the levelcolor of this SDBPlayer without communicating it through message channels. Please use SDBPlayer.setLevelColor(String) instead.
      Specified by:
      setLevelColorSilent in interface SDBPlayer
      Parameters:
      levelcolor - the new levelcolor of this SDBPlayer.
    • setLevelSilent

      public void setLevelSilent(int level)
      Change the level of this SDBPlayer without communicating it through message channels. Please use SDBPlayer.setLevel(int, LevelChangeReason) instead.
      Specified by:
      setLevelSilent in interface SDBPlayer
      Parameters:
      level - the new level of this player.
    • setChatSpySilent

      public void setChatSpySilent(boolean chatspy)
      Enable or disable chatspy for this SDBPlayer without communicating it through message channels. Please use SDBPlayer.setChatSpy(boolean) instead.
      Specified by:
      setChatSpySilent in interface SDBPlayer
      Parameters:
      chatspy - True if player should have chatspy enabled, false if player shouldn't have it enabled.
    • setFitnessResetSilent

      public void setFitnessResetSilent(boolean fitnessreset)
      Enable or disable a fitnessreset for this SDBPlayer without communicating it through message channels. Please use SDBPlayer.setFitnessResetSilent(boolean) instead.
      Specified by:
      setFitnessResetSilent in interface SDBPlayer
      Parameters:
      fitnessreset - True if player should have a pending fitnessreset, false if player shouldn't have one.s
    • setCommandSpySilent

      public void setCommandSpySilent(boolean commandspy)
      Enable or disable commandspy for this SDBPlayer without communicating it through message channels. Please use SDBPlayer.setCommandSpy(boolean) instead.
      Specified by:
      setCommandSpySilent in interface SDBPlayer
      Parameters:
      commandspy - True if player should have commandspy enabled, false if player shouldn't have it enabled.
    • muteStaffChatSilent

      public void muteStaffChatSilent(boolean muted)
      Mute or unmute staffchat for this SDBPlayer without communicating it through message channels. Please use SDBPlayer.muteStaffChat(boolean) instead.
      Specified by:
      muteStaffChatSilent in interface SDBPlayer
      Parameters:
      muted - True if player should have staffchat muted, false if player shouldn't have it muted.
    • setGrayCoinsSilent

      public void setGrayCoinsSilent(int graycoins)
      Change the amount of grayoincs this SDBPlayer has without communicating it through message channels. Please use SDBPlayer.setGrayCoins(int) instead.
      Specified by:
      setGrayCoinsSilent in interface SDBPlayer
      Parameters:
      graycoins - the new amount of graycoins this player has.
    • setGoldShardsSilent

      public void setGoldShardsSilent(double goldshards)
      Change the amount of goldshards this SDBPlayer has without communicating it through message channels. Please use SDBPlayer.setGoldShards(double) instead.
      Specified by:
      setGoldShardsSilent in interface SDBPlayer
      Parameters:
      goldshards - the new amount of goldshards this player has.
    • setGrayShardsSilent

      public void setGrayShardsSilent(double grayshards)
      Change the amount of grayshards this SDBPlayer has without communicating it through message channels. Please use SDBPlayer.setGrayShards(double) instead.
      Specified by:
      setGrayShardsSilent in interface SDBPlayer
      Parameters:
      grayshards - the new amount of grayshards this player has.
    • setLuckyShardsSilent

      public void setLuckyShardsSilent(double luckyshards)
      Change the amount of luckyshards this SDBPlayer has without communicating it through message channels. Please use SDBPlayer.setLuckyShards(double) instead.
      Specified by:
      setLuckyShardsSilent in interface SDBPlayer
      Parameters:
      luckyshards - the new amount of luckyshards this player has.
    • setTimeSecondsSilent

      public void setTimeSecondsSilent(int seconds)
      Change the online seconds of this SDBPlayer without communicating it through message channels. Please use SDBPlayer.setTimeHours(int) instead.
      Specified by:
      setTimeSecondsSilent in interface SDBPlayer
      Parameters:
      seconds - the new amount of online seconds for this SDBPlayer.
    • setTimeMinutesSilent

      public void setTimeMinutesSilent(int minutes)
      Change the online minutes of this SDBPlayer without communicating it through message channels. Please use SDBPlayer.setTimeHours(int) instead.
      Specified by:
      setTimeMinutesSilent in interface SDBPlayer
      Parameters:
      minutes - the new amount of online minutes for this SDBPlayer.
    • setTimeHoursSilent

      public void setTimeHoursSilent(int hours)
      Change the online hours of this SDBPlayer without communicating it through message channels. Please use SDBPlayer.setTimeHours(int) instead.
      Specified by:
      setTimeHoursSilent in interface SDBPlayer
      Parameters:
      hours - the new amount of online hours for this SDBPlayer.
    • setTimeDaysSilent

      public void setTimeDaysSilent(int days)
      Change the online days of this SDBPlayer without communicating it through message channels. Please use SDBPlayer.setTimeDays(int) instead.
      Specified by:
      setTimeDaysSilent in interface SDBPlayer
      Parameters:
      days - the new amount of online days for this SDBPlayer.
    • getDeathbanTime

      public long getDeathbanTime()
      The value of System.currentTimeMillis() when the deathban of this SDBPlayer expires. Returns -1 when player is not deathbanned.
      Specified by:
      getDeathbanTime in interface SDBPlayer
      Returns:
      the value of System.currentTimeMillis() when deathban expires.
    • setDeathbanTime

      public void setDeathbanTime(long deathbanmillis)
      Change until what value of System.currentTimeMillis() the deathban of this SDBPlayer expires. Change to System.currentTimeMillis() to unban this player.
      Specified by:
      setDeathbanTime in interface SDBPlayer
      Parameters:
      deathbanmillis - new value of System.currentTimeMillis() when this SDBPlayer gets unbanned.
    • setDeathbanTimeSilent

      public void setDeathbanTimeSilent(long deathbanmillis)
      Change until what value of System.currentTimeMillis() the deathban of this SDBPlayer expires without communicating it through message channels. Change to System.currentTimeMillis() to unban this player.
      Specified by:
      setDeathbanTimeSilent in interface SDBPlayer
      Parameters:
      deathbanmillis - new value of System.currentTimeMillis() when this SDBPlayer gets unbanned.
    • handcuffPlayer

      public void handcuffPlayer(UUID handcuffedBy)
      Handcuff a player.
      Specified by:
      handcuffPlayer in interface SDBPlayer
      Parameters:
      handcuffedBy - UUID of player who handcuffed this player
    • unhandcuffPlayer

      public void unhandcuffPlayer()
      Remove the handcuffs from a player.
      Specified by:
      unhandcuffPlayer in interface SDBPlayer
    • isHandCuffed

      public boolean isHandCuffed()
      Check if player is handcuffed.
      Specified by:
      isHandCuffed in interface SDBPlayer
      Returns:
      true if player is handcuffed.
    • getHandcuffedBy

      public UUID getHandcuffedBy()
      Get the possibly null UUID of the player who handcuffed this SDBPlayer.
      Specified by:
      getHandcuffedBy in interface SDBPlayer
      Returns:
      UUID of player who handcuffed this player
    • reset

      public void reset()
      Reset the MinetopiaSDB playerdata of this player, this does not includes fitnessdata.
      Specified by:
      reset in interface SDBPlayer