A list of all Actions, Conditions and Expressions supported in this addon.
accounts
-
Actions
Get authentication token
Fetch a short-lived JWT token for the current user. The token expires in 1 minute.
Prompt user login
Prompt the user to log in. If the user logs in, the page will refresh. If already logged in, resolves immediately.
-
Conditions
User is logged in
Check if a user is currently logged in
On get token
Triggered when a JWT token has been successfully fetched
On login failed
Triggered when login fails (user closed auth panel or login timed out)
On user changed
Triggered when the user state changes (after loading or after login)
-
Expressions
AvatarUrl
The avatar URL of the currently logged-in user
Token
The last fetched JWT authentication token
Username
The username of the currently logged-in user
ads
-
Actions
Request interstitial ad {0}
Request an interstitial ad
Request {1} rewarded ad {0}
Request a rewarded ad
-
Conditions
Last Rewarded Success
Last Rewarded Success
On Interstitial {0} Complete
Triggered when an interstitial ad is completed
On Rewarded {0} Complete
Triggered when a rewarded ad is completed
-
Expressions
LastAdTag
Last Ad Tag
LastRewardedSuccess
Last Rewarded Success
analytics
-
Actions
Send Analytics Event {0}, {1}, {2}
Send an analytics event
gameplay
-
Actions
Gameplay Start
Notify the SDK that the gameplay has started
Gameplay Stop
Notify the SDK that the gameplay has stopped
Loading End
Manually notify the SDK that the game has finished loading
misc
-
Actions
Get shareable URL with params {0}
Generate a shareable Poki URL with custom parameters. Parameters are passed as a JSON string.
Move pill {0}% from top + {1}px
Reposition the Poki Pill on mobile. topPercent (0-50) sets vertical position as percentage from top, topPx is additional pixel offset (positive moves down, negative moves up)
Open external link {0}
Open an external link using Poki's openExternalLink API
Submit score {0} with value {1}
Submit a score using Poki's submitScore API
-
Conditions
SDK is enabled
Check if the SDK is enabled
SDK is loaded
Check if the SDK is loaded
On shareable URL generated
Triggered when a shareable URL has been generated
-
Expressions
ShareableURL
The last generated shareable URL
URLParam
Get a URL parameter value by name