Module Nominate - Steell/Ultimate-Mapchooser GitHub Wiki

The Nomination module is used to nominate maps for Ultimate Mapchooser votes, similar to the functionality built into SourceMod by the nominate.smx plugin. This module provides clients on the server a way to nominate maps through a menu, either by typing "nominate" in chat, or using the sm_nominate command.

  • sm_nominate -- Displays a nomination menu to the client who used the command.

Maps appearing in the nomination menu follow the Nomination and Display Exclusion guidelines, outlined here.

The Nomination module also defined one new map option, nominate_flags, as well as one new map group option, also called nominate_flags.

"umc_mapcycle"
{
    "A Group"
    {
        "nominate_flags"  "FLAG_STRING"
        ...

        "A Map"
        {
            "nominate_flags"  "FLAG_STRING"
            ...
        }
    }
    ...
}

FLAG_STRING is a string containing SourceMod admin flags, one of which an admin must require in order to nominate that map. The nominate_flags at the group level defines the nominate_flags option for all maps in the group, manually defining nominate_flags for a map overrides the group setting. If the group-level nominate_flags is left blank or omitted, the flags specified in the sm_umc_nominate_adminflags cvar are used (see cvars below).

The list of cvars for the Nomination module is located in cfg/sourcemod/umc-nominate.cfg.