Set Active Civilian
This endpoint allows you to set the active civilian for a user in their civilian panel.
This endpoint has NOT been added as a in-game export yet.
This endpoint requires an Advanced ImperialCAD subscription or higher.
setActiveCivilian(data, callback)
POST https://imperialcad.app/api/1.1/wf/setActiveCivilian
Request Body
Name
Type
Description
commId
string
Your Community ID
users_discordID
string
Target users discord ID
ssn
string
Target civilian profile
exports["ImperialCAD"]:setActiveCivilian({
"commId": "1752961351157x732778435805184000",
"users_discordID": "601892764086435851",
"ssn": "890833813"
}, function(success, data)
if success then print(json.encode(data)) else print("Failed:", data) end
end){
"status": "success",
"response": {
"Char Name": "John Doe"
}
}Last updated
Was this helpful?