GunGame:SM is the gameplay plugin that makes you to
act with various guns and not only with your favorite
one. On spawn you get one weapon. You should kill
enemy with the current weapon to get next weapon.
You should kill enemies with all the weapons to win the game.

gg_rebuild - Rebuilds the top10 rank from the player data information.

gg_import - Imports the winners file from es es gungame3. File must be in data/gungame/es_gg_winners_db.txt.
You can convert winners db file from es gungame5 to gungame3 - use tools/convert_winners_esgg_5to3.py.

sm_gg_cfgdirname - Define config directory where gungame.config.txt is located.
Default is "gungame" (so config files will be loaded from "cfg\gungame\").
You can define your own directory after gungame winner, for example exec "sm_gg_cfgdirname gungame-dm",
and after map change the config files will be loaded from "cfg\gungame-dm"
(so config files will be loaded from "cfg\gungame\").

sm_gg_turbo - Change TurboMode config variable.

sm_gg_multilevelamount - Change MultiLevelAmount config variable.

say !level - Show your current level and who is winning.

say !weapons - Show the weapon order.

say !score - Show all player current scores.

say !top - Show the top winners on the server.

say !leader - Show current leaders.

say !rank - Show your current place in stats. (only if sql stats enabled)

You need SDK Hooks if you want to set specific options in config
(search for "sdkhooks" in "gungame.config.txt" and read comments for more info)

If you want to use sdk hooks version of gungame, then remove gungame.smx and add gungame_sdkhooks.smx.
Don't use both gungame.smx and gungame_sdkhooks.smx.

gungame_config.smx - Config Reader

No dependencies

Mandatory plugin

Read all config files

Can load different configs (*.config.txt, *.equip.txt) depending on map
prefixes and map names in configs/gungame/maps.
gungame.config.txt will be read first before prefix map name.
Prefix map name will be executed first before map specfic map.
Then map specifc config files will be loaded.

gungame_stats.smx - Stats

Depends on gungame.smx, gungame_config.smx

Optional plugin

Displays top10 panel

Stores players wins data and top10 data

Sets handicap level for the new connected players

gungame_afk.smx - Afk Management System

Depends on gungame_config.smx, gungame.smx

Optional plugin

Detect afk players, kick them if needed, do not allow level up on afk players

gungame_mapvoting.smx - Map voting

Depends on gungame.smx, gungame_config.smx

Optional plugin

Starts the map voting for the next map when someone reaches particular level
by executing gungame.mapvote.cfg

Q. The map does not change after player winsA. GunGame plugin doesn't change the map itself, it leaves that to whatever mapchanger you use.
After player reaches one of the latest levels GunGame will attempt to run the command that is located in "gungame.mapvote.cfg" to start map voting.
By default it tries SourceMod default plugin to start the vote (MapChooser) - "sm_mapvote", but you can change that by changing the file "gungame.mapvote.cfg".

See "VoteLevelLessWeaponCount" config variable in main gungame config file. By deafult it equals two.
That means the voting begins after someone level up to the level that 2 levels below the maximum level.

After someone wins the game GunGame finishes map like it happens when "mp_timelimit" exceeded. Then your map changing plugin should change the map.

You need to configure your map voting/map changing plugin according to its documentation.
For example SourceMod Map Management Plugins documentation is here https://wiki.alliedmods.net/Map_Mana...ns_(SourceMod).
It uses some of the config files:
"/maplist.txt"
"/mapcycle.txt"
"/cfg/sourcemod/mapchooser.cfg"
"/cfg/sourcemod/mapvote.cfg"

You can also try UltimateMapChooser plugin https://forums.alliedmods.net/showthread.php?t=134190
If you are having issues with CS:GO you can try workaround - "EndGameSilent" "1" in main gungame config file.
If you are running CS:GO, make sure to set the correct game mode (find in the FAQ).

Q.[CS:GO] What do I put for game_mode and game_type?A.+game_type 0 +game_mode 0

Q. I want weapon to be changed after leveling up in the same round and not in the next round.A. "TurboMode" "1" in gungame.config.txt.

Q. Sound does not work.A. Try to change all slashes ("/") in sound files paths to double-backslashes ("\\")
in gungame.config.txt and restart server and client.

Q. Sound still does not work.A. Good article for beginning http://developer.valvesoftware.com/wiki/Pure_Servers
Post your question with the following info: output of the command on server "sv_pure",
output of the command on client "sv_pure" or content of the file "cstrike/pure_server_whitelist.txt",
output of the command "sv_downloadurl" on server or client.

Q. Weapons desapearing on level up and player spawn.A. If you are using DeathMatch:SM then set sm_ggdm_removeweapons "0" in server.cfg and
set "StripDeadPlayersWeapon" "1" in gungame.config.txt. GunGame:SM weapon stripper is much cpu effective
then DeathMatch:SM weapon stripper, don't use DeathMatch:SM weapon stripper with GunGame:SM, it was designed for non GunGame servers.

Q. I level up on two levels at once.A. Double check that you have only gungame_sdhooks.smx OR gungame.smx in your plugin folder.
Not both of them. If you have both you have to delete one of them.

Q. I have strange errors in my logs.A. First of all read this error messages carefully. Sometimes log messages has recommendations how to fix
the issue. Double check that you have only gungame_sdhooks.smx OR gungame.smx in your plugin folder. Not both of them.
If you have both you have to delete one of them.

Q. I have updated the plugin, and something does not work.A. First of all update weaponinfo.txt.
Notice, that since version 1.2.0.0 the cfg directory changed it's location from cfg/gungame/ to cfg/gungame/css/ (cfg/gungame/csgo/).
You can use your old gungame.config.txt and gungame.equip.txt, but you should update new weaponinfo.txt from the release zip file.

Q. Server has been updated and gungame does not work.A. If you have gungame version earlier then 1.2.0.0, you should update to the 1.2.0.0 version or later.
Notice, that since version 1.2.0.0 the cfg directory changed it's location from cfg/gungame/ to cfg/gungame/css/ (cfg/gungame/csgo/).
You can use your old gungame.config.txt and gungame.equip.txt, but you should update new weaponinfo.txt from the release zip file.

Q. How do i enable feature X?A. All config files are very good described and documented. Before asking such a question you should read
commets in gungame.config.txt and gungame.equip.txt for all config variables.

Q. Something does not work, what should i do?A. Start with posting your output of server commands "version; meta version; sm version; plugin_print; meta list; sm exts list;sm plugins list"
and content of the latest file cstrike/addons/sourcemod/logs/errors_<date>.log in this topic.

Q. Where the stats database is located?A. If you did not configure any custom databases, you gungame stats is located in addons\sourcemod\data\sqlite\sourcemod-local.sq3.