The MasterConfig is where the majority of Radiolink configuration takes place. You will be able to manage general settings, channels, battery, alerts, group information and interface settings.
Enter a group name of your choice (this can be anything)
Copy
["Group Name"] = "jaDevelopment", --Set to your groups name
Each dock featured in the Radiolink folder has a **configuration **called ‘DockConfig’, and is currently set to preset configuration settings. Customise these options with the following information that might help you
Whitelist
The whitelist can betoggled on (true) or off(false), and supports individual players or groups. You can have an unlimited amount of players and groups. Players can be listed with a mixture of user ids and usernames.
When the whitelist value is set to false, anyone can use the radio dock. If you are restricting the radios to groups, or users, please enable this feature by setting it to true
When configuring groups, enter as many role IDs in the**** as you wish, separated by a comma
Copy
[14665139] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 255},
Copy
["Permissions"] = { ["Whitelist"] = false, ["Users"] = { --Supports usernames and user ids 936285498, --osctrcx 295531036, --AIIAIDAIIIAIAIAIAIIA 37110638, --rfpb 163323741, --comtrlo }, ["Groups"] = { --Add as many groups as you would like and role ids [14665139] = {255, 254}, }},
Pickup Interaction
Copy
["Pickup"] = { ["Type"] = "ClickDetector", --ClickDetector or ProximityPrompt ["MaxDistance"] = 10 --How many studs away to pickup a radio},
You can specify what permissions the docks from that radio has in each of those channels. If the dock doesn’t have access to that channel you don’t need to list it at all.The name of the channel does not need to be the name you set for it in the master config.Default configuration for dock channels and permissions:
Copy
["Channels"] = { --This setting does not apply if global channels are enabled --[[ -Don't include channels that you would like hidden for radios in this dock -Add as many channels as you would like -Set the following permission levels for channels: 1. Recieve 2. Send ]] ["General"] = { ["Permissions"] = {"Send", "Recieve"}, ["ChannelId"] = 1 --The id you set your channel to in the main config }, ["Off Topic"] = { ["Permissions"] = {"Send", "Recieve"}, ["ChannelId"] = 2 },},
Don’t include any channels that you would like hidden for radios in this dock
To create a new channel for this dock, copy the following code or one of the channels from the Channels section:
With my new piece of code, I can add it to the already existing list of channels, so it becomes
Copy
["Channels"] = { --This setting does not apply if global channels are enabled --[[ -Don't include channels that you would like hidden for radios in this dock -Add as many channels as you would like -Set the following permission levels for channels: 1. Recieve 2. Send ]] ["General"] = { ["Permissions"] = {"Send", "Recieve"}, ["ChannelId"] = 1 --The id you set your channel to in the main config }, ["Off Topic"] = { ["Permissions"] = {"Send", "Recieve"}, ["ChannelId"] = 2 }, ["Staff"] = { -- Channel name ["Permissions"] = {"Send", "Recieve"}, -- Permissions the channel WILL have ["ChannelId"] = 3 -- Channel id },},
Alerts
If enabled, the alerts can be turned off only for radios in one dock and you can also specify which channels the alerts go to, even if the radios in that dock do not have permission to view or send messages in the channels you set. As long as its in the master config, it will function as intended. You can also set it to false instead of a table and it sends it to all channels across the systemDefault configuration for dock alerts
Copy
["Alerts"] = { ["Enabled"] = true, --Can radios from this dock utilise the feature? ["Channels"] = {1} --Every channel ID the alerts will send to, separated by a comma --[[ - The radio does not need any access to any of the channels - Set to false to broadcast to all channels - ["ChannelId"] = false ]]},
To send alerts from the dock to all channels, simply remove all channel IDs from within the next to “Channels” For example: