Raised This Month: $51 Target: $400
 12% 

[ANY] XenForo Admins (Threaded)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Plugin ID:
2811
Plugin Version:
1.4
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Yup!
    Old 02-22-2012 , 13:53   [ANY] XenForo Admins (Threaded)
    Reply With Quote #1

    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!


    Are there any ConVars?
    Yes there are as of 1.4.
    sm_xenforo_fieldname - Field name used for grabbing the clients SteamID.

    Steam - Steam Identity Service

    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 - 1601 views - 9.5 KB)

    Last edited by KyleS; 03-07-2012 at 11:01.
    KyleS is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 16:06.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode