Skip to content

How do I give a reward for every vote, different rewards for each rank? #824

@vastolf

Description

@vastolf

Versions
Latest plugin & Paper-Spigot (new server)

Relevant information
Configs that relate to the issue in a pastebin.

Context
I am switching from SuperBVote. SuperBVote allows me to give a reward for each individual vote that a player makes. I would like to retain this functionality. Here's a full idea of what I want:

  • Every time a player votes, they should instantly receive a reward (server should run commands I define)
  • The commands that are run for the Reward should depend on the player's rank so that I can give different ranks different rewards

I'm having a really hard time figuring out where I could possibly define something like this in the config. I've read the documentation extensively but there aren't really any examples that seem to do what I want (I may be mistaken)

Could you point me in the direction of which area of Config I'd have to edit (do I edit the Config.yml, if so where in the Config.yml). And how to define a rewards structure that works as I've described. Thank you so much for your time! Really appreciate it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Question/ConcernSome question/concernstaleNo activity for a certain amount of time

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions