Raised This Month: $51 Target: $400
 12% 

[CSS] sourcemod not reading maplist.cfg


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dustydevil
Member
Join Date: Feb 2016
Old 02-03-2019 , 11:39   [CSS] sourcemod not reading maplist.cfg
Reply With Quote #1

iv pointed the files to the maplist.txt but when i check-in game none of the maps added are showing

Quote:
/**
* 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"
{
"file" "maplist.txt"
}

/* For the "mapchooser" plugin */
"mapchooser"
{
"file" "maplist.txt"
}

/* For the "nominations" plugin */
"nominations"
{
"file" "maplist.txt"
}
}

Last edited by dustydevil; 02-05-2019 at 13:05.
dustydevil is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-03-2019 , 11:43   Re: [CSS] sourcemod not reading maplist.cfg
Reply With Quote #2

Code:
"default"
{
"target"	"maplist.txt"
}
This needs to be a "file" like the others, or specify one of the other sections as the target.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
dustydevil
Member
Join Date: Feb 2016
Old 02-03-2019 , 11:58   Re: [CSS] sourcemod not reading maplist.cfg
Reply With Quote #3

Quote:
Originally Posted by Powerlord View Post
Code:
"default"
{
"target"	"maplist.txt"
}
This needs to be a "file" like the others, or specify one of the other sections as the target.
already done still not working its fresh server with the latest stable version on sourcemod im also getting

[SM] Plugin weapon_restrict.smx failed to load: Required extension "SDKHooks" file("sdkhooks.ext") not running.
dustydevil is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode