Class SpecialRewards
java.lang.Object
com.bencodez.votingplugin.specialrewards.SpecialRewards
The Class OtherVoteReward.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbungeeAllSitesCheck(VotingPluginUser user, int numberOfVotes, int num) booleancheckAllSites(VotingPluginUser user, boolean forceBungee) booleancheckAlmostAllSites(VotingPluginUser user, boolean forceBungee) booleancheckCumualativeVotes(VotingPluginUser user, BungeeMessageData bungeeMessageData, boolean forceBungee) booleancheckFirstVote(VotingPluginUser user, boolean forceBungee) booleancheckFirstVoteToday(VotingPluginUser user, boolean forceBungee) booleancheckMilestone(VotingPluginUser user, BungeeMessageData bungeeMessageData, boolean forceBungee) booleancheckVoteStreak(VotingPluginUser user, String type, boolean forceBungee) voidgiveAllSitesRewards(VotingPluginUser user, boolean online, boolean forceBungee) voidgiveAlmostAllSitesRewards(VotingPluginUser user, boolean online, boolean forceBungee) voidgiveCumulativeVoteReward(VotingPluginUser user, boolean online, int cumulative, boolean forceBungee) voidgiveFirstVoteRewards(VotingPluginUser user, boolean online, boolean forceBungee) voidgiveFirstVoteTodayRewards(VotingPluginUser user, boolean online, boolean forceBungee) voidgiveMilestoneVoteReward(VotingPluginUser user, boolean online, int milestone, boolean forceBungee) voidgiveVoteStreakReward(VotingPluginUser user, boolean online, String type, String string, int votes, boolean forceBungee)
-
Constructor Details
-
SpecialRewards
-
-
Method Details
-
checkAllSites
-
bungeeAllSitesCheck
-
checkAlmostAllSites
-
checkCumualativeVotes
public boolean checkCumualativeVotes(VotingPluginUser user, BungeeMessageData bungeeMessageData, boolean forceBungee) -
checkFirstVote
-
checkFirstVoteToday
-
checkMilestone
public boolean checkMilestone(VotingPluginUser user, BungeeMessageData bungeeMessageData, boolean forceBungee) -
checkVoteStreak
-
giveAllSitesRewards
-
giveAlmostAllSitesRewards
-
giveCumulativeVoteReward
public void giveCumulativeVoteReward(VotingPluginUser user, boolean online, int cumulative, boolean forceBungee) -
giveFirstVoteRewards
-
giveFirstVoteTodayRewards
-
giveMilestoneVoteReward
public void giveMilestoneVoteReward(VotingPluginUser user, boolean online, int milestone, boolean forceBungee) -
giveVoteStreakReward
public void giveVoteStreakReward(VotingPluginUser user, boolean online, String type, String string, int votes, boolean forceBungee)
-