Mester-Ulquiorra / web

The frontend of the Ulquiorra UCP (User Control Panel). This does not contain the backend API!
https://ucp.mester.info
BSD Zero Clause License
1 stars 0 forks source link

Profile information page #15

Open MesterMan03 opened 1 year ago

MesterMan03 commented 1 year ago

Goal: Have a page which provides extensive information about a user's profile.

Information types:

1 The moderator level is an integer between -1 and 6, -1 = test mod, 0 = no mod, 1-3 = mod, 4 = head mod, 5 = admin, 6 = owner. 2 The xp multiplier is calculated using the 1 + (total invited users * 0.03) formula.

All API updates will be posted here

MesterMan03 commented 1 year ago

API update:

New route: /user/profile Return object:

This is just an experiment version, more data is coming later!

Note: Because the rank card is basically just HTML, it might be a good idea to render that as an iFrame so it could be the same as the Discord bot. If you like that idea, I'll send you a modified version of the rank card, which had to be modified because some of the ratios weren't right in the first version