Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.

  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[Any] Change the Overrides (v. 16.0719)


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7170
  • Lokalizacja:AMXX.PL
Offline

Napisano 19.07.2016 11:24

[Any] Change the Overrides
v. 16.0719

This plugin provides simple commands that can be used to change, create, or remove an override without editing one of the usual cfg files and reloading the admin cache. This plugin will find its greatest usage within map and gamemode cfg files on servers running multiple gamemodes. For example, sm_jumppad is a command that I do not want to be available to non-admins during Death Run, but I would like to be public during FF2.

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.
Installation:

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.

Compiling:

The plugin requires custom includes. As such, it does not compile here on the forums. Includes required to compile the plugin are:

Changelog:


Spoiler

  • 14.0829.0 - Initial release, first post of this thread.

Downloads:

If you like what you see here, please consider donating~
Dołączona grafika


Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych