skRayFall

skRayFall

297k Downloads

Not save votes

melinstagibson opened this issue ยท 2 comments

commented

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.

commented

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 :/

commented

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.