Class SpecialRewardsConfig

java.lang.Object
com.bencodez.advancedcore.api.yml.YMLFile
com.bencodez.votingplugin.config.SpecialRewardsConfig

public class SpecialRewardsConfig extends com.bencodez.advancedcore.api.yml.YMLFile
  • Constructor Details

  • Method Details

    • getCumulativeRewardEnabled

      public boolean getCumulativeRewardEnabled(int cumulative)
    • getCumulativeRewardsPath

      public String getCumulativeRewardsPath(int cumulative)
    • getCumulativeBlackList

      public List<Integer> getCumulativeBlackList(int cumulative)
    • getCumulativeRecurring

      public boolean getCumulativeRecurring(int cumulative)
    • getCumulativeVotesInSameDay

      @Deprecated public boolean getCumulativeVotesInSameDay(int cumulative)
      Deprecated.
    • getCumulativeVotesInSameMonth

      @Deprecated public boolean getCumulativeVotesInSameMonth(int cumulative)
      Deprecated.
    • getCumulativeVotesInSameWeek

      @Deprecated public boolean getCumulativeVotesInSameWeek(int cumulative)
      Deprecated.
    • getCumulativeVotesTotal

      public String getCumulativeVotesTotal(int cumulative)
    • getDailyAwardRewardsPath

      public String getDailyAwardRewardsPath(String path)
    • getMilestoneRewardEnabled

      public boolean getMilestoneRewardEnabled(int milestones)
      Gets the milestone reward enabled.
      Parameters:
      milestones - the milestones
      Returns:
      the milestone reward enabled
    • getMilestoneRewardsPath

      public String getMilestoneRewardsPath(int milestones)
      Gets the milestone rewards.
      Parameters:
      milestones - the milestones
      Returns:
      the milestone rewards
    • getMonthlyAwardRewardsPath

      public String getMonthlyAwardRewardsPath(String path)
    • getMonthlyPossibleRewardPlaces

      public Set<String> getMonthlyPossibleRewardPlaces()
      Gets the monthly possible reward places.
      Returns:
      the monthly possible reward places
    • getVoteStreakRewardEnabled

      public boolean getVoteStreakRewardEnabled(String type, String s)
    • getVoteStreakRewardsPath

      public String getVoteStreakRewardsPath(String type, String string)
    • getVoteStreakVotes

      public Set<String> getVoteStreakVotes(String type)
    • getWeeklyAwardRewardsPath

      public String getWeeklyAwardRewardsPath(String path)
    • loadValues

      public void loadValues()
      Overrides:
      loadValues in class com.bencodez.advancedcore.api.yml.YMLFile
    • onFileCreation

      public void onFileCreation()
      Specified by:
      onFileCreation in class com.bencodez.advancedcore.api.yml.YMLFile
    • removeCumulative

      public void removeCumulative(String votes)
    • removeMilestone

      public void removeMilestone(String votes)
    • setCumulative

      public void setCumulative(int intValue)
    • setMilestone

      public void setMilestone(int intValue)
    • getAllSitesRewardPath

      public String getAllSitesRewardPath()
    • getAlmostAllSitesRewardPath

      public String getAlmostAllSitesRewardPath()
    • getAnySiteRewardsPath

      public String getAnySiteRewardsPath()
    • isEnableDailyRewards

      public boolean isEnableDailyRewards()
    • isEnableMonthlyAwards

      public boolean isEnableMonthlyAwards()
    • isEnableWeeklyAwards

      public boolean isEnableWeeklyAwards()
    • isOnlyOneCumulative

      public boolean isOnlyOneCumulative()
    • getFirstVoteRewardsPath

      public String getFirstVoteRewardsPath()
    • getFirstVoteTodayRewardsPath

      public String getFirstVoteTodayRewardsPath()
    • isVotePartyGiveOnlinePlayersOnly

      public boolean isVotePartyGiveOnlinePlayersOnly()
    • isVotePartyResetCount

      public boolean isVotePartyResetCount()
    • isVotePartyResetExtraVotesMonthly

      public boolean isVotePartyResetExtraVotesMonthly()
    • isVotePartyResetExtraVotesWeekly

      public boolean isVotePartyResetExtraVotesWeekly()
    • getVotePartyVoteReminderBroadcast

      public String getVotePartyVoteReminderBroadcast()
    • getVotePartyVoteReminderAtVotes

      public ArrayList<String> getVotePartyVoteReminderAtVotes()
    • getVotePartyGlobalRandomCommand

      public ArrayList<String> getVotePartyGlobalRandomCommand()
    • getVotePartyRewardsPath

      public String getVotePartyRewardsPath()
    • getVoteStreakRequirementDay

      public double getVoteStreakRequirementDay()
    • getVoteStreakRequirementMonth

      public double getVoteStreakRequirementMonth()
    • isVoteStreakRequirementUsePercentage

      public boolean isVoteStreakRequirementUsePercentage()
    • getVoteStreakRequirementWeek

      public double getVoteStreakRequirementWeek()
    • getCumulativeVotes

      public Set<String> getCumulativeVotes()
    • getDailyPossibleRewardPlaces

      public Set<String> getDailyPossibleRewardPlaces()
    • getMilestoneVotes

      public Set<String> getMilestoneVotes()
    • isResetMilestonesMonthly

      public boolean isResetMilestonesMonthly()
    • getVotePartyBroadcast

      public String getVotePartyBroadcast()
    • getVotePartyGlobalCommands

      public ArrayList<String> getVotePartyGlobalCommands()
    • isVotePartyCountFakeVotes

      public boolean isVotePartyCountFakeVotes()
    • isVotePartyCountOfflineVotes

      public boolean isVotePartyCountOfflineVotes()
    • isVotePartyEnabled

      public boolean isVotePartyEnabled()
    • isVotePartyGiveAllPlayers

      public boolean isVotePartyGiveAllPlayers()
    • getVotePartyIncreaseVotesRequired

      public int getVotePartyIncreaseVotesRequired()
    • isVotePartyOnlyOncePerDay

      public boolean isVotePartyOnlyOncePerDay()
    • isVotePartyOnlyOncePerWeek

      public boolean isVotePartyOnlyOncePerWeek()
    • isVotePartyResetEachDay

      public boolean isVotePartyResetEachDay()
    • isVotePartyResetMonthly

      public boolean isVotePartyResetMonthly()
    • isVotePartyResetWeekly

      public boolean isVotePartyResetWeekly()
    • getVotePartyUserVotesRequired

      public int getVotePartyUserVotesRequired()
    • getVotePartyVotesRequired

      public int getVotePartyVotesRequired()
    • getWeeklyPossibleRewardPlaces

      public Set<String> getWeeklyPossibleRewardPlaces()