PDA

View Full Version : [L4D] Need help "overriding command access" in Sourcemod


XiiaoJinx
06-12-2009, 08:30
This is in reference to this wiki page : http://wiki.alliedmods.net/Overriding_Command_Access_(SourceMod) which to me is highly confusing.

What I want to configure on my server is how to enable only the host to have access to sv_cheats 1 and all commands which require sv_cheats 1. Basically only allowing the host to cheat and clients unable to cheat. I saw this on another server whereby sv_cheats 1 was enabled and when I tried the z_spawn cheat, Sourcemod showed a message whereby Access was denied.

Could anyone please point me in the right directions on how to setup such a configuration? Sourcemod and Metamod are properly installed on my server.

Also, I have another issue. My server is running straight out of the package, with all options set to default. Yesterday, a client came into the server and used the sm_say command (which is supposed to be for admins only). Does any of you have any idea how he would be able to gain access to the command with default settings on Sourcemod and Metamod?

Thanks for the time taken to read this, any help is greatly appreciated!

DontWannaName
06-12-2009, 15:57
Just use... http://forums.alliedmods.net/showthread.php?p=719384

Maybe he had command access somehow?

NouveauJoueur
06-29-2009, 23:04
I think he use something like say_team "@Hi admins"

So it send a message to admin only ... I was surprised when i saw that the first time so I perma banned the guy who did that cause I had no idea how he did it.

It's something you can disable in sourcemod.cfg


// Specifies whether or not non-admins can send messages to admins using
// say_team @<message>. Valid values are 0 (disabled) or 1 (enabled)
// --
// Requires: basechat.smx
// Default: 1
sm_chat_mode 0It really s.cks when you don't know what it is cause it says :

"{green}(ADMINS) NameOfTheGuyYouNeverSeenBefore : Message"

It should be disabled by default or clearer like (To ALL ADMINS)