MCWebIntegration
http://
:
Web API: Common
- If the specified UUID is invalid, endpoints return
invalid_uuid
. - If the specified player is not found, endpoints return
not_found
.
Player online status
/online/
Return whether the specified player is online. (true
orfalse
)
Timestamp
/last/
Return the specified player's last online timestamp in unixtime./first/
Return the specified player's the first joined timestamp in unixtime.
Group
/group/
Return the most important user group to which the specified player belongs.
(e.g. If user belongs 2 group:["default", "staff"]
, the result will bestaff
.)/groups/
Return all groups to which the specified player belongs.
(e.g. If user belongs 2 group:["default", "staff"]
, the result will be["default", "staff"]
.)
Setup
Prerequisites
- Working MySQL server
- LuckPerms 5.x
Step-by-step
- Copy and paste the plugin jar file into plugins/
- Create database for this plugin.
- Run the server and ignore the error if exists, then stop the server.
- Edit
config.yml
as you like. - Run the server again.
License
This repository is licensed under the MIT License.