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

[ANY] Simple Admin & VIP Manager [SAVM]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Plugin ID:
4510
Plugin Version:
2.2.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A simple admin and vip manager, with a web-interface :D !
    Old 02-01-2015 , 10:31   [ANY] Simple Admin & VIP Manager [SAVM]
    Reply With Quote #1

    PLUGIN HAS BEEN RENAMED TO 'SAVM' PLEASE REMOVE THE OLD PLUGIN, 'AdminManager' !!!

    Description :
    It allow you to help to manage your admins and vip's very simply. Also, a simple web interface, why ? 'cause I HAVE TOO MUCH FREETIME ! (and it's cool)

    Demostration :
    A exemple of the web interface can be found here :
    http://tf2serverofarkarr.ddns.net/Si...minVIPManager/
    Username : demo
    Password : 123

    PS: Don't remove database configuration please

    Screenshots & Videos :

    Preview of the web-interface

    Black'n'white theme :

    CLICK TO VIEW WEB INTERFACE

    Cvar & Commands

    Cvar :
    sm_savm_enable_trial "1" Should be the command sm_trial enabled ?

    sm_savm_tmp_flags "opqrst" Flag given when someone type !trial ?

    sm_savm_trial_time "1800" For how much time the user is in trial mode (TIME IN SECONDE(S)) ?

    sm_savm_trial_day "1" Set after how much DAY(s) a user will be able to do sm_trial again ?

    Config file created under /cfg/sourcemod folder after the first start of the plugin

    Commands :

    sm_savmadd - Add a admin / vip in the database

    sm_savmedit - Edit a admin / vip in the database

    sm_savmdremove - Remove a admin / vip in the database

    sm_trial - Add temporaly a user as a admin/vip >>> HIGHLY REOMMANDED TO TAKE A LOOK AT CVAR <<<

    sm_savmexpiration - Show how much time you have your acces.

    Installation

    Oh fuuuu...

    Web interface (not needed but recommended)

    1) Download "webinterface.zip" (or webinterfaceB&W.zip for the black'n'white theme) extract and put it in your website using a FTP client, for exemple...

    1.1) Now, visit the web page, the path should be something like www. YOURHOST/SimpleAdminVIPManager/

    1.2) You should have a failure : Your database configuration doesn't exist, Oh sh*t mm ? Well, not a problem, all planned. Log to your phpmyadmin web interface www. YOURHOST.com/phpmyadmin or what ever you use and create a database named like you want, for exemple "SuperCoolDatabase"

    1.3) Now, visit again the web interface, put this time, go to www. YOURHOST.com/SimpleAdminVIPManager/install/install.php and put the corrects infos into fields, and push "accept" button, if the connetion to database worked, you should have the same webpage as in the screenshot (see "Screenshots & Videos" section of this post)

    And finally :
    REMOVE THE "install" FOLDER IN YOUR WEBSITE !!!

    Plugin only

    2) Put ManageAdmins.smx in your plugins folder.

    3) Configure your database.cfg (in your configs folder!)

    Put this at the very end of the file, but right before the last '}' :
    Code:
    	"SAVM_Database"
    	{
    		"driver"			"default"
    		"host"				"YOUR HOST"
    		"database"			"YOUR DATABASE NAME"
    		"user"				"YOUR PHPMYADMIN USER"
    		"pass"				"YOUR PHPMYADMIN PASSWORD"
    	}
    4) Reload plugins folder, restart map or restart server.

    5) You are done!

    For those who wanna compille the plugin manually, you will need :
    • MoreColors

    Configuration

    Config file created under /cfg/sourcemod folder after the first start of the plugin

    Bugs :


    Any ! Yay everything is fully working !

    Request :

    • Adding immunity group, or something like this... [REQUEST] DONE!
    • Adding group support [REQUEST] DONE!

    Thanks to :

    Wolf39us ! For his admin menu implemantation !
    Mitchell for is date check problem fix !

    Logs :
    ------
    0.1 : First public release.
    0.2 : Now, when you edit the database via the plugin, changes are immediatly made !
    0.3 : Web interface not needed anymore ! You can : instal plugin + web interface OR just plugin !
    0.4 : Fixed small bugs. All request added (Immunity + group support !)
    0.5 : Updated the web interface only. 2 new unused bouttons are now supposed to display logs !
    0.6-7 : sm_reloadadmins doesn't wipe already existing and connected admins, yay !
    0.8 : Okay, date check fixed and work now !
    0.9 : I removed the flag check in the web interface, 'cause you are supposed to put group name as well !
    1.9.0 : Cleaned a bit the code of the plugin. Also removed all upercase letter in table creation.
    1.9.1 : Added full supprot for all browser, (yes, IE included.)
    2.0.0 : Fixed minor bugs (sm_reloadadmins when typed into server console.)
    2.2.0 : Add a console on the web interface.
    -------

    IMPORTANT NOTE:
    Please, take the most up-to-date web interface (2.3.0) !
    Also, do not forget to click on the Updater button after you finished your install !
    WEB PANEL REMOVED DUE TO SECURITY ISSUE. I WILL NOT REWRITE IT.
    See post there : https://forums.alliedmods.net/showpo...&postcount=442

    https://forums.alliedmods.net/showpost.php?p=2403624&postcount=325
    This command should be run only if you used to run an older version of the plugin. Once.

    You like this plugin ? You wanna help ? Or you just have a few unused virtual coins ? Or you just want to pay me a hot chocolate ? I will be very grateful !
    Attached Files
    File Type: smx SAVM.smx (21.4 KB, 928 views)
    File Type: sp Get Plugin or Get Source (SAVM.sp - 1005 views - 21.8 KB)
    __________________
    Want to check my plugins ?

    Last edited by Arkarr; 06-03-2018 at 10:22.
    Arkarr is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 02-01-2015 , 10:35   Re: [ANY] Simple Admin and VIP Manager [SAVM]
    Reply With Quote #2

    BEFORE USING THE PLUGIN
    All date format are supposed to work like this :
    [DAY].[MONTH].[YEAR]
    Exemple :
    01.01.1999

    "Flags" field (in the webinterface) work like this :
    [FLAGS]:[IMMUNITY]
    For exemple :
    abcdfght:80

    OR

    you can also add user into groups, by puttin the name of your admins group, for exemple :
    In your admin_groups.cfg
    Code:
    "TestGroup"
    	{
    		
    		"flags"			"z"
    		"immunity"		"1"
    	}
    You want to put in the "Flags" field "TestGroup"

    Here is a admin panel integration :
    PHP Code:
    "Admin Tools"
        
    {
            
    "Add Admin"
         
    {
        
    "cmd"        "sm_savmadd #1 #2 #3 01.01.2020"
        "execute"    "player"
        "1"
        
    {
            
    "type"        "player"
            "method"    "name"
            "title"        "Player:"
        
    }
        
    "2"    
        
    {
            
    "type"        "list"
            "title"        "Flags"
            "1"        "ab"
            "1."        "VIP"
            "2"        "abcdefghij"
            "2."        "Regular Admin"
            "3"        "abcdefghijlmn"
            "3."        "Full Admin"
        
    }
        
    "3"
        
    {
            
    "type"        "list"
            "title"        "Immunity"
            "1"        "1"
            "1."        "VIP"
            "2"        "98"
            "2."        "Regular Admin"
            "3"        "99"
            "3."        "Full Admin"
          
    }
          }
            
    "Edit Admin"
         
    {
        
    "cmd"        "sm_savmedit #1 #2 #3 01.01.2020"
        "execute"    "player"
        "1"
        
    {
            
    "type"        "player"
            "method"    "name"
            "title"        "Player:"
        
    }
        
    "2"    
        
    {
            
    "type"        "list"
            "title"        "Flags"
            "1"        "ab"
            "1."        "VIP"
            "2"        "abcdef"
            "2."        "Regular Admin"
            "3"        "abcdefghijlmn"
            "3."        "Full Admin"
        
    }
        
    "3"
        
    {
            
    "type"        "list"
            "title"        "Immunity"
            "1"        "1"
            "1."        "VIP"
            "2"        "98"
            "2."        "Regular Admin"
            "3"        "99"
            "3."        "Full Admin"
          
    }
         }
         
    "Delete Admin"
        
    {
        
    "cmd"        "sm_savmdremove #1"
        "execute"    "player"
        "1"
        
    {
            
    "type"        "player"
            "method"    "name"
            "title"        "Player:"
        
    }
        }



    Also, don't forget to visit this page daily. Updates may come every day(s) !

    What's planned now :

    Nothing.
    __________________
    Want to check my plugins ?

    Last edited by Arkarr; 02-20-2015 at 09:18.
    Arkarr is offline
    Snaggle
    AlliedModders Donor
    Join Date: Jul 2010
    Location: England
    Old 02-01-2015 , 11:21   Re: [ANY] Simple Admin and VIP Manager [SAVM]
    Reply With Quote #3

    Do you have a Demo site we can check out?
    Snaggle is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 02-01-2015 , 11:26   Re: [ANY] Simple Admin and VIP Manager [SAVM]
    Reply With Quote #4

    Quote:
    Originally Posted by Snaggle View Post
    Do you have a Demo site we can check out?
    Erf.. no ? Let me buid it, just a few sec needed, please, take a virtual seat...
    __________________
    Want to check my plugins ?
    Arkarr is offline
    SnapDragon
    Member
    Join Date: Feb 2015
    Location: Under the bridge close t
    Old 02-01-2015 , 11:32   Re: [ANY] Simple Admin and VIP Manager [SAVM]
    Reply With Quote #5

    Hey can you add that also so you can add Admins and Vips in admins.cfg?
    SnapDragon is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 02-01-2015 , 11:42   Re: [ANY] Simple Admin and VIP Manager [SAVM]
    Reply With Quote #6

    Quote:
    Originally Posted by SnapDragon View Post
    Hey can you add that also so you can add Admins and Vips in admins.cfg?
    This plugin is NOT supposed to do that. Please, use the search page of this forum to found wich plugin who do that already, I know they exist, I saw them...

    @Snaggle
    Here --> http://serverofarkarr.no-ip.biz/SimpleAdminVIPManager/

    Username : demo
    Password : 123

    PS: Don't remove database configuration please
    __________________
    Want to check my plugins ?
    Arkarr is offline
    Sreaper
    髪を用心
    Join Date: Nov 2009
    Old 02-01-2015 , 12:29   Re: [ANY] Simple Admin and VIP Manager [SAVM]
    Reply With Quote #7

    You should add text under those interface icons.
    Sreaper is offline
    QentiC
    New Member
    Join Date: Jan 2015
    Old 02-01-2015 , 12:54   Re: [ANY] Simple Admin and VIP Manager [SAVM]
    Reply With Quote #8

    When trying to install the web interface, I do not get any fields to set the database info to. Huh?

    Edit: Works like a charm now! I love to control my server over web and this just made the possibilities even wider.

    Last edited by QentiC; 02-07-2015 at 15:44.
    QentiC is offline
    Arkarr
    Veteran Member
    Join Date: Sep 2012
    Location: Just behind my PC screen
    Old 02-01-2015 , 13:20   Re: [ANY] Simple Admin and VIP Manager [SAVM]
    Reply With Quote #9

    Quote:
    Originally Posted by Sreaper View Post
    You should add text under those interface icons.
    Alright ! Will do that right after I finish things...

    Quote:
    Originally Posted by QentiC View Post
    When trying to install the web interface, I do not get any fields to set the database info to. Huh?
    You didn't read the installation guide, did you ?
    >>> [YOUR HOST]/SimpleAdminVIPManager/install/install.php <<<
    __________________
    Want to check my plugins ?
    Arkarr is offline
    QentiC
    New Member
    Join Date: Jan 2015
    Old 02-01-2015 , 13:33   Re: [ANY] Simple Admin and VIP Manager [SAVM]
    Reply With Quote #10

    Quote:
    Originally Posted by Arkarr View Post
    You didn't read the installation guide, did you ?
    >>> [YOUR HOST]/SimpleAdminVIPManager/install/install.php <<<
    Spoiler
    __________________

    Last edited by QentiC; 02-01-2015 at 13:36.
    QentiC 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 12:34.


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