๐Ÿ“ฆ GareArc / MyStatus

MyStatus is a REST plugin for PaperMC minecraft servers .

โ˜… 1 stars โ‘‚ 0 forks ๐Ÿ‘ 1 watching
๐Ÿ“ฅ Clone https://github.com/GareArc/MyStatus.git
HTTPS git clone https://github.com/GareArc/MyStatus.git
SSH git clone git@github.com:GareArc/MyStatus.git
CLI gh repo clone GareArc/MyStatus
Gare_TH Gare_TH now allow custom ChestShop info. added more options to toggle different functionalities. 17a9110 4 years ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ src
๐Ÿ“„ .gitignore
๐Ÿ“„ pom.xml
๐Ÿ“„ README.md
๐Ÿ“„ README.md

MyStatus

MyStatus is a REST plugin for PaperMC minecraft servers .

API List

  • /api is default path, you can change it in config.yml, as well as port.

- PAPI

1. Username is player name(ID).
2. The placeholder strings do not require %% symbols.
(For example, use /api/papi/server/server_tps to request %server_tps%.)

Method | API | Description :---|:---|:--- GET | /api/papi/server/{placeholder} | Get server info using placeholder. GET | /api/papi/player/{username}/{placeholder} | Get player info using placeholder with name. GET | /api/papi/player/uuid/{uuid}/{placeholder} | Get player info using placeholder with uuid.

Examples:
1. /api/papi/server/server_name => A Minecraft Server.
2. /api/papi/player/Gare_TH/player_name => Gare_TH
3. /api/papi/player/uuid/87143f9f-b764-47f7-b00b-4c96f65ee83a/player_name => Gare_TH

- Admin

1. Username is player name(ID).

Method | API | Description :---|:---|:--- GET | /api/admin/whitelist/{uuid} | Check if a player is in whitelist.\[True \ False\] POST | /api/admin/whitelist/{auth}/{username} | Add a player into whitelist. Authentication required.

Examples:
1. /api/admin/whitelist/87143f9f-b764-47f7-b00b-4c96f65ee83a => true
2. /api/admin/whitelist/33191dea-5750-4952-a09f-6e9bbe641d80 => false
3. /api/admin/whitelist/adminPass/KEKW => succeed
4. /api/admin/whitelist/adminPass/KEKW => Player already in whitelist