Class HeroxPlayer

java.lang.Object
com.xSavior_of_God.HeroxVote.api.HeroxPlayer

public class HeroxPlayer extends Object
Deprecated.
Work in Progress, don't use it yet!

Work in Progress

This class is part of the HeroxVote API, which is designed to manage player data Actually, this class is not woking, please don't use it.

HeroxPlayer

This class is used to manage player data.
Since:
2020-12-27
Version:
7.0.2
Author:
xSavior_of_God
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Deprecated.
    Gets the balance for this player.
    double
    Deprecated.
    Gets the balance for the current month.
    double
    Deprecated.
    Gets the balance for the last month.
    double
    Deprecated.
    Gets the balance for today.
    double
    Deprecated.
    Gets the balance for the week.
    Deprecated.
    Gets the last sync time for this player.
    org.bukkit.OfflinePlayer
    Deprecated.
     
    Deprecated.
    Gets the services voted today by this player.
    int
    Deprecated.
     
    int
    Deprecated.
    Gets the number of votes for the current month.
    int
    Deprecated.
    Gets the number of votes for the last month.
    int
    Deprecated.
    Gets the number of votes today.
    int
    Deprecated.
    Gets the number of votes for the week.
    boolean
    Deprecated.
    Checks if the player has claimed their MCITA reward.
    boolean
    Deprecated.
    Checks if the player has voted on MCITA.
    boolean
    Deprecated.
    Checks if the player has claimed their NameMC reward.
    boolean
    Deprecated.
    Checks if the player has voted on NameMC.
    void
    setBalance(double balance)
    Deprecated.
    Sets the balance for this player.
    void
    setBalanceCurrentMonth(double balanceCurrentMonth)
    Deprecated.
    Sets the balance for the current month.
    void
    setBalanceLastMonth(double balanceLastMonth)
    Deprecated.
    Sets the balance for the last month.
    void
    setBalanceToday(double balanceToday)
    Deprecated.
    Sets the balance for today.
    void
    setBalanceWeekly(double balanceWeekly)
    Deprecated.
    Sets the balance for the week.
    void
    setLastSync(String lastSync)
    Deprecated.
    Sets the last sync time for this player.
    void
    setmCITAClaimed(boolean mCITAClaimed)
    Deprecated.
    Sets the claiming status for MCITA.
    void
    setmCITAVoted(boolean mCITAVoted)
    Deprecated.
    Sets the voting status for MCITA.
    void
    setNameMCClaimed(boolean nameMCClaimed)
    Deprecated.
    Sets the claiming status for NameMC.
    void
    setNameMCVoted(boolean nameMCVoted)
    Deprecated.
    Sets the voting status for NameMC.
    void
    setPlayer(org.bukkit.OfflinePlayer player)
    Deprecated.
    Sets the player for this HeroxPlayer instance.
    void
    setServicesVotedToday(String[] servicesVotedToday)
    Deprecated.
    Sets the services voted today by this player.
    int
    setVotes(int votes)
    Deprecated.
    Sets the number of votes for this player.
    void
    setVotesCurrentMonth(int votesCurrentMonth)
    Deprecated.
    Sets the number of votes for the current month.
    void
    setVotesLastMonth(int votesLastMonth)
    Deprecated.
    Sets the number of votes for the last month.
    void
    setVotesToday(int votesToday)
    Deprecated.
    Sets the number of votes today.
    void
    setVotesWeekly(int votesWeekly)
    Deprecated.
    Sets the number of votes for the week.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HeroxPlayer

      public HeroxPlayer()
      Deprecated.
  • Method Details

    • getPlayer

      public org.bukkit.OfflinePlayer getPlayer()
      Deprecated.
      Returns:
      the player associated with this HeroxPlayer instance.
    • setPlayer

      public void setPlayer(org.bukkit.OfflinePlayer player)
      Deprecated.
      Sets the player for this HeroxPlayer instance.
      Parameters:
      player - The OfflinePlayer to set.
    • getVotes

      public int getVotes()
      Deprecated.
      Returns:
      the number of votes
    • setVotes

      public int setVotes(int votes)
      Deprecated.
      Sets the number of votes for this player.
      Parameters:
      votes - The number of votes to set.
      Returns:
      The updated number of votes.
    • getBalance

      public double getBalance()
      Deprecated.
      Gets the balance for this player.
      Returns:
      The balance.
    • setBalance

      public void setBalance(double balance)
      Deprecated.
      Sets the balance for this player.
      Parameters:
      balance - The balance to set.
    • getVotesToday

      public int getVotesToday()
      Deprecated.
      Gets the number of votes today.
      Returns:
      The number of votes today.
    • setVotesToday

      public void setVotesToday(int votesToday)
      Deprecated.
      Sets the number of votes today.
      Parameters:
      votesToday - The number of votes to set for today.
    • getVotesCurrentMonth

      public int getVotesCurrentMonth()
      Deprecated.
      Gets the number of votes for the current month.
      Returns:
      The number of votes for the current month.
    • setVotesCurrentMonth

      public void setVotesCurrentMonth(int votesCurrentMonth)
      Deprecated.
      Sets the number of votes for the current month.
      Parameters:
      votesCurrentMonth - The number of votes to set for the current month.
    • getVotesLastMonth

      public int getVotesLastMonth()
      Deprecated.
      Gets the number of votes for the last month.
      Returns:
      The number of votes for the last month.
    • setVotesLastMonth

      public void setVotesLastMonth(int votesLastMonth)
      Deprecated.
      Sets the number of votes for the last month.
      Parameters:
      votesLastMonth - The number of votes to set for the last month.
    • getVotesWeekly

      public int getVotesWeekly()
      Deprecated.
      Gets the number of votes for the week.
      Returns:
      The number of votes for the week.
    • setVotesWeekly

      public void setVotesWeekly(int votesWeekly)
      Deprecated.
      Sets the number of votes for the week.
      Parameters:
      votesWeekly - The number of votes to set for the week.
    • getBalanceToday

      public double getBalanceToday()
      Deprecated.
      Gets the balance for today.
      Returns:
      The balance for today.
    • setBalanceToday

      public void setBalanceToday(double balanceToday)
      Deprecated.
      Sets the balance for today.
      Parameters:
      balanceToday - The balance to set for today.
    • getBalanceCurrentMonth

      public double getBalanceCurrentMonth()
      Deprecated.
      Gets the balance for the current month.
      Returns:
      The balance for the current month.
    • setBalanceCurrentMonth

      public void setBalanceCurrentMonth(double balanceCurrentMonth)
      Deprecated.
      Sets the balance for the current month.
      Parameters:
      balanceCurrentMonth - The balance to set for the current month.
    • getBalanceLastMonth

      public double getBalanceLastMonth()
      Deprecated.
      Gets the balance for the last month.
      Returns:
      The balance for the last month.
    • setBalanceLastMonth

      public void setBalanceLastMonth(double balanceLastMonth)
      Deprecated.
      Sets the balance for the last month.
      Parameters:
      balanceLastMonth - The balance to set for the last month.
    • getBalanceWeekly

      public double getBalanceWeekly()
      Deprecated.
      Gets the balance for the week.
      Returns:
      The balance for the week.
    • setBalanceWeekly

      public void setBalanceWeekly(double balanceWeekly)
      Deprecated.
      Sets the balance for the week.
      Parameters:
      balanceWeekly - The balance to set for the week.
    • isNameMCVoted

      public boolean isNameMCVoted()
      Deprecated.
      Checks if the player has voted on NameMC.
      Returns:
      true if the player has voted, false otherwise.
    • setNameMCVoted

      public void setNameMCVoted(boolean nameMCVoted)
      Deprecated.
      Sets the voting status for NameMC.
      Parameters:
      nameMCVoted - true if the player has voted, false otherwise.
    • isNameMCClaimed

      public boolean isNameMCClaimed()
      Deprecated.
      Checks if the player has claimed their NameMC reward.
      Returns:
      true if the player has claimed, false otherwise.
    • setNameMCClaimed

      public void setNameMCClaimed(boolean nameMCClaimed)
      Deprecated.
      Sets the claiming status for NameMC.
      Parameters:
      nameMCClaimed - true if the player has claimed, false otherwise.
    • ismCITAVoted

      public boolean ismCITAVoted()
      Deprecated.
      Checks if the player has voted on MCITA.
      Returns:
      true if the player has voted, false otherwise.
    • setmCITAVoted

      public void setmCITAVoted(boolean mCITAVoted)
      Deprecated.
      Sets the voting status for MCITA.
      Parameters:
      mCITAVoted - true if the player has voted, false otherwise.
    • ismCITAClaimed

      public boolean ismCITAClaimed()
      Deprecated.
      Checks if the player has claimed their MCITA reward.
      Returns:
      true if the player has claimed, false otherwise.
    • setmCITAClaimed

      public void setmCITAClaimed(boolean mCITAClaimed)
      Deprecated.
      Sets the claiming status for MCITA.
      Parameters:
      mCITAClaimed - true if the player has claimed, false otherwise.
    • getLastSync

      public String getLastSync()
      Deprecated.
      Gets the last sync time for this player.
      Returns:
      The last sync time as a String.
    • setLastSync

      public void setLastSync(String lastSync)
      Deprecated.
      Sets the last sync time for this player.
      Parameters:
      lastSync - The last sync time to set.
    • getServicesVotedToday

      public String[] getServicesVotedToday()
      Deprecated.
      Gets the services voted today by this player.
      Returns:
      An array of service names that the player has voted for today.
    • setServicesVotedToday

      public void setServicesVotedToday(String[] servicesVotedToday)
      Deprecated.
      Sets the services voted today by this player.
      Parameters:
      servicesVotedToday - An array of service names that the player has voted for today.