[ANY] Simple Admin & VIP Manager [SAVM]
81 Attachment(s)
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 :fox: Screenshots & Videos : Preview of the web-interface http://puu.sh/g51fT/a1c57075e5.png Black'n'white theme : http://puu.sh/v8dlU/987ea395f5.jpg 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" 5) You are done! For those who wanna compille the plugin manually, you will need :
Configuration Config file created under /cfg/sourcemod folder after the first start of the plugin Bugs : Any ! Yay everything is fully working ! Request :
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 ! |
Re: [ANY] Simple Admin and VIP Manager [SAVM]
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" Here is a admin panel integration : PHP Code:
Also, don't forget to visit this page daily. Updates may come every day(s) ! What's planned now : Nothing. |
Re: [ANY] Simple Admin and VIP Manager [SAVM]
Do you have a Demo site we can check out?
|
Re: [ANY] Simple Admin and VIP Manager [SAVM]
Quote:
|
Re: [ANY] Simple Admin and VIP Manager [SAVM]
Hey can you add that also so you can add Admins and Vips in admins.cfg?
|
Re: [ANY] Simple Admin and VIP Manager [SAVM]
Quote:
@Snaggle Here --> http://serverofarkarr.no-ip.biz/SimpleAdminVIPManager/ Username : demo Password : 123 PS: Don't remove database configuration please :fox: |
Re: [ANY] Simple Admin and VIP Manager [SAVM]
You should add text under those interface icons.
|
Re: [ANY] Simple Admin and VIP Manager [SAVM]
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. |
Re: [ANY] Simple Admin and VIP Manager [SAVM]
Quote:
Quote:
>>> [YOUR HOST]/SimpleAdminVIPManager/install/install.php <<< |
Re: [ANY] Simple Admin and VIP Manager [SAVM]
Quote:
Spoiler
|
All times are GMT -4. The time now is 01:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.