Configuring Your V3 Readers

In 

Beep beep, I need my cards.


Default Readers

Each reader inside DWProx -> Readers will have a ReaderSettings ModuleScript, which will look as follows:

--[[        ____ _       ______                 
 		   / __ \ |     / / __ \_________  _  __
 		  / / / / | /| / / /_/ / ___/ __ \| |/_/
		 / /_/ /| |/ |/ / ____/ /  / /_/ />  <  
		/_____/ |__/|__/_/   /_/   \____/_/|_|  
		Made By DuckyProductions And Whitehill ET
		
]]

local Settings = {	
	-- / CARD / --
	["Cards"] = {"1", "2", "3", "4", "5", "0"},
	["WhitelistEnabled"] = false,
	
	-- / SYSTEM / --
	["ReaderSpec"] = "\80\50\50\53"
}
return Settings

Cards

A table of Access Levels that are whitelisted to use the reader at any time.


Example:

["Cards"] = {"1", "2", "3", "4", "5", "0"}

WhitelistEnabled

Whether to enable or disable the reader whitelist.


Example:

["WhitelistEnabled"] = false

ReaderSpec


Custom Readers

Same with default readers, you can find ReaderSettings ModuleScript as a child of the reader model.

--[[        ____ _       ______                 
 		   / __ \ |     / / __ \_________  _  __
 		  / / / / | /| / / /_/ / ___/ __ \| |/_/
		 / /_/ /| |/ |/ / ____/ /  / /_/ />  <  
		/_____/ |__/|__/_/   /_/   \____/_/|_|  
		Made By DuckyProductions And Whitehill ET
		
]]

local Settings = {	
	-- / CARD / --
	["Cards"] = {"1", "2", "3", "4", "5", "0"},
	["WhitelistEnabled"] = false,
	
	-- / CUSTOM READER SETTINGS / --
	["LEDAccept"] = function(Reader)
		-- Handle function here
	end,
	["LEDIdle"] = function(Reader)
		-- Handle function here
	end,
	["LEDDeny"] = function(Reader)
		-- Handle function here
	end,
	["LEDLocked"] = function(Reader)
		-- Handle function here
	end,
	
	["SoundAccept"] = function(Reader)
		-- Handle function here
	end,
	["SoundDeny"] = function(Reader)
		-- Handle function here
	end,
	
	-- / SYSTEM / --
	["ReaderSpec"] = "CUSTOM"
}
return Settings

LEDAccept

Used when the reader accepts a card.

LEDIdle

Used when the goes back to an 'idle' state.

LEDDeny

Used when the reader denies a card.

LEDLocked

Used when the reader goes into a 'locked' state.

SoundAccept

Used for positive outcome interactions. (Ex.: Accepting a card.)

SoundDeny

Used for negative outcome interactions. (Ex.: Denying a card.)