Skip to content

adminGetUserHistory.php ​

WARNING

All info related to Admin endpoints should be used for development purposes only. Misuse of these has led to punishment in the past, so we do not recommend poking around.

Gets the punishment history of an account (Moderator Only).

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 *Common Secret: Wmfd2893gb7
targetAccountID *accountID of the user you want to see the history of
page *The page of actions you want to see
gameVersion aA number representing the game's version. The current value is 22 for 2.2
binaryVersion aA number representing the game's small version. The current value is 51 for 2.209 on PC and mobile
udid aThe player's UDID (Unique Device Identifier). Used to identify unregistered users
uuid aThe player's user ID. See the previous format here
dvs aA number representing the OS platform 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 ​

Returns a list of Admin User Log Objects separated by a pipe |, followed by a # and page info in the following format: total:offset:page_size

Example ​

Python ​

py
import requests

# With this code, DevExit is viewing the action log of his own account (this would not work in-game without Moderator credentials and is just an example)

data = {
    "accountID": 173831, # DevExit's account ID
    "gjp2": "********", # This would be DevExit's password encoded with GJP2 encryption
    "page": 0,
    "targetAccountID": 173831, # DevExit's account ID
    "secret": "Wmfd2893gb7"
}

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

Response

plain
comment_ban:temp:60:0:RXhhbXBsZSByZWFzb24=:RXhhbXBsZU1vZA==:1730000000:5: