This site is a testing version, but all data is shared with the live forum.


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

admin change map from mapcycle.txt


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dirtyjob
Senior Member
Join Date: Jul 2007
Location: Boston,MA
Old 04-05-2013 , 18:38   admin change map from mapcycle.txt
Reply With Quote #1

im having an issue with admins changing maps to maps that are not on my download url.
How can i make it so when they open the change map in there admin panel it only shows maps that are in the mapcycle.txt and not show ALL the maps on the server ?
__________________

dirtyjob is offline
Send a message via AIM to dirtyjob
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 04-05-2013 , 19:01   Re: admin change map from mapcycle.txt
Reply With Quote #2

You could delete the maps you don't want people to use maybe.
__________________
11530 is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 04-05-2013 , 19:19   Re: admin change map from mapcycle.txt
Reply With Quote #3

look into your configs/maplists.cfg and setup a txt file with maps you want in the sm_map menu.. but this will not stop your 'admins' from using the command sm_map or sm_rcon map (depending on your admin privileges)
hamilton5 is offline
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 04-05-2013 , 20:54   Re: admin change map from mapcycle.txt
Reply With Quote #4

Your best move is to remove map change access from everyone, typical admins don't know how to keep people happy, they just want to keep themselves happy.
__________________
Dr_Knuckles is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 04-06-2013 , 04:06   Re: admin change map from mapcycle.txt
Reply With Quote #5

Well who is the server really for.. whats your concern with who is happy, instead focus on OP..
hamilton5 is offline
Dr_Knuckles
AlliedModders Donor
Join Date: Mar 2005
Location: SW Florida
Old 04-06-2013 , 09:31   Re: admin change map from mapcycle.txt
Reply With Quote #6

Hey hamilton, if his admins change the maps to maps he doesn't have on his fastdl, then they apparently don't know what they're doing or don't listen or both, so a good solution is to remove their access to it. My answer was no different than 11530's answer, just coming from the complete opposite end. Why are you on my case?
__________________
Dr_Knuckles is offline
dirtyjob
Senior Member
Join Date: Jul 2007
Location: Boston,MA
Old 04-06-2013 , 14:50   Re: admin change map from mapcycle.txt
Reply With Quote #7

thanks all that replied,

heres what worked for me, it was pretty simple after being pointed in the right direction:


Went to addons/sourcemod/configs/


opened and read the file maplist.cfg and found out this info:

"MapLists"
{
/**
* Default requests go right to the mapcyclefile.
*/
"default"
{
"target" "mapcyclefile"
}

/* Admin menu, map menu */
"sm_map menu"
{
"file" "addons/sourcemod/configs/adminmenu_maplist.ini"
}



so i didnt have a file that was called "adminmenu_maplist.ini" so i created one and added my maps that ARE on my fast dl url inside.

went into game to test and now all that shows on the admin change maps menu are those maps.


thanks for the help guys.
__________________

dirtyjob is offline
Send a message via AIM to dirtyjob
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 19:34.


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