Raised This Month: $32 Target: $400
 8% 

[ASAM] Alternative SQL Admins Manager


Post New Thread Reply   
 
Thread Tools Display Modes
Author
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Plugin ID:
184
Plugin Version:
1.3
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Alternative SQL-based admin management plugins.
    Old 09-17-2007 , 11:08   [ASAM] Alternative SQL Admins Manager
    Reply With Quote #1

    ASAM 1.3 released

    1. SQLite support added
    2. DB-management plugin has separated to db-creation and db-management plugins.

    [More detailed info]

    Setup:
    1. create db with admin-dbcreator.smx and remove this plugin after process ends (for reduse server load).
    2. create all need groups, accounts and links (user-groups) with admin-manager.smx. we recommend to use this plugin at only ONE from your servers.
    3. all servers must have sm_admin_filter variable (see 1.2 version readme for more detailed info)
    4. most usable plugin: admin-connector.smx (threaded and utf8-resdy)

    * * * * * *

    [INFO about ASAM 1.2]
    some as original plugins, there are two files:

    admin-connector.sp
    threaded, utf8-ready, connects to central mysql db for admins and rights.

    admin-manager.sp
    act as admin interface for work with admins accounts (add\del\change)

    Basic changes of plugins:

    1. MySQL support only, SQ-light support removed (for reduse plugin size)
    2. All overrides from DB tables has removed.
    3. Builtin code page for DB connection (native multilanguage UTF8 )
    4. Multi server configuration support: single DB can contain all admins and groups with different rights for different servers.
    5. Steam-only identification (for reduse plugin size)
    6. The logic is simplified for rights management: rights, immunity and server group can be applied to groups only, not to admins.

    Important: administrators MUST be a group members!

    7. New CVar for server (put it to sourcemod.cfg) identification:

    // Server Group Identity
    // Can be any word, corresponding with word at database's server column. Empty by default.
    sm_admin_filter

    Warning: GROUP with not filled (empty) SERVER value is ALL SERVERS admins group. Members of this group can connect to ANY server.

    Examples:

    if not filled - all admins who members of group with "not filled" server value at db can obtain admins rights at this server, but nothing more.
    csserver - all admins who members of group with "not filled" AND at group with "csserver" server value at db can obtain admins rights at this server.
    ggserver - all admins who members of group with "not filled" AND at group with "ggserver" server value at db can obtain admins rights at this server.

    Basic changes of DB scheme:

    1. All override db tables has removed.
    2. Groups immunity table (it sets to Groups directly now) has removed.
    2. New column added: server for binding GROUP to SERVER (if you need split your admins to concrete servers)
    (oops... we lost sv_config table, will be fixed asap)

    Note: for initial creating tables at new database (bd must be created as UTF8 ), please use sm_create_adm_tables console command...

    New syntax for plugins:

    sm_sql_addadmin "ALIAS" "STEAM"
    sm_sql_addgroup "GROUP" "RIGHTS" "IMMUNITY LEVEL" "SERVER"

    Adding admins to groups:

    For single group: sm_sql_setadmingroups "STEAM" "GROUP"
    For multiple groups: sm_sql_setadmingroups "STEAM" "GROUP1" "GROUP2" "GROUP3" etc

    - - - - - - - - - - - - -
    Based on the original SQL plugins by AlliedModders LLC.
    At rewrite process all (we hope) errors of plugin has been fixed.
    Best regardz, AngelX.
    Attached Files
    File Type: sp Get Plugin or Get Source (admin-dbcreator.sp - 2119 views - 4.9 KB)
    File Type: sp Get Plugin or Get Source (admin-manager.sp - 1848 views - 13.9 KB)
    File Type: sp Get Plugin or Get Source (admin-connector.sp - 1995 views - 15.9 KB)
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws

    Last edited by BAILOPAN; 11-03-2007 at 00:14.
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 09-17-2007 , 11:29   Re: [ASAM] Alternative SQL Admins Manager 1.2
    Reply With Quote #2

    Sorry, but i don't understand how to use "Cvar" field...
    =(
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    bobbobagan
    SourceMod Donor
    Join Date: May 2007
    Location: New Zealand
    Old 09-18-2007 , 02:37   Re: [ASAM] Alternative SQL Admins Manager 1.2
    Reply With Quote #3

    Can you please make a SQL version and a SQLite version?
    __________________
    bobbobagan is offline
    Send a message via Skype™ to bobbobagan
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 09-20-2007 , 03:08   Re: [ASAM] Alternative SQL Admins Manager 1.2
    Reply With Quote #4

    first post updated due 1.3 version released.
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws

    Last edited by imported_Anth0ny; 09-20-2007 at 03:16.
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    BAILOPAN
    Join Date: Jan 2004
    Old 11-03-2007 , 00:15   Re: [ASAM] Alternative SQL Admins Manager
    Reply With Quote #5

    I have removed this plugin's public cvar listing because it was simply "name," which seems really ambiguous.
    __________________
    egg
    BAILOPAN 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 09:18.


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