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

tAdminByPassword v0.0.1 (2012-04-06)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Thrawn2
Veteran Member
Join Date: Apr 2009
Plugin ID:
2884
Plugin Version:
0.0.1
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows users to get admin access using a different server passwords
    Old 04-06-2012 , 09:10   tAdminByPassword v0.0.1 (2012-04-06)
    Reply With Quote #1

    Description
    This plugin allows to not only have one server password specified by sv_password, but to have several passwords each giving different access permissions.

    Requirements
    This requires the Connect extension (only the Source 2009 engine is supported).
    Thanks to asherkin for this.

    Configuration
    This plugin uses a modular approach for its configuration backend. At this time there is only a keyvalues-password store implemented.
    There are three options that can be set for each password: A group to assign to the player, an immunity value and a flag string. If you don't specify any of those, but just the password it will allow you to get on the server like the original sv_password one.
    After changing one of the stores, you can reload (and reapply) the passwords by using the command: sm_reloadpasswords.

    Using KeyValues
    This is pretty much the same as you already know from the core admin system.
    Configure passwords by editing addons\sourcemod\configs\admin_passwords.cfg.
    Code:
    "Passwords"
    {
    	"1234"
    	{
    		"groups"	"Administrator"
    		"flags"		"z"
    		"immunity"	"99"
    	}
    }
    Players connecting using the password '1234' would be added to the group 'Administrator', be given the 'z' flag and an immunity value of 99.

    Writing your own stores



    Public Servers:
    You don't have to set the sv_password convar for this, but then your players need to connect via console to get their permissions:
    connect <ip>:<port>;password <password>

    Bugs
    Report any you find, this is not as well tested as I would have liked it to.
    Attached Files
    File Type: zip tAdminPasswords_0.0.1.zip (16.5 KB, 258 views)
    File Type: sp Get Plugin or Get Source (tAdminPasswords.core.sp - 429 views - 8.7 KB)
    File Type: sp Get Plugin or Get Source (tAdminPasswords.keyvalues.sp - 409 views - 1.8 KB)
    File Type: inc tadminpasswords.inc (2.8 KB, 396 views)
    File Type: cfg admin_passwords.cfg (587 Bytes, 458 views)
    __________________
    einmal mit profis arbeiten. einmal.
    Thrawn2 is offline
    Thrawn2
    Veteran Member
    Join Date: Apr 2009
    Old 04-24-2012 , 09:13   Re: tAdminByPassword v0.0.1 (2012-04-06)
    Reply With Quote #2

    Quote:
    whyyyyyyyyyyy
    thanks
    i've never intended it to be used as Kleiner suggested, furthermore i don't get how it's especially useful for those servers.
    __________________
    einmal mit profis arbeiten. einmal.
    Thrawn2 is offline
    duydangle
    Senior Member
    Join Date: May 2010
    Old 04-24-2012 , 11:44   Re: tAdminByPassword v0.0.1 (2012-04-06)
    Reply With Quote #3

    Oh my god, this plugin, as well as your other plugins, is so useful.
    duydangle 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 17:32.


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