Deactivate Sv_cheat Cvar ?

surprisesurprise Join Date: 2003-01-16 Member: 12382Members, Constellation
<div class="IPBDescription">any possibility ?!?!?</div> any idea if there is a plugin that blocks cvars like sv_cheats...

for meta or amx...

Comments

  • rknZrknZ Join Date: 2003-10-23 Member: 21885Members
    <!--QuoteBegin--surprise+Oct 30 2003, 07:50 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (surprise @ Oct 30 2003, 07:50 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> any idea if there is a plugin that blocks cvars like sv_cheats...

    for meta or amx... <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    why??

    your admins going crazy??

    just remove thier privaleges <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
  • surprisesurprise Join Date: 2003-01-16 Member: 12382Members, Constellation
    aehmn, not all, but the only way to remove it would be to deactivate
    amx_rcon

    but they need it to administrate other things...

    thats the problem...


    and no, they are not my admins, they are my clanmates who have no clue about server administartion, like to plya with cheats while i and some others dont...
  • DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
    <!--QuoteBegin--surprise+Oct 30 2003, 04:12 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (surprise @ Oct 30 2003, 04:12 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> aehmn, not all, but the only way to remove it would be to deactivate
    amx_rcon

    but they need it to administrate other things...

    thats the problem...


    and no, they are not my admins, they are my clanmates who have no clue about server administartion, like to plya with cheats while i and some others dont... <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Simple enough to either remove their rcon, or reduce their access level to where they can't set sv_cheats.
  • surprisesurprise Join Date: 2003-01-16 Member: 12382Members, Constellation
    edited October 2003
    i remember you were the one who opend the amx-clanmod-adminmod discussion...

    how i already said, i can take their full amx_rcon rights or give it to them...

    i search for a way where i can disable ONLY amx_rcon sv_cheats...
  • civman2civman2 Join Date: 2002-11-03 Member: 6116Members, Constellation
    just get an amx script where anyone can say amx_cheatsoff and cheats turn off.
  • ForlornForlorn Join Date: 2002-11-01 Member: 2634Banned
    <!--QuoteBegin--surprise+Oct 30 2003, 03:50 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (surprise @ Oct 30 2003, 03:50 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> any idea if there is a plugin that blocks cvars like sv_cheats...

    for meta or amx... <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    /me tries to surpess laughter...


    BUWHAAHAHAHAHAHAHAHAHAHAHAHAHAHAHHAHAHAAAROFLMAO!!!AHAHAHAHAA


    Oh, phew, my god, this is sig material.

    Anyhow, cvar's like sv_cheats? LOL WTH!!!!!!!!?

    Okay. Anyhow, sv_cheats is serverside. You need admin access to use it.
  • ThansalThansal The New Scum Join Date: 2002-08-22 Member: 1215Members, Constellation
    /me procedes to beat forlorn with the rest of the thread that he didn't read

    now stop being a twit and read it.


    BTW my suggestion is if you don't like your clan mates behavior with admin, I woulld sugest striping them of all powers and simply giving them a reserve slot
  • AeaAea Join Date: 2003-10-09 Member: 21552Members
    Why do you clan mates need amx_rcon, just give them say, and kick power, nuff said <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • surprisesurprise Join Date: 2003-01-16 Member: 12382Members, Constellation
    edited October 2003
    @forlorn: well, i dont know if this kind of option is called cvar, but thats not the topic of discussion...
    and they/we have servercontroll, thats the problem...
    read->think->post

    my oppinion too, but they are of that kind that they pay and want their rights...

    and what should i argue against, they are kind of right...
    well, ill wanted to teach me amx anyways so thats a good project for beginning *G*

    i imagine to have a textfile in which you list all cvars and whatever you want to block and the plugin preserves the settings...
  • CheesyPetezaCheesyPeteza Join Date: 2002-11-24 Member: 9784Members, NS1 Playtester, Constellation
    If were talking about amx here's what you do.

    Remove access to amx_rcon thats not needed to setup the server as they can just use amx_cvar.

    Now to stop them doing <b>amx_cvar sv_cheats 1</b>:

    Open up admincmd.sma in the examples folder.

    Search for the following part:

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->public plugin_cfg(){
     // Cvars which can be changed only with rcon access
     server_cmd( g_addCvar ,"rcon_password")
     server_cmd( g_addCvar ,"amx_show_activity")
     server_cmd( g_addCvar ,"amx_mode")
     server_cmd( g_addCvar ,"amx_password_field")
     server_cmd( g_addCvar ,"amx_default_access")
     server_cmd( g_addCvar ,"amx_reserved_slots")
     server_cmd( g_addCvar ,"amx_reservation")
     server_cmd( g_addCvar ,"amx_conmotd_file")
    }<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    Yes you guessed it, and in a line there that says:

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->server_cmd( g_addCvar ,"sv_cheats")<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    Save it, then compile it by typing <b>sc admincmd.sma</b>. Then copy admincmd.amx to the plugins folder.
  • That_Annoying_KidThat_Annoying_Kid Sire of Titles Join Date: 2003-03-01 Member: 14175Members, Constellation
    edited October 2003
    Since the problems seems to be fixed, I think the real lesson here is

    <!--QuoteBegin--surprise+Oct 31 2003, 08:10 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (surprise @ Oct 31 2003, 08:10 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> read->think->post <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Sign In or Register to comment.