Class SpecialRewards
java.lang.Object
com.bencodez.votingplugin.specialrewards.SpecialRewards
The Class OtherVoteReward.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bungeeAllSitesCheck
(VotingPluginUser user, int numberOfVotes, int num) boolean
checkAllSites
(VotingPluginUser user, boolean forceBungee) boolean
checkAlmostAllSites
(VotingPluginUser user, boolean forceBungee) boolean
checkCumualativeVotes
(VotingPluginUser user, BungeeMessageData bungeeMessageData, boolean forceBungee) boolean
checkFirstVote
(VotingPluginUser user, boolean forceBungee) boolean
checkFirstVoteToday
(VotingPluginUser user, boolean forceBungee) boolean
checkMilestone
(VotingPluginUser user, BungeeMessageData bungeeMessageData, boolean forceBungee) boolean
checkVoteStreak
(VotingPluginUser user, String type, boolean forceBungee) void
giveAllSitesRewards
(VotingPluginUser user, boolean online, boolean forceBungee) void
giveAlmostAllSitesRewards
(VotingPluginUser user, boolean online, boolean forceBungee) void
giveCumulativeVoteReward
(VotingPluginUser user, boolean online, int cumulative, boolean forceBungee) void
giveFirstVoteRewards
(VotingPluginUser user, boolean online, boolean forceBungee) void
giveFirstVoteTodayRewards
(VotingPluginUser user, boolean online, boolean forceBungee) void
giveMilestoneVoteReward
(VotingPluginUser user, boolean online, int milestone, boolean forceBungee) void
giveVoteStreakReward
(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)
-