warzonemc / tgm-api Goto Github PK
View Code? Open in Web Editor NEWTGM's HTTP API
Home Page: https://api.warzone.network
TGM's HTTP API
Home Page: https://api.warzone.network
Right now the server is calculating the XP based on the player's stats, it should probably be changed to just instead storing the player's XP in the database.
Post messages through Discord webhooks for:
Currently, the punishments route does not return punisher's name
but instead a uuid
representing the staff member responsible. For certain integrations this should either return the responsible punisher's name
or an amended lookup endpoint that can return player info (including an IGN) of a provided player uuid be created.
In efforts to be consistent with a single naming convention, some fields need to be renamed
wool_destroys
-> monumentDestroys
wool_pickups
-> woolPickups
wool_placements
-> woolPlacements
These should ideally be eventually moved into gamemode specific stat sections, along the lines of:
{
"name": "Notch",
"kills": 100,
"deaths": 38579,
...
"gamemodes": {
"DTM": {
"monumentDestroys": 15
},
"CTW": {
"woolPickups": 24,
"woolPlacements": 9,
},
...
}
}
Endpoint to calculate the amount of
Describe the feature you'd like
When a rank is removed, all the players which had that rank previously should lose the rank id in their ranks list.
Usefulness of the feature
Redundant rank ids of deleted ranks wouldn't be in the player's rank list anymore.
Additional context
I'm not sure if this is a bug report or a feature request, so I decided to just put it as feature request.
Screenshots:
Player's rank list after adding a rank
https://api.warz.one/mc/player/mybeary?byUUID=false -> notFound: true
https://api.warz.one/mc/player/mybeary -> works as expected
(this is for all players, not just mybeary)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.