This is a simple plugin based on sv_server_graphic1 cvar. For rotating your graphics banners. Banners are displayed only for spectators.
Plugin changes the banners after a map change.
Screenshot. What is the graphics banners?
File to read the banners names from. Useful if you're running multiple servers from one installation, and want to use different banners per server.
Banners are changing in turns or randomly? 0 - by rotation, 1 - randomly.
You must remove sv_server_graphic1 cvar from your server configs.
Plugin enables the banner after first map change
File format png or jpg, image size 360x60 px, file size of the banner is not strictly greater than 16 Kbytes
If the banner is not displayed - disable plugin and put in server.sfg sv_server_graphic1 "yourbanner.png"
Change the map twice and if the banner does not appear to observers banner file against the rules.
Drop sv_server_graphic_rotator.smx in addons/sourcemod/plugins/
Drop sv_server_graphic_rotator.sp in addons/sourcemod/scripting/
Drop graphics.txt in addons/sourcemod/configs/
Drop your banners files to /csgo directory
Change your file name in graphics.txt
By default the plugin reads the banners names from configs/graphics.txt
, which has this format:
* Fixed bug with only 1 banner (thanks AlmazON)
* Added FCVAR_NOTIFY cvar "graphicrotator_version"
* SetConVarString used instead ServerCommand
* Added sm_graphics_random cvar.
* Fixed bug with rotation after sm_graphics_file changes.
* Initial release.