Jump to content

How Do I Prevent Other Players On My Server From Using This Command


Miketrix

Recommended Posts

Hey guys and girls. I need help, I'm trying to figure out on my dedicated team fortress 2 server how to prevent players on my server from using a commands that are for VIP only. Respond as soon as you can guys. I'd like some help.

Link to comment
Share on other sites

As someone here would explain you every tiny bit.

They can add me, they don't have to explain it here, they should be patient anyway if they are trying to teach me.

Link to comment
Share on other sites

Using sourcemod?

If so, go in tf/addons/sourcemod/configs/admin_overrides.cfg

You can specify there who with what flag can use what command.

 

EDIT: small example:

    "sm_god" "z"

That means the command !god will be available to players that have the z (root) flag.

Link to comment
Share on other sites

Using sourcemod?

If so, go in tf/addons/sourcemod/configs/admin_overrides.cfg

You can specify there who with what flag can use what command.

 

EDIT: small example:

    "sm_god" "z"

That means the command !god will be available to players that have the z (root) flag.

Overrides
{
/**
* By default, commands are registered with three pieces of information:
* 1)Command Name (for example, "csdm_enable")
* 2)Command Group Name (for example, "CSDM")
* 3)Command Level (for example, "changemap")
*
* You can override the default flags assigned to individual commands or command groups in this way.
* To override a group, use the "@" character before the name.  Example:
* Examples:
* "@CSDM" "b" // Override the CSDM group to 'b' flag
* "csdm_enable" "bgi" // Override the csdm_enable command to 'bgi' flags
*
* Note that for overrides, order is important.  In the above example, csdm_enable overwrites
* any setting that csdm_enable previously had.
*
* You can make a command completely public by using an empty flag string.
*/
}
Overrides
 
"sm_smokebomb" "a"
      "sm_resizeme" "a"
  "sm_betherobot_footsteps" "a"
Link to comment
Share on other sites

Using sourcemod?

If so, go in tf/addons/sourcemod/configs/admin_overrides.cfg

You can specify there who with what flag can use what command.

 

EDIT: small example:

    "sm_god" "z"

That means the command !god will be available to players that have the z (root) flag.

My Override file.

Link to comment
Share on other sites

Kinda messed up... Try this:

 

Overrides
{
/**
* By default, commands are registered with three pieces of information:
* 1)Command Name (for example, "csdm_enable")
* 2)Command Group Name (for example, "CSDM")
* 3)Command Level (for example, "changemap")
*
* You can override the default flags assigned to individual commands or command groups in this way.
* To override a group, use the "@" character before the name.  Example:
* Examples:
* "@CSDM" "b" // Override the CSDM group to 'b' flag
* "csdm_enable" "bgi" // Override the csdm_enable command to 'bgi' flags
*
* Note that for overrides, order is important.  In the above example, csdm_enable overwrites
* any setting that csdm_enable previously had.
*
* You can make a command completely public by using an empty flag string.
*/


"sm_smokebomb" "a"
"sm_resizeme" "a"
"sm_betherobot_footsteps" "a"
}
Link to comment
Share on other sites

 

Kinda messed up... Try this:

 

Overrides
{
/**
* By default, commands are registered with three pieces of information:
* 1)Command Name (for example, "csdm_enable")
* 2)Command Group Name (for example, "CSDM")
* 3)Command Level (for example, "changemap")
*
* You can override the default flags assigned to individual commands or command groups in this way.
* To override a group, use the "@" character before the name.  Example:
* Examples:
* "@CSDM" "b" // Override the CSDM group to 'b' flag
* "csdm_enable" "bgi" // Override the csdm_enable command to 'bgi' flags
*
* Note that for overrides, order is important.  In the above example, csdm_enable overwrites
* any setting that csdm_enable previously had.
*
* You can make a command completely public by using an empty flag string.
*/


"sm_smokebomb" "a"
"sm_resizeme" "a"
"sm_betherobot_footsteps" "a"
}

 

I think it was the way I pasted it xD. Did I do it right?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...