description |
---|
Developer Information for VoteParty. |
Inside of VoteParty, we offer a custom event that is listened to inside the plugin to give out rewards. This allows plugins to hook into it and also give extra rewards or modify to what they see fit.
/**
* This event takes place when a hooked plugin receives a vote
* @param player The player that voted
*/
public VoteReceivedEvent(OfflinePlayer player Vote vote) {
this.player = player;
this.vote = vote;
}
/**
* This event takes place when a party is preparing to start
*/
public PrePartyEvent() {
}
/**
* This event takes place when a party is starting
*/
public PartyStartEvent() {
}
/**
* This event takes place when a party is finished
*/
public PartyEndEvent() {
}