Skip to content

updateGJAccSettings20.php ​

Updates a user's account settings

Parameters ​

ParameterExplanation
accountID *The player's account ID (not to be confused with user ID). Used for authorization
gjp2 *The player's account password, encoded with GJP2. Used for authorization
secret *Account Secret: Wmfv3899gc9
mS aWho the user allows messages from: 0 for anyone, 1 for just friends, and 2 for no one
frS aWho the user allows friend requests from: 0 for anyone, 1 for no one, 2 for anyone + they can include a message
cS aWho the user allows to view their comments: 0 for anyone, 1 for just friends, and 2 for only themselves
gFWho the user allows group chat invites from: 0 for anyone, 1 for friends, and 2 for no one
gOUnknown, sent as 2
yt aThe end of the link to the user's youtube channel, after the /channel/. e.g. UCZoN2WLAooS6uhREa9Cgpwg
twitter aThe user's twitter handle
twitch aThe user's twitch username
instagram aThe user's Instagram username
tiktok aThe user's TikTok handle
discord aThe user's Discord handle
custom aThe 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