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

[ANY] Forum Admins (XenForo Sync)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Mr_panica
Senior Member
Join Date: Jan 2017
Location: Russia, Saint-Petersburg
Plugin ID:
6711
Plugin Version:
1.0.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Communicates your XenForo 2 forum with your game server.
    Old 09-07-2019 , 09:59   [ANY] Forum Admins (XenForo Sync)
    Reply With Quote #1

    This plugin is designed to connect a forum based on XenForo 2 and a game server.

    Installation:

    Put the xf_admin.smx file at: /addons/sourcemod/plugins
    And
    Put the xf_admin.txt file at: /addons/sourcemod/configs

    Config configuration:
    PHP Code:
    "xf_admin"
    {
        
    "20" //Group ID from XF admin panel.
        
    {
            
    "flags"        "t" //admin flags
            
    "immunity"    "0" //admin immunity
        
    }


    DataBase configuration:
    You must connect to the forum database.
    PHP Code:
    "xf_admin"
        
    {
            
    "driver"    "mysql"
            "host"        ""
            "database"    ""
            "user"        ""
            "pass"        ""
            
    //"port"        "3306"
        

    The plugin automatically exposes the administrator username to the players in their name on the forum. (If you look through sm_who)

    If the player has several groups, and they are described in the config, then the plugin adds all the flags at once, and the immunity sets the highest.
    Attached Files
    File Type: sp Get Plugin or Get Source (xf_admin.sp - 621 views - 4.1 KB)
    File Type: txt xf_admin.txt (106 Bytes, 224 views)
    __________________
    Sorry for my English.

    Last edited by Mr_panica; 09-07-2019 at 11:41.
    Mr_panica is offline
    Reply



    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 00:05.


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