[ANY] XenForo Admins (Threaded)

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





File Type: sp


Get Plugin or
Get Source (XenForoAdmins.sp - 8.5 KB)








Orignal From: [ANY] XenForo Admins (Threaded)

No comments

Not a single link is allowed to submit in comment :o