[Any] Change the Overrides
v. 16.0719
All commands require root access by default. You should probably not ever change this.
Example Command Usage:
- sm_override
Code: sm_override "sm_noclip" aThe above command would set sm_noclip to require the "a" flag. Just like in the standard overrides file, if multiple flags are specified, the user must have ALL the flags in order to have access. In addition, specifying only 0 as the flag will make the override public. - sm_override_get
This command simply displays the current flag required for a given override. Note that a command that exists, but has not been overridden, will not work with this command.
Code: ] sm_override_get sm_god
"sm_god" requires flags "z" - sm_override_unset
This command removes an override, causing any default access requirements that may exist to once again take effect.
Code: ] sm_override_unset sm_god - sm_override_group
This command sets the allow/deny permissions on a command for an admin group. For example, the following command would allow access to sm_votekick by players in the "VIP" group.
Code: sm_override_group "VIP" "sm_votekick" allowPlease note that this will only affect group members who join the server after the command use. - sm_override_group_get
This command simply displays whether a given admin group has allow/deny permissions for a given override.
Code: ] sm_override_group_get "VIP" "sm_noclip" - All 5 of the aformentioned commands also support command groups. Simply append a @ symbol to the front of the override string, as follows:[code=auto:0] Code: sm_override "@basecommands" aCVARS, shown with default values:sm_sessionflags_update 3 - Controls Updater compatibility0 : Completely disables Updater integration1 : Updater will notify you in Updater.log if an update becomes available.2 : Updater will automatically download any updates. They will be installed on the next server start or map change.
- 3 : Updater will automatically download and immediately install any updates.
Compiling:To install, simply ensure that your Sourcemod installation is up to date, and place the SMX in your plugins folder.
Please also consider installing Updater. This will let you automatically keep your plugins up-to-date. Updater is NOT required for SessionFlags to function.
Changelog:The plugin requires custom includes. As such, it does not compile here on the forums. Includes required to compile the plugin are:
Spoiler
- 14.0829.0 - Initial release, first post of this thread.
Downloads:
If you like what you see here, please consider donating~
Wyświetl pełny artykuł