Setting up channels

Continuation of basic settings & integrations

Location of Settings

Go to the 'easyLink v2.0.0 [ easyPOS ]' script, then double click on 'Settings'.

Location of Settings

Editing Channels

Scroll down until you see Settings.Channels = {

We provide 2 channels by default in the config.

Example Channel

Settings.Channels = {
	{
		Name = "Example",
		Permissions = {
			View = function(Player)
				return true
			end,

			Send = function(Player)
				return true
			end,

			Voice = function(Player)
				return true
			end,
		}
	},
}

Name

Channel name, this is what's visible to players.

Permissions

"View" determines who can access the channel.

View = function(Player)
    --return true -- Anyone with the headset has access
    return Player:GetRankInGroup(32675391) >= 10 -- Rank 10+ have access
end,

"Send" determines who can send messages in this channel.

Send = function(Player)
    --return false -- No one can send messages
    --return Player:GetRankInGroup(32675391) >= 10 -- Rank 10+ can send messages
    return true -- Everyone can send messages
end,

"Voice" determines who can speak using Voice Chat.

Voice = function(Player)
    --return false -- No one can use voice chat
    --return Player:GetRankInGroup(32675391) >= 10 -- Rank 10+ can use voice chat in easyLink
    
    return true -- Everyone can use voice chat
end,

Last updated