Server
Exports - Serverside
getDatabase
Get the content of database
Returns
database - table
- Content of database.json
getChannelMembers
Get all Players in the specific Radiochannel
Parameters
channel - number
- The Channel ID
playerId - number
- Player ID - Only for tokovoip
Returns
channelMembers - table
- All Player in this channel
hasChannelPassword
Check if the channel has a password
Parameters
channel - number
- The Channel ID
Returns
hasChannelPassword - boolean
- If the channel has a password or not
checkChannelPassword
Check if the given password is correct
Parameters
channel - number
- The Channel ID
password - string
- The Password
Returns
isPasswordCorrect - boolean
- If the password is correct or not
Last updated