Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
/** * Use this file to configure map lists. * * Each section is a map list that plugins can use. For example, the Admin Menu * requests an "admin menu" map list, and you can control which maps appear via * this file. * * Each section must have a property that explains where to read the maps from. * There are two properties: * * target - Redirect the request to another section. * file - Read a file of map names, in mapcycle.txt format. * * There is one section by default, called "mapcyclefile" - it is mapped to the * mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is. * * If a plugin requests a map list file which doesn't exist, or is empty, SourceMod * tries the "default" section, and then the "mapcyclefile" section. */ "MapLists" { /** * Default requests go right to the mapcyclefile. */ "default" { "target" "maplist.txt" } /* Admin menu, map menu */ "sm_map menu" { "file" "maplist.txt" } /* Admin menu, map voting menu */ "sm_votemap menu" { "file" "maplist.txt" } /* For the "randomcycle" plugin */ "randomcycle" { "target" "default" } /* For the "mapchooser" plugin */ "mapchooser" { "target" "default" } /* For the "nominations" plugin */ "nominations" { "target" "default" } } |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »General« (6. Juli 2014, 12:54)
Benutzerinformationen überspringen
Super Moderator
Wohnort: Mönchengladbach
Beruf: Brückenkranführer / Staplerfahrer
Rootserver vorhanden: Nein
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
/** * Use this file to configure map lists. * * Each section is a map list that plugins can use. For example, the Admin Menu * requests an "admin menu" map list, and you can control which maps appear via * this file. * * Each section must have a property that explains where to read the maps from. * There are two properties: * * target - Redirect the request to another section. * file - Read a file of map names, in mapcycle.txt format. * * There is one section by default, called "mapcyclefile" - it is mapped to the * mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is. * * If a plugin requests a map list file which doesn't exist, or is empty, SourceMod * tries the "default" section, and then the "mapcyclefile" section. */ "MapLists" { /** * Default requests go right to the mapcyclefile. */ "default" { "target" "mapcyclefile" } /* Admin menu, map menu */ "sm_map menu" { "target" "default" } /* Admin menu, map voting menu */ "sm_votemap menu" { "target" "default" } /* For the "randomcycle" plugin */ "randomcycle" { "target" "default" } /* For the "mapchooser" plugin */ "mapchooser" { "target" "default" } /* For the "nominations" plugin */ "nominations" { "target" "default" } } |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Nitro« (10. Juli 2014, 03:05)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
/** * Use this file to configure map lists. * * Each section is a map list that plugins can use. For example, the Admin Menu * requests an "admin menu" map list, and you can control which maps appear via * this file. * * Each section must have a property that explains where to read the maps from. * There are two properties: * * target - Redirect the request to another section. * file - Read a file of map names, in mapcycle.txt format. * * There is one section by default, called "mapcyclefile" - it is mapped to the * mapcycle.txt file, or whatever the contents of your mapcyclefile cvar is. * * If a plugin requests a map list file which doesn't exist, or is empty, SourceMod * tries the "default" section, and then the "mapcyclefile" section. */ "MapLists" { /** * Use the default mapcycle file */ "default" { "file" "cfg/mapcycle_default.txt" } /* Admin menu, map menu */ "sm_map menu" { "target" "default" } /* Admin menu, map voting menu */ "sm_votemap menu" { "target" "default" } /* For the "randomcycle" plugin */ "randomcycle" { "target" "default" } /* For the "mapchooser" plugin */ "mapchooser" { "target" "default" } /* For the "nominations" plugin */ "nominations" { "target" "default" } } |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 |
/* Admin menu, map menu */ "sm_map menu" { "file" "addons/sourcemod/configs/adminmenu_maplist.ini" } /* Admin menu, map voting menu */ "sm_votemap menu" { "file" "addons/sourcemod/configs/adminmenu_maplist.ini" } |