Skip to content

PAPI Placeholders are parsed against the viewer instead of the voter #1521

@t347549

Description

@t347549

Versions
VotingPlugin 7.1 and PaperMC 26.1.2

Describe the bug
PlaceholderAPI placeholders work in configs but are parsed against the viewer rather than the voter

To Reproduce
Steps to reproduce the behavior:

  1. Go to Config.yml
  2. Change %player% to your nickname placeholder
  3. /testvote (username)
  4. All players will see their own name in the "voted" message instead of the voter

Expected behavior
Placeholders (for vote messages at least) should be parsed against the voter, not the viewer.

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