Skip to content

Placeholders and Offline VoteParty Rewards #665

Description

@xFrann

Versions
Plugin version: 5.20.4 running on paper-187 (1.14.4)

Describe the bug
About the placeholders, the one listed on PlaceholdersAPI for the top votes works only for names and not amount of votes, also the placeholder i was given in the review section returns blank as well.

To Reproduce
No errors whatsoever in console.
Expected behavior
Second bug is about the VoteParty giving players who were offline rewards even if they voted or not by enabling the setting GiveAllPlayers: true.
I'd want to give rewards to all players (either they voted or not) but only when they are online, and i can't quite seem to understand how i would be able to do that as the FaQ or Wiki section doesn't help much.

Screenshots/Configs
VoteParty Configuration:
VoteParty:

Wether or not vote party is enabled

Enabled: true

Number of votes required to give rewards

VotesRequired: 5

Increase the amount of votes required on each vote party reached

#IncreaseVotesRquired: 10

If true, players who did not vote to reach the votes required will

recieve the reward

GiveAllPlayers: true

If true, the vote count will reset each day

ResetEachDay: false

Reset at the end of the month

ResetMonthly: false

Count votes from /av vote?

CountFakeVotes: true

Number of user votes that apply to vote party total the user needs to get rewards

UserVotesRequired: 0

Broadcast when vote party reached

Broadcast: '&cReached the vote party amount!'

List of commands to execute, these only execute once.

%player% does not work here

Commands: []

Rewards to give per player

Rewards:
Commands:
- fly %player% add 5m

Additional context
Add any other context about the problem here.
image
this is the screenshot to the result of the placeholder given by the dev, the ones listed on the placeholderapi github page returns the name of the top player.
Help lmao thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Possible BugSomething which could be a possible bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions