-
Notifications
You must be signed in to change notification settings - Fork 2
05. Conditions
Ad shown: True if the last call to ads displayed ads
Is ad showing: True if ads are currently showing
On ad complete: Triggered when ads displaying is over
On ad show: Triggered when ads start displaying
On device motion: Triggered when a given device moves
Is premium (deviceId): True if the specified deviceId is a premium user
Is user logged in (deviceId): True if the specified deviceId is logged in
On custom device state change: Triggered when a device updates it's custom device state
On device profile change: Triggered when a device updates it's profile picture, nickname or email
On highscores stored: Triggered when highscores storing is done server side
On receiving highscores: Triggered when receiving highscores from server
Is multipart message: True if the last message received is multipart, meaning it has more than one property
On message: Triggered when getting a message
On message from (deviceId): Triggered when getting a message from the specified deviceId
On message from is (propertyName, propertyValue, deviceId): Triggered when getting a message with propertyName = propertyValue from the specified deviceId
On message has property (propertyName): Triggered when getting a message that has the specified property set
On message is (propertyName, propertyValue): Triggered when getting a message with propertyName = propertyValue
On persistent data loaded: Triggered when persistent data are loaded
On persistent data stored: Triggered when persistent data are stored server side
Is plugin offline: True if the plugin loaded as offline. Maybe soon deprecated! As of version 1.7.0.1 of no use as the API is provided in the plugin
On connect: Triggered when a device connects
On device disconnect (deviceId): Triggered when deviceId disconnects
On disconnect: Triggered when any device disconnect
On premium connect: Triggered when a premium user connects
On too many players: Triggered when a device connects and the plugin property "Max player" is reached
On mute: Triggered when the game asks to mute
On unmute: Triggered when the game asks to unmute
On pause: Triggered when the game asks to pause
On resume: Triggered when the game asks to resume
Is controller: True if the plugin property "Is controller" is enabled