Plugin : Single login
Author:Rex.Rainbow
- Test if user account had been logined on one client only.
Download
Properties
Domain
- The root location of the Firebase data.
Sub domain
- Sub domain for this function.
Kick mode
- Choose the kicking action while multiple login.
- Options : ["Do nothing","Kick previous","Kick current"]
Actions
Domain
Action:Set domain
- Set domain ref.
- Domain ( string ) : The root location of the Firebase data.
- Sub domain ( string ) : Sub domain for this function.
General
Action:Logging out
Kick
Action:Kick by index
- Kick login by index.
- Index ( number ) : Index in login list.
Login
Action:Login
- Login.
- UserID ( string ) : User ID.
Expressions
Multiple login
Expression:LoginCount
- Get the current login cout.
Multiple login - for each
Expression:CurLoginIndex
- Get the current login index in a For Each loop.
Expression:CurLoginTimestamp
- Get the current login timestamp in a For Each loop.
Conditions
Login
Condition:On success
- Triggered when single login success.
Condition:On error
- Triggered when single login error.
Multiple login
Condition:On kicked
- Triggered when kicked by multiple login.
Condition:On login list changed
- Triggered when login list changed.
Multiple login - for each
Condition:For each login
- Repeat the event for each login.