Package com.bencodez.votingplugin.config
Class SpecialRewardsConfig
java.lang.Object
com.bencodez.simpleapi.file.YMLFile
com.bencodez.votingplugin.config.SpecialRewardsConfig
public class SpecialRewardsConfig
extends com.bencodez.simpleapi.file.YMLFile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCumulativeBlackList(int cumulative) booleangetCumulativeRecurring(int cumulative) booleangetCumulativeRewardEnabled(int cumulative) getCumulativeRewardsPath(int cumulative) booleangetCumulativeVotesInSameDay(int cumulative) Deprecated.booleangetCumulativeVotesInSameMonth(int cumulative) Deprecated.booleangetCumulativeVotesInSameWeek(int cumulative) Deprecated.getCumulativeVotesTotal(int cumulative) booleangetMilestoneRewardEnabled(int milestones) Gets the milestone reward enabled.getMilestoneRewardsPath(int milestones) Gets the milestone rewards.Gets the monthly possible reward places.intintintDeprecated.intintdoubledoubledoublebooleangetVoteStreakRewardEnabled(String type, String s) getVoteStreakRewardsPath(String type, String string) getVoteStreakVotes(String type) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidvoidvoidremoveCumulative(String votes) voidremoveMilestone(String votes) voidsetCumulative(int intValue) voidsetMilestone(int intValue) Methods inherited from class com.bencodez.simpleapi.file.YMLFile
createSection, getData, getdFile, getPlugin, isFailedToRead, isJustCreated, reloadData, saveData, setData, setup, setValue
-
Constructor Details
-
SpecialRewardsConfig
-
-
Method Details
-
getCumulativeRewardEnabled
public boolean getCumulativeRewardEnabled(int cumulative) -
getCumulativeRewardsPath
-
getCumulativeBlackList
-
getCumulativeRecurring
public boolean getCumulativeRecurring(int cumulative) -
getCumulativeVotesInSameDay
Deprecated. -
getCumulativeVotesInSameMonth
Deprecated. -
getCumulativeVotesInSameWeek
Deprecated. -
getCumulativeVotesTotal
-
getDailyAwardRewardsPath
-
getMilestoneRewardEnabled
public boolean getMilestoneRewardEnabled(int milestones) Gets the milestone reward enabled.- Parameters:
milestones- the milestones- Returns:
- the milestone reward enabled
-
getMilestoneRewardsPath
Gets the milestone rewards.- Parameters:
milestones- the milestones- Returns:
- the milestone rewards
-
getMonthlyAwardRewardsPath
-
getMonthlyPossibleRewardPlaces
Gets the monthly possible reward places.- Returns:
- the monthly possible reward places
-
getVotePartyIncreaseVotesRequiredWithTypo
public int getVotePartyIncreaseVotesRequiredWithTypo() -
getVoteStreakRewardEnabled
-
getVoteStreakRewardsPath
-
getVoteStreakVotes
-
getWeeklyAwardRewardsPath
-
loadValues
public void loadValues()- Overrides:
loadValuesin classcom.bencodez.simpleapi.file.YMLFile
-
onFileCreation
public void onFileCreation()- Specified by:
onFileCreationin classcom.bencodez.simpleapi.file.YMLFile
-
removeCumulative
-
removeMilestone
-
setCumulative
public void setCumulative(int intValue) -
setMilestone
public void setMilestone(int intValue) -
getAllSitesRewardPath
-
getAlmostAllSitesRewardPath
-
getAnySiteRewardsPath
-
isEnableDailyRewards
public boolean isEnableDailyRewards() -
isEnableMonthlyAwards
public boolean isEnableMonthlyAwards() -
isEnableWeeklyAwards
public boolean isEnableWeeklyAwards() -
isOnlyOneCumulative
public boolean isOnlyOneCumulative() -
getFirstVoteRewardsPath
-
getFirstVoteTodayRewardsPath
-
isVotePartyGiveOnlinePlayersOnly
public boolean isVotePartyGiveOnlinePlayersOnly() -
isVotePartyResetCount
public boolean isVotePartyResetCount() -
isVotePartyResetExtraVotesMonthly
public boolean isVotePartyResetExtraVotesMonthly() -
isVotePartyResetExtraVotesWeekly
public boolean isVotePartyResetExtraVotesWeekly() -
getVotePartyVoteReminderBroadcast
-
getVotePartyVoteReminderAtVotes
-
getVotePartyGlobalRandomCommand
-
getVotePartyRewardsPath
-
getVoteStreakRequirementDay
public double getVoteStreakRequirementDay() -
getVoteStreakRequirementMonth
public double getVoteStreakRequirementMonth() -
isVoteStreakRequirementUsePercentage
public boolean isVoteStreakRequirementUsePercentage() -
getVoteStreakRequirementWeek
public double getVoteStreakRequirementWeek() -
getCumulativeVotes
-
getDailyPossibleRewardPlaces
-
getMilestoneVotes
-
isResetMilestonesMonthly
public boolean isResetMilestonesMonthly() -
getVotePartyBroadcast
-
getVotePartyGlobalCommands
-
isVotePartyCountFakeVotes
public boolean isVotePartyCountFakeVotes() -
isVotePartyCountOfflineVotes
public boolean isVotePartyCountOfflineVotes() -
isVotePartyEnabled
public boolean isVotePartyEnabled() -
isVotePartyGiveAllPlayers
public boolean isVotePartyGiveAllPlayers() -
getVotePartyIncreaseVotesRquired
Deprecated. -
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
-