pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

pastebin private pastebin - collaborative debugging tool What's a private pastebin?

Posted by Paranoia on Mon 23rd Feb 13:32
download | new post

  1. /**
  2.  * Use this file to configure map lists.
  3.  *
  4.  * Each section is a map list that plugins can use.  For example, the Admin Menu
  5.  * requests an "admin menu" map list, and you can control which maps appear via
  6.  * this file.
  7.  *
  8.  * Each section must have a property that explains where to read the maps from.
  9.  * There are two properties:
  10.  *
  11.  *    target         - Redirect the request to another section.
  12.  *    file                   - Read a file of map names, in mapcycle.txt format.
  13.  *
  14.  * There is one section by default, called "mapcyclefile" - it is mapped to the
  15.  * mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is.
  16.  *
  17.  * If a plugin requests a map list file which doesn't exist, or is empty, SourceMod
  18.  * tries the "default" section, and then the "mapcyclefile" section.
  19.  */
  20. "MapLists"
  21. {
  22.         /**
  23.          * Default requests go right to the mapcyclefile.
  24.          */
  25.         "default"
  26.         {
  27.                 "target"                "mapcyclefile"
  28.         }
  29.        
  30.         /* Admin menu, map menu */
  31.         "sm_map menu"
  32.         {
  33.                 "file"      "addons/sourcemod/configs/adminmenu_maplist.ini"
  34.         }
  35.        
  36.         /* Admin menu, map voting menu */
  37.         "sm_votemap menu"
  38.         {
  39.                 "file"      "addons/sourcemod/configs/adminmenu_maplist.ini"
  40.         }
  41.        
  42.         /* For the "randomcycle" plugin */
  43.         "randomcycle"
  44.         {
  45.                 "target"                "default"
  46.         }
  47.        
  48.         /* For the "mapchooser" plugin */
  49.         "mapchooser"
  50.         {
  51.                 "target"                "addons/sourcemod/configs/voting_maplist.ini"
  52.         }
  53.        
  54.         /* For the "rockthevote" plugin */
  55.         "rockthevote"
  56.         {
  57.                 "target"                "addons/sourcemod/configs/voting_maplist.ini"
  58.         }
  59.  
  60.         /* For the "nominations" plugin */
  61.         "nominations"
  62.         {
  63.                 "target"                "addons/sourcemod/configs/voting_maplist.ini"
  64.         }
  65. }

Submit a correction or amendment below. (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Use syntax highlighting

To highlight particular lines, prefix each line with @@


Remember my settings