API Functions
Listed here are all API functions, along with instructions on how to use them.
Open Door
API.Doors.Open:Fire(Door)
Opens the CheckMeIn door specified.
Arguments
Door
Type: Door Model
Checked In
API.Service.CheckedIn.Event:Connect(function(Employee, Player, Door)
This event fires when a user is checked in.
Return Values
Employee
Type: Variable (Player, string or nil)
Player
Type: Player
Door
Type: Door Model
Checked Out
API.Service.CheckedOut.Event:Connect(function(Employee, Player, Door)
This event fires when a user is checked out.
Return Values
Employee
Type: Variable (Player, string or nil)
Player
Type: Player
Door
Type: Door Model
Force Check In
API.Service.ForceCheckIn:Fire(Player, RoomType)
Forcefully checks specified player into specified RoomType. Ignores game pass requirements.
Arguments
Player
Type: Player
RoomType
Type: String (must be a valid room type, case sensitive)
Force Check Out
API.Service.ForceCheckOut:Fire(Player)
Forcefully checks out specified player.
Arguments
Player
Type: Player
ExceededLimit
API.Service.ExceededLimit.Event:Connect(function(Player)
This event fires when Player is spamming remote events. Exact configuration of the Cooldown system can be found here.
Return Values
Player
Type: Player
Get Points
API.Web.GetPoints:Invoke(userId)
Returns Points value of specified player.
Arguments
userId
Type: UserId
Return Values
Points
Type: Integer (amount of points player has)
Reward Points
API.Web.RewardPoints:Fire(userId, amount)
Awards points to specified player.
Arguments
userId
Type: UserId
amount
Type: Integer
Set Points
API.Web.SetPoints:Fire(userId, amount)
Sets the Points value of the specified player.
SetPoints will overwrite any existing data. Please be careful with this command.
Arguments
userId
Type: UserId
amount
Type: Integer
Get Tutorial State
API.Web.GetTutorialState(Player)
Gets tutorial state (whether the CheckMeIn tutorial was completed) for the specified Player.
Arguments
Player
Type: Player
Return Values
TutorialState
Type: Boolean
Webhook
Deprecated
API.Web.Webhook:Fire(Message)
Sends Message
to your Discord Webhook.
The Discord Webhook in CheckMeIn is deprecated and does not respect rate limits. Do not use this function to prevent your Discord account from being deleted.
Arguments
Message
Type: String
Last updated