1

Fetching Voting data from minecraft server?

Izyk 1/28/24 6:07 pm history
408
2/3/2024 7:13 pm
I am currently in the middle of making a minecraft site for someone and I was wonding if there was an API to use to fetch voter data from a minecraft server. I haven't used any minecraft API's before. Do I need access to the server files? Or do I fetch the data from the various sites the server is registered on?
Posted by
Izyk
Level 1 : New Miner
1

  Have something to say?

JoinSign in

5

niicespiice
02/03/2024 5:11 pm
They/Them • Level 19 : Journeyman Skinner Architect
voting isn't stored on the server, though, is it? it's stored on the voting websites' servers. so i think you'd need to fetch the data from that somehow. idk how though, i'm not great at programming - especially not in these kinds of areas.
2
Izyk
02/03/2024 7:13 pm
Level 1 : New Miner
history
on some servers like the one I'm making a site for you can do /topvote and it will show you the top voters. So i'm guessing that this server in particular is storing it's voting data locally. Most likely each player just has their own profile that stores all their information. I'm not to sure however, i've never owned a minecraft server.



I have tried to do some experimenting and pull voting data from different sites but I haven't had any luck As far as I know there really isn't a public API for this and I haven't had the chance to get access to the server files so I don't know for sure.
1
JeremyMilam1
01/29/2024 12:02 am
Level 49 : Master Server owner Cowboy
I haven't seen a working API since Enjin shut down on places that don't have their own full custom HTML/JavaScript developers.
2
Izyk
01/30/2024 3:34 pm
Level 1 : New Miner
history
ah damn well thanks. Guess I'll just have to try and make some custom API. You wouldn't know of any good forum threads of how to work with a minecraft server?
1
JeremyMilam1
01/30/2024 6:34 pm
Level 49 : Master Server owner Cowboy
I'm sorry, I don't. You're probably going to have to tie it into votifier though since that's where all of your voting results are going to come back to. I believe the information would be stored server-side so it would just be a matter of fetching and displaying that data.
2

Welcome