AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Cvar Blocker (https://forums.alliedmods.net/showthread.php?t=137983)

Eurolite 09-11-2010 17:18

Cvar Blocker
 
Sometimes my admins change some cvar's when I'm not online (such as friendlyfire, gravity). I removed them from the admin menu but they still know how to change it. (sm_cvar sv_gravity 500 for example). Its weird because none of the admins have the flag to change cvars except me. These are the flags they have: abcdefjk

Anyways, I'm in need of some kind of plugin that will prevent the cvar from being changed, but it wont kick or ban someone if they attempt to.

thetwistedpanda 09-11-2010 17:20

Re: Cvar Blocker
 
Just set up an override to restrict sm_cvar / sm_resetcvar to "z" flag. http://wiki.alliedmods.net/Overridin...ss_(SourceMod)

Kevin_b_er 09-11-2010 17:40

Re: Cvar Blocker
 
Sorry but something else is definitely wrong.

sm_cvar is restricted those with the CVAR changing permission or, in theory, RCON permission since the console has root-level permission.

Check the logs to see what it says about them changing stuff. Additionally check "sm_who" while they are online to make sure that's the flags they are supposed to have.

Eurolite 09-13-2010 00:54

Re: Cvar Blocker
 
I typed sm_who, and 1 of my admins is on.

Quote:

2. вєα§т|| ¢αтz ƒ res, admin, kick, ban, slay, map, cvars, cfg, chat, vote, pass
but, here are his permissions in the admins_simple file:
bcdefjk

Could this be because I'm running SUM? I use it because my permanent bans disappear on a server restart or map change. (Maybe not on a map change, I forgot).

Kevin_b_er 09-13-2010 01:12

Re: Cvar Blocker
 
Yes, SUM could be modifying the flags to add "cvars" You should review your database and configuration in SUM.

Eurolite 09-14-2010 17:40

Re: Cvar Blocker
 
As far as I know you cant configure sum. I want to use sourcebans but I keep having problems with the mysql databases (it only works if I set the host to localhost, but that means other players wont be able to see the servers and stuff like that).


All times are GMT -4. The time now is 01:10.

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