openplanet-MXRandom icon indicating copy to clipboard operation
openplanet-MXRandom copied to clipboard

Web leaderboard

Open The-Code-Monkey opened this issue 2 years ago • 9 comments

I made a website that currently shows the leaderboards for RMC and RMS. Is it possible that when a run finishes in the app you could call an api to get the current record for the gamemode they are playing and if they have more AT's than the current record then you could hit another of the apis to add the new record to the leaderboards?

The-Code-Monkey avatar May 11 '23 14:05 The-Code-Monkey

https://tms-leaderboards.vercel.app/ here is a link to the current app.

The-Code-Monkey avatar May 11 '23 15:05 The-Code-Monkey

I thank you for your interest in this website. But I am currently working with @Flink91 to create a database and to have the possibility to send automatically the results on it at the end of each run. We can however keep your website to have an interface that allows to see the ranking of the runs with a API backend that me and @Flink91 are working on

GreepTheSheep avatar May 11 '23 15:05 GreepTheSheep

Yeah that's fine with me, let me know if you need any help with the actual API. But yeah happy to keep the web interface going.

The-Code-Monkey avatar May 11 '23 16:05 The-Code-Monkey

Hey how are things going with the api?

The-Code-Monkey avatar Jun 13 '23 12:06 The-Code-Monkey

I've paused this because I'm actually focusing on RMT. Better wait at the moment :)

GreepTheSheep avatar Jun 13 '23 13:06 GreepTheSheep

If you two get something to work, go ahead. I wanted to work on this but am so busy IRL...

Flink91 avatar Aug 23 '23 11:08 Flink91

I do have a kinda api against my DB, I have been manually adding currently but i could open up an endpoint to post data to?

Unfortunately I couldn't add it into the plugin as I don't know the language.

Let me know.

Also @Flink91 no worries. life comes first always

The-Code-Monkey avatar Aug 23 '23 14:08 The-Code-Monkey

Yes that would be for @GreepTheSheep to do :)

Flink91 avatar Aug 23 '23 15:08 Flink91

Hey @The-Code-Monkey, i'm kinda busy with work atm 😅

It is possible to move into Discord since we'll talk about sensitive infos about player authentication and some more infos.

Here's my Discord server to join https://greep.fr/#/discord, then you can DM me on it.

Thanks :)

GreepTheSheep avatar Aug 24 '23 10:08 GreepTheSheep