Skocz do zawartości

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

[forums.alliedmods.net] [Any] Enable / Disable Plugins


  • 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:7 492
  • Lokalizacja:AMXX.PL
Offline

Napisano 06.04.2012 12:26

[Any] Plugin Enable/Disable
Version 1.0.0


Description:

Move plugins to and from the disabled folder by command.

Why?

I use this for my plugin development to quickly disable plugins without having to use FTP. This is for cases when I want to unload a plugin and make sure it won't load itself again after a restart.

The other use I have for this is to unload and disable training plugins on my scrim server before a match starts.

In short; this is just more convenient then FTPing into the server.

Commands:
  • plugins enable <filename>

    • Moves the specified plugin file out of the /disabled/ folder, and loads it.
  • plugins disable <filename>

    • Unloads the specified plugin file, and moves it to the /disabled/ folder.
Cvars:
  • sm_dis_enable_version
  • Plugin Version

Install Instructions:

  • Place EnableDisable.smx into your addons/sourcemod/plugins/ folder.
Note:

By default anyone with the "root" admin flag can use this plugin's commands.

Version History:
  • V1.0.0

  • Initial Release

Total downloads as prior to last edit: 0



Attached Files Dołączona grafika Get Plugin or Get Source (EnableDisable.sp - 4.7 KB)

Wyświetl pełny artykuł




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

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