VoteReward (WITHOUT Votereward plugin)

First you need to create an account on:
http://minecraftpocket-servers.com
You also need to register your server there.

When you registered your server you will see an API Key.
That API is VERY important!

Okay lets start with the command:
first:

/cmd create vote [Claim your vote reward]

Then:
This will check if you voted.

/cmd add vote let %url%[] = \"https://minecraftpocket-servers.com/api/?object=votes&element=claim&key={API-KEY}&username=\"

Replace {API-KEY} with your API key

/cmd add vote let %url%[] = %p%
/cmd add vote let %api1% = join(%url%, \"\")
/cmd add vote let %response% = geturl(%api1%)

/cmd add vote if %response% = 1 then goto 100
/cmd add vote if %response% = 0 then message %p% You didn't vote today!
/cmd add vote if %response% = 2 then message %p% You already claimed your reward!
/cmd add vote exit

Now the most important part!
This will set your reward as claimed for today.
And again Replace {API-KEY} with your API key

/cmd insert vote 100 vote let %url2%[] = \"https://minecraftpocket-servers.com/api/?action=post&object=votes&element=claim&key={API-KEY}&username=\"

/cmd add vote let %url2%[] = %p%
/cmd add vote let %api2% = join(%url2%, \"\")
/cmd add vote let %response% = geturl(%api2%)

Now just the reward.

/cmd add vote message onlineplayers() %p% voted for us!
/cmd add vote ascon /give %p% steak 10

I hope you like my tutorial!
Because this command is a very complicated one.😅

twitter: @datalion_
Mail: [email protected]



Any problems?
Feel free to contact us on: http://support.leet.cc

@datalion Am I the first one that made a tutorial on the LEET forums with the function: geturl🤔😍😂

twitter: @datalion_
Mail: [email protected]



Any problems?
Feel free to contact us on: http://support.leet.cc

@datalion

  1. GREAT tutorial, I will for sure use it and
  2. Why did u tag/talk to your self xD

- LEET Customer Respresentative
NEED Help ? --> http://support.leet.cc/
YouTube: Poly BossX
alt text

@polybossx Because I am crazy

twitter: @datalion_
Mail: [email protected]



Any problems?
Feel free to contact us on: http://support.leet.cc

Great job Data :D

I knew that the geturl thing was of some use

Think you could make it so someone donates and they get a rank automatically?

Making no sense since 2002™

IGN/Gamertag: JaxThePerson
Discord: JaxThePerson#8819

I own a server named OzoneHaven! Join it at ozonehaven.us.to: 39177.
Vote: http://bit.do/ozonevote
Forum: http://bit.do/ozoneforum
Discord: https://discord.gg/Une7Xrs

Should I get the plugin or use this? Which voting system would be better?

| RvB Network | New server in the works |
Looking for staff and test runners

Founders: ✓
Admin/Devs: ✘
Moderator: ✘
Builders: ✘
Test runners: (0/12)

If there is an ✘ that means we have not currently found someone, if interested please DM :)

-SD1
*Since APR 21 I use -SD1 so you know its me.

@datalion Nice job!
But I still don’t get how it works xD

Hello Fello Earthlings 😁 Have a wonderful day

Seems legit ;) good work mate

ur meme collection is a spec in my gallery

Could I replace the url of that voting site with one that doesn’t support PocketVote and it would work?

Making no sense since 2002™

IGN/Gamertag: JaxThePerson
Discord: JaxThePerson#8819

I own a server named OzoneHaven! Join it at ozonehaven.us.to: 39177.
Vote: http://bit.do/ozonevote
Forum: http://bit.do/ozoneforum
Discord: https://discord.gg/Une7Xrs

@jaxtheperson said in VoteReward (WITHOUT Votereward plugin):

Could I replace the url of that voting site with one that doesn’t support PocketVote and it would work?

Most likely not as the api key is for pocketvote

@datalion wow this is awesome! Good job! I definitely may use this.

Join this Amazingly Fun Discord ~Caketropolis~ https://discord.gg/V73eTwK

alt_text

@jaxtheperson it is possible but not with buycraft i think :)

Staff on the Jg-Server, and the sun
-lid of The JG-Network community
-jgserver.factions.pe:37050
-b31074.leet.cc:31074
(The sun coming coon)

@datalion you made a mistake at the insert line 100 /cmd insert vote 100 vote ;)

Staff on the Jg-Server, and the sun
-lid of The JG-Network community
-jgserver.factions.pe:37050
-b31074.leet.cc:31074
(The sun coming coon)

Log in to reply

Looks like your connection to LEET Forums was lost, please wait while we try to reconnect.