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
-
Method Summary
Modifier and TypeMethodDescriptiongetCumulativeBlackList
(int cumulative) boolean
getCumulativeRecurring
(int cumulative) boolean
getCumulativeRewardEnabled
(int cumulative) getCumulativeRewardsPath
(int cumulative) boolean
getCumulativeVotesInSameDay
(int cumulative) Deprecated.boolean
getCumulativeVotesInSameMonth
(int cumulative) Deprecated.boolean
getCumulativeVotesInSameWeek
(int cumulative) Deprecated.getCumulativeVotesTotal
(int cumulative) boolean
getMilestoneRewardEnabled
(int milestones) Gets the milestone reward enabled.getMilestoneRewardsPath
(int milestones) Gets the milestone rewards.Gets the monthly possible reward places.int
int
int
Deprecated.int
int
double
double
double
boolean
getVoteStreakRewardEnabled
(String type, String s) getVoteStreakRewardsPath
(String type, String string) getVoteStreakVotes
(String type) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
void
void
removeCumulative
(String votes) void
removeMilestone
(String votes) void
setCumulative
(int intValue) void
setMilestone
(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:
loadValues
in classcom.bencodez.simpleapi.file.YMLFile
-
onFileCreation
public void onFileCreation()- Specified by:
onFileCreation
in 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
-