skRayFall icon indicating copy to clipboard operation
skRayFall copied to clipboard

Not save votes

Open melinstagibson opened this issue 7 years ago • 2 comments

Is there any way to NOT save votes? im using it on my bungee network and i cant use it if the player gets rewarded on every server for every vote.

melinstagibson avatar Dec 04 '16 20:12 melinstagibson

If you use the

[on] [raw] vote receive[d]

syntax, it will not save the vote. Then afterwards just dont use the vote or offline vote syntax elements.

eyesniper2 avatar Dec 04 '16 20:12 eyesniper2

oh, now i figured how to use it. so there is no offline player in this event, just and event-text?

im trying to rewrite my vote skript now but keep bumping into the issue that i cant substitute player with event-text in the uuid syntax. any ideas how to get past this?

on vote: execute console command "/scoreboard players add %player% votes 1" if player is online: add 1 to {votes::%uuid of player%}

works, while this wont on raw vote received: execute console command "/scoreboard players add %event-string% votes 1" add 1 to {votes::%uuid of event-string%}

setting it to a variable parse as player wont work either :/

melinstagibson avatar Dec 05 '16 03:12 melinstagibson