-
Notifications
You must be signed in to change notification settings - Fork 0
Example Requests
Max Walsch edited this page Dec 24, 2015
·
1 revision
Just write this one on the queue on which the module lib/api/hypixel.js
listens (default: requests_hypixel
).
{
"method": "friends",
"parameters": {
"uuid": "952d258fc0fa49df844e745131367a98"
},
"respond": "responses_hypixel"
}
This will request the friend list of the player with the unique id 952d258fc0fa49df844e745131367a98
(RFC 4122 compliant UUIDs won't work) and writes the result on the queue responses_hypixel
.
Just write this one on the queue on which the module lib/api/minecraft-uuid.js
listens (default: requests_mojang_uuid
).
{
"uuid": "952d258fc0fa49df844e745131367a98",
"respond": "responses_mojang_uuid"
}
This will request the player profile for the unique id 952d258fc0fa49df844e745131367a98
(RFC 4122 compliant UUIDs won't work) and writes the result on the queue responses_mojang_uuid
.