-
Notifications
You must be signed in to change notification settings - Fork 4
ConCommands and ConVars
This list below description the ConVars and ConCommands of this addon for server and client. Using them requires you to know how to use the console of source games. All server side commands are admin only and have to be entered on the server via direct access, remote tools, RCON or admin mods.
-
sv_streamradio_cacheclear
- Clears the file cache on the server side.
- Needs gm_bass3 installed on the server to work.
-
sv_streamradio_playlisteditor_reset
- Resets the playlist editor.
- Can be used to make it usable again when it was stuck after errors etc.
-
sv_streamradio_rebuildplaylists
- Recreates the default playlists.
-
sv_streamradio_rebuildplaylists_community
- Recreates the default playlists inside the community folder.
- Also see: Cummunity submissions
-
sv_streamradio_resetplaylists
- Deletes ALL of the playlists and recreates the default ones.
-
sv_streamradio_resetplaylists_community
- Deletes all playlists inside the community folder and recreates the default ones.
- Also see: Cummunity submissions
-
sv_streamradio_url_whitelist_reload
- Reloads the whitelist from installed playlists.
-
cl_streamradio_playlisteditor
- Opens the playlist editor.
- Has
+/-cl_streamradio_playlisteditor
for key bindings. - Admin only.
-
cl_streamradio_cacheclear
- Clears the file cache on the client side.
-
debug_streamradio_dump_nwstringtable
- Dumps the network string table in context to the addon.
- Developer ConCommand. Admin only. Needs
sv_cheats 1
on client.
-
debug_streamradio_dump_nwstringtable_code
- Dumps
AddNetworkString
code for pasting intolua\streamradio_core\net.lua
, useful developing this addon. - Developer ConCommand. Admin only. Needs
sv_cheats 1
on client.
- Dumps
-
info_streamradio_errorcode <number|string>
- Prints information of the given error code/name.
-
info_streamradio_playlist_filesystem_list
- Shows a list of loaded playlist filesystems.
-
sbox_maxstreamradio <number>
- Set the maximum count of radios that can be spawned per player.
- Default: 5
- Set the maximum count of radios that can be spawned per player.
-
sv_streamradio_bass3_allow_client 0/1
- Allows connected clients to use GM_BASS3 when set to 1. Overrides
cl_streamradio_bass3_enable
.- Default: 1
- Allows connected clients to use GM_BASS3 when set to 1. Overrides
-
sv_streamradio_bass3_enable 0/1
- Use GM_BASS3 on the server if installed and when the ConVar is set to 1.
- Default: 1
- Use GM_BASS3 on the server if installed and when the ConVar is set to 1.
-
sv_streamradio_max_spectrums <number>
- Sets the maximum count of radios that can have advanced wire outputs such as FFT spectrum or song tags.
- Default: 5
- Needs gm_bass3 installed on the server to work.
- Sets the maximum count of radios that can have advanced wire outputs such as FFT spectrum or song tags.
-
sv_streamradio_playlist_filesystem_backlist <list>
- Set the list playlist filesystems to be disabled by type, name or id. Empty by default.
- Entries are seperated by pipe ('|') or comma (',').
- Enter
info_streamradio_playlist_filesystem_list
for details.
-
sv_streamradio_rebuildplaylists_community_auto 0/1/2
- Set how the community playlists are rebuild on game start.
- 0 = Off, 1 = Rebuild only, 2 = Delete and rebuild
- Default: 2
- If it's active then you can no longer save or change playlist files in the community folder. This is to prevent confusion and data loss on game start.
- Also see: Cummunity submissions
- Set how the community playlists are rebuild on game start.
-
sv_streamradio_url_whitelist_enable 0/1
- Disables or enables the Stream URL whitelist. When enabled only URLs listed in playlists can be played.
- 1 = Enable, 0 = Disable
- Default: 1
- DATA SECURITY: Keep it enabled for better server security. Only turn it off if you know what you are doing!
- Disables or enables the Stream URL whitelist. When enabled only URLs listed in playlists can be played.
-
cl_streamradio_bass3_enable 0/1
- When set to 1, it uses GM_BASS3 if installed on client and allowed on the server.
- Default: 1
- When set to 1, it uses GM_BASS3 if installed on client and allowed on the server.
-
cl_streamradio_coveredvolume <number>
- Set the volume factor of radios that are behind walls.
- Min: 0, Max: 1
- Default: 0.33
- Set the volume factor of radios that are behind walls.
-
cl_streamradio_drawdistance <number>
- Stops GUIs drawing on radios which are further away than the given distance units.
- Min: 400, Max: 4000
- Default: 1000
- Stops GUIs drawing on radios which are further away than the given distance units.
-
cl_streamradio_enable_cursor 0/1
- Shows the cursor on radio GUIs when set to 1.
- Default: 1
- Shows the cursor on radio GUIs when set to 1.
-
cl_streamradio_hidegui 0/1
- Disables the drawing of GUIs for all radios when set to 1.
- Default: 0
- Disables the drawing of GUIs for all radios when set to 1.
-
cl_streamradio_hidespectrumbars 0/1
- Disables the drawing of FFT spectrums for all radios when set to 1.
- Default: 0
- Disables the drawing of FFT spectrums for all radios when set to 1.
-
cl_streamradio_key <key>
- Key to press when using (clicking) a radio. Use in game settings to change.
- Default: 15 (KEY_E)
- Key to press when using (clicking) a radio. Use in game settings to change.
-
cl_streamradio_key_vehicle <key>
- Key to press when using (clicking) a radio while in vehicles. Use in game settings to change.
- Default: 107 (MOUSE_LEFT)
- Key to press when using (clicking) a radio while in vehicles. Use in game settings to change.
-
cl_streamradio_mute 0/1
- Mutes all radios when set to 1.
- Default: 0
- Do not confuse with
streamradio_mute
, that is a toolgun setting for spawning radio.
- Mutes all radios when set to 1.
-
cl_streamradio_mute_foreign 0/1
- Mutes all radios from other players when set to 1.
- Default: 0
- Mutes all radios from other players when set to 1.
-
cl_streamradio_mutedistance <number>
- Mutes all radios which are further away than the given units.
- Min: 500, Max: 5000
- Default: 2000
- Mutes all radios which are further away than the given units.
-
cl_streamradio_muteunfocused 0/1
- Mutes all radios when the game is not in focus if set to 1.
- Default: 0
- Mutes all radios when the game is not in focus if set to 1.
-
cl_streamradio_no3dsound 0/1
- Disables 3D sound for all radios when set to 1.
- Default: 0
- Disables 3D sound for all radios when set to 1.
-
cl_streamradio_spectrumbars <number>
- Sets the max count of FFT spectrum bars on radios. Higher amounts can decrease performance.
- Min: 8, Max: 2048
- Default: 128
- Sets the max count of FFT spectrum bars on radios. Higher amounts can decrease performance.
-
cl_streamradio_spectrumdistance <number>
- Stops FFT spectrum drawing on radios which are further away than the given distance units.
- Min: 250, Max: 2500
- Default: 500
- Stops FFT spectrum drawing on radios which are further away than the given distance units.
-
cl_streamradio_volume <number>
- Set the global volume factor for all radios.
- Min: 0, Max: 10
- Default: 1
- Do not confuse with
streamradio_volume
, that is a toolgun setting for spawning radio.
- Set the global volume factor for all radios.
-
cl_streamradio_rendertarget 0/1
- Enable rendertargets for drawing radio GUIs when set to 1. Disable this if you see graphics glitches.
- Default: 1
- Enable rendertargets for drawing radio GUIs when set to 1. Disable this if you see graphics glitches.
-
cl_streamradio_rendertarget_fps <number>
- Sets the max FPS of rendertargets. Higher amounts can decrease performance.
- Min: 5, Max: 300
- Default: 40
- Sets the max FPS of rendertargets. Higher amounts can decrease performance.
Usage:
Whitelisting and security: