HyperScript
Docs

← All of the Docs HyperVotes

Testing and resetting HyperVotes

effectadd test vote for <who>HyperVotes

A vote that did not come from a site, counted and rewarded like a real one. For trying a script out

add test vote for player from "TestSite"
effectadd test vote for <who> from <site>HyperVotes

The same, as if from that site

add test vote for player from "TestSite"
effectreset votes of <who>HyperVotes

Forget one player's votes and streak

reset votes of arg.1
effectreset all votesHyperVotes

Forget everybody's, for a new season

reset all votes
Guide and examples
command /testvote:
    permission: "votes.admin"
    players only: true
    trigger:
        add test vote for player from "TestSite"

command /resetvotes <player>:
    permission: "votes.admin"
    trigger:
        reset votes of arg.1
        send "&aThe votes of %arg.1% were reset."

command /newvoteseason:
    permission: "votes.admin"
    trigger:
        reset all votes
        broadcast "&eA new voting season has begun."
SyntaxEffect
add test vote for <who>A vote that did not come from a site, counted and rewarded like a real one. For trying a script out
add test vote for <who> from <site>The same, as if from that site
reset votes of <who>Forget one player's votes and streak
reset all votesForget everybody's, for a new season