Skip to content

Latest commit

 

History

History
75 lines (56 loc) · 1.66 KB

File metadata and controls

75 lines (56 loc) · 1.66 KB

Fakeplex Banner

Spring Boot

API Reference

Player Login
URL
POST /api/server/login/${playerName}
Content-Type: application/json
Request Data
Parameter Type Description
name string Name of the player
realName string Real Name of the player
uuid string UUID of the player
accountId integer ID of the player
ip string IP Address of the player
Example
{
  "name": "KyleException",
  "realName": "KyleException",
  "uuid": "aa7e4742-979d-4bbd-a951-dcab1383aba4",
  "accountId": 1,
  "ip": "0.0.0.0"
}
Trigger Priority Ban
URL
POST /api/banner/trigger/${playerName}
Content-Type: application/json
Request Data
Parameter Type Description
target json Targets Information
cause string Cause of trigger
Example
{
  "target": {
    "name": "KyleException",
    "realName": "KyleException",
    "uuid": "aa7e4742-979d-4bbd-a951-dcab1383aba4",
    "accountId": 1,
    "ip": "0.0.0.0"
  },
  "cause": "JOIN_GAME"
}