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] XenForo Admins (Threaded)


  • 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 22.02.2012 19:53

What is this?!
This allows for integration with XenForo. You can assign Admin Flags, or just immunity to clients if that's what you'd prefer.

THIS REQUIRES THE STEAM IDENTITY SERVICE BY DARK IMMORTAL

I CAN DO THIS BETTERRRRRR!
Ok. I'm not a database guy, so please expand on what's wrong and or correct it. Always share your changes!

This Sucks!
:(

What does my file need to look like?
Good Question!
FilePath: Path_SM configs/XenForoAdminTranslations.cfg
(So for the ordinary install it's just addons/sourcemod/configs/XenForoAdminTranslations.cfg )

The section name is for your respective group number on your site. Ie if you want to assign every Member with the flag c, you'd lookup the group number and place it in the file.

The Keys are basically what you're already using with FlatFile.

For example, this is what a file can look like. Huge thanks to Brian for creating it.



PHP Code:

"8" // Level 2
{
"Flags" "kp"
"Immunity" "2"
}

"7" // Level 1
{
"Flags" "cdo"
"Immunity" "1"
}

"14" // Admin Base
{
"Flags" "abj"
}

Thanks to:

Jake Bunce Who actually knows the Answer to Everything.
Brian Alpha, Beta, Release testing this, and to suggest such a plugin be made.
PlagueFest Taking the Step forward to test.

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

Wyświetl pełny artykuł




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

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