Skip to content

Console Commands & Variables

Samuel Maddock edited this page Aug 13, 2015 · 2 revisions

Server variables

Below are the available variables able to be configured on a Cinema gamemode server. Add them to your garrysmod/cfg/server.cfg file on the server.

Variable Default Description
cinema_url "url" Web URL loaded as the default theater screen.
cinema_skip_ratio 0.66 Ratio of players, between 0-1, required to voteskip a video.
cinema_queue_mode 1 1 = Videos may be voted up or down
2 = Videos are played in the order they're requested
cinema_allow_url 0 Allow any arbitrary URL to be set in private theaters, including plain HTML. See documentation on cinema_video_request for requesting a URL.
cinema_allow_reset 0 Reset the theater after all players have left.
cinema_allow_voice 0 Players can talk among themselves inside of theaters.
cinema_allow_3dvoice 1 Use 3D voice chat.
cinema_video_duration_max 10800 Maximum duration of a video (in seconds) that can be requested in a public theater.

Commands

Commands can be entered in the in-game console; press the tilde key to open it.

Command Arguments Description
cinema_video_request "https://videoservice.com/example" Request a video URL for a theater; must be in the theater for this to work. Must include the quotes.

Undocumented commands can be found in sh_commands.lua. Most are available through the UI already though.

Clone this wiki locally