KONE: CMI Integration

CheckMeIn integration to KONE Polaris is here!

KONE has partnered with CheckMeIn to seamlessly integrate both systems to create a new level of user experience and people flow

How to integrate:

For each of your POLARIS terminals replace the code in MAIN_CONFIG with this
local globalConfig = require(script.Parent.Parent.Parent.Parent.CONFIG)
local config = {
	["CREDITS_MSG"] = [[
		
		𝐓𝐡𝐢𝐬 𝐩𝐫𝐨𝐝𝐮𝐜𝐭 𝐢𝐬 𝐥𝐢𝐜𝐞𝐧𝐬𝐞𝐝 𝐮𝐧𝐝𝐞𝐫 𝐊𝐎𝐍𝐄 𝐍𝐨𝐫𝐭𝐡 𝐀𝐦𝐞𝐫𝐢𝐜𝐚 (https://www.roblox.com/My/Groups.aspx?gid=3606729)
		
		𝐎𝐫𝐢𝐠𝐢𝐧𝐚𝐥 𝐌𝐨𝐝𝐞𝐥: KONE POLARIS
		
		𝐂𝐫𝐞𝐝𝐢𝐭𝐬:
		Triangulr (32757211) - Main Development
		
		𝐍𝐨𝐭𝐞: Taking any components from the model for third-party use is prohibited, 
		and will result in a 𝐩𝐞𝐫𝐦𝐚𝐧𝐞𝐧𝐭 𝐛𝐥𝐚𝐜𝐤𝐥𝐢𝐬𝐭!
		
		𝘋𝘖-𝘕𝘖𝘛-𝘌𝘋𝘐𝘛
		
	]],
	["MAIN_MODEL"] = script.Parent.MAIN:FindFirstChild("MAIN_PANEL"),
	["COMMUNICATION_EVENT"] = script.Parent.Parent.Parent.Parent:FindFirstChild("API"),
	["ELEV_LOCATIONS"] = {
		["A"] = "L"
		-- FORMAT: ["ELEVATOR LETTER"] = "POSITIONING"
		
		-- L: Left
		-- R: Right
		-- BL: Behind, Left
		-- BR: Behind, Right
		-- FL: Front, Left
		-- FR: Front, Right
	},
	
	["MAIN_LAYOUT_STYLE"] = globalConfig["MAIN_LAYOUT_STYLE"],
	["FLOOR"] = tonumber(script.Parent.Parent.Name:sub(1)),
	["PRIMARY_FLOOR"] = globalConfig["PRIMARY_FLOOR"],
	["FLOOR_TOTAL"] = globalConfig["FLOOR_TOTAL"],
	["FLOOR_GROUPS"] = globalConfig["FLOOR_GROUPS"],
	["LOCKING_PROFILE"] = globalConfig["LOCKING_PROFILE"],
	["CHECKMEIN_FLOOR_PROFILE"] = globalConfig["CHECKMEIN_FLOOR_PROFILE"],
	["FLOOR_LABEL_OVERRIDE"] = globalConfig["FLOOR_LABEL_OVERRIDE"],
	["MAIN_TITLE_OVERRIDE"] = globalConfig["MAIN_TITLE_OVERRIDE"],
	["CUSTOM_CANVAS_SIZE"] = globalConfig["CUSTOM_CANVAS_SIZE"],
	["GRANTED"] = {
		["COLOR"] = Color3.fromRGB(170, 255, 0),
		["MATERIAL"] = Enum.Material.Neon,
	},
	["DENIED"] = {
		["COLOR"] = Color3.fromRGB(196, 40, 28),
		["MATERIAL"] = Enum.Material.Neon,
	},
	["IDLE"] = {
		["COLOR"] = Color3.fromRGB(17, 17, 17),
		["MATERIAL"] = Enum.Material.SmoothPlastic,
	},
	["BUTTON_TEXTURES"] = {
		["UNSELECTED"] = "rbxassetid://551564333",
		["SELECTED"] = "rbxassetid://551562334"
	},
}
return config

Keep in mind you may have to adjust some settings to your needs

the only change is adding a variable for getting the CHECKMEIN_FLOOR_PROFILE


Add this code to the CONFIG found under LOCKING_PROFILE:
["CHECKMEIN_FLOOR_PROFILE"] = {
	["ROOM_FLOORS"] = {
		
	},
	--[[
		FORMAT:
		
		[CARD GROUP] = FLOOR
		
		------------------------------
		
		EXAMPLES:
		
		[14] = 14, -- Cards for rooms starting in "14" (i.e. 1422) will bring players to the 14th floor
		[2] = 2, -- Cards for rooms starting in "2" (i.e. 221) will bring players to the 2nd floor
	]]--
},

LOCKING_PROFILE.ENABLED MUST BE SET TO TRUE FOR THIS TO WORK

After you add and configure this new code users will be able to scan their CMI roomkey at the Polaris terminals and automatically be dispatched to their room’s floor.

6 Likes

This topic was automatically closed after 1 minute. New replies are no longer allowed.