Skip to content

updateGJAccSettings20.php

Updates a user's account settings

Parameters

ParameterExplanationRequired
accountIDThe accountID of the user whose account is being updatedYes
gjp2The GJP2 of the user whose account is being updatedYes
secretAccount Secret: Wmfv3899gc9Yes
mSWho the user allows messages from: 0 for anyone, 1 for just friends, and 2 for no one
frSWho the user allows friend requests from: 0 for anyone, and 1 for no one
cSWho the user allows to view their comments: 0 for anyone, 1 for just friends, and 2 for only themselves
ytThe end of the link to the user's youtube channel, after the /channel/. e.g. UCZoN2WLAooS6uhREa9Cgpwg
twitterThe user's twitter handle
twitchThe user's twitch username
instagramThe user's Instagram username
tiktokThe user's TikTok handle
discordThe user's Discord handle
customThe user's custom one-time authentication token

Response

1 if the required parameters are passed, regardless of whether anything is being updated, -1 otherwise.

Example

Python

py
import requests

data = {
    "accountID": 173831, # DevExit's account ID
    "gjp2": "********", # This would be DevExit's password encoded with GJP2 encryption
    "secret": "Wmfv3899gc9",
    "mS": 0,
    "frS": 0,
    "cS": 0,
    "yt": "UCZoN2WLAooS6uhREa9Cgpwg",
    "twitter": "DevExit",
    "twitch": "devexit",
    "instagram": "devexit",
    "tiktok": "",
    "discord": "devexit",
    "custom": "Custom123"
}

req = requests.post('https://www.boomlings.com/database/updateGJAccSettings20.php', data=data)
print(req.text)

Response

py
1