blockGJUser20.php
Blocks a user.
Parameters
| Parameter | Explanation | Required |
|---|---|---|
accountID | The player's account ID (not to be confused with user ID). Used for authorization | Yes |
gjp2 | The player's account password, encoded with GJP2. Used for authorization | Yes |
targetAccountID | The account ID of the person being blocked | Yes |
secret | Common Secret: Wmfd2893gb7 | Yes |
gameVersion | A number representing the game's version. The current value is 22 for 2.2 | |
binaryVersion | A number representing the game's small version. The current value is 47 for 2.2081 on PC and 48 for 2.208 on mobile | |
udid | The player's UDID (Unique Device Identifier). Used to identify unregistered users | |
uuid | In modern versions, this is sent as the user ID. See the previous format here | |
dvs | A number added in 2.208 representing the device the player is using. Corresponds to the Cocos2d CC_TARGET_PLATFORM macro: 1 for iOS, 2 for Android, 3 for Windows, 8 for macOS |
Response
Always returns 1, regardless of if the target account exists or not.
Example
Python
py
import requests
# With this code, DevExit is blocking RobTop
data = {
"accountID": 173831, # DevExit's account ID
"gjp2": "********", # This would be DevExit's password encoded with GJP2 encryption
"targetAccountID": 71, # Robtop's account ID
"secret": "Wmfd2893gb7"
}
req = requests.post("https://www.boomlings.com/database/blockGJUser20.php", data=data)
print(req.text)Response
py
1