Admin Login now with Admin Logout
2 Attachment(s)
Updated to v1.01
Now you can use the command amx_logout to log you out of admin. Admin Login - by James "rompom7" Romeril This plugin allows a user to login as admin. Set it up through a .ini file. Installation: - 1) Put the amx_login folder in your custom directory. 2) Open \custom\amx_login\loginusers.ini and edit it. 3) Put the amx_login.sma in your \scripting directory and run compile.bat 4) Copy amx_login.amx from the \scripting\compiled directory into the plugins directory 5) Add the following line to your plugins.ini : - amx_login.amx ; Allows users to login as admin 6) Restart your server. 7) Get the latest version at: - http://forums.alliedmods.net/showthr...?p=25039#26760 Much thanks to Johnny got his gun! and all the other Vets! |
They have this now. all you need to do is amx_login. Why do you need a plugin for this?
|
yes... why? Steam pretty much solves that problem by itself.
|
Quote:
|
I made it because someone requested it.
I am not entirely sure you understand what it does. If this was already possible, why didn't you reply in this thread |
can you log-out? -- or does it auto-log out when you leave the server?
|
It logs out when you leave the server. You can login as someone else at anytime. You can't log out, I might add this in a later version.
|
Approved 8)
http://home.netcom.com/~swansont/login.jpg |
Thanks JGHG :)
|
Any way of integrating this into the original admin.amx so it uses the original users.ini and adds the command??
Kind of an upgraded admin.amx? -- Hopefully it would be added as a perminent addition to the AMXx Releases? |
I was thinking that, but since I am not part of the development team I can't really say.
If your in the development team, feel free to use this code for .20 it wouldn't be hard to implement I would imagine. |
make an amx_logout
|
agreed, it makes sense that if one needs to login with any other method than setinfo _pw, then one would need a method to logout.
|
Ok, good idea. I will work on that now.
|
This one should be easy mate, just do a
Code:
:). |
Quote:
|
Updated to include the requested amx_logout command.
|
Re: Admin Login now with Admin Logout
amx_logut command set user flags "" (none).
Why not "Z" ? |
Re: Admin Login now with Admin Logout
It’s very nice, but I wonder if it is possible this:
- your name is John; - you login with Ad_name name; - all your console messages come from Ad_name, not from John (say, csay, tsay, psay ….); __________________________ Sorry about my english... I'm romanian. :) ;) CS srvr with AMXmodX itrom.cc:27015 - try it |
Re: Admin Login now with Admin Logout
where is custom folder? :-s
|
Re: Admin Login now with Admin Logout
same question like adigh...
|
Re: Admin Login now with Admin Logout
:D
|
Re: Admin Login now with Admin Logout
when i login with amx_login and use a command the name is not the one that i have in loginusers.ini . can you make it to show the name in the loginusers.ini?
|
Re: Admin Login now with Admin Logout
Good idea and plugin also. :)
|
Re: Admin Login now with Admin Logout
Exellent! Perfect for my server! My users .ini was bugged and din't worked now i found the fix and even whit logout. Now i made myself full admin (all flags exept "z") and my friends almost all flags like sub- admins :).
And i saw some one ask how to install. Its fimple: 1.Take the "custom" folder and put it in installdir\cstrike\addons\amxmodx 2. Take amx_login.amxx and put it in nstalldir\cstrike\addons\amxmodx\plugins 3. Go back up one directory 4. Open folder named "configs" 5. Open file plugins.ini (may be just plugins for you) 6. Go to the BOTTOM and make a new line, there type amx_login.amxx 7. Save file anx exit 8.Start server. (if you have it running while installation just type restart in server console or change the map) |
Re: Admin Login now with Admin Logout
"when i login with amx_login and use a command the name is not the one that i have in loginusers.ini . can you make it to show the name in the loginusers.ini?"
This is a good idea. |
Re: Admin Login now with Admin Logout
make this like if admin logins a notification comes in chat administrator login name is an administrator
|
Re: Admin Login now with Admin Logout
2 Attachment(s)
FIX USER FLAG
I fixed the problem when the user logout he will get no flags, i set it to user get user flag again. * I DID THIS CUZ I HAVE FREE VIP ON MY SERVER AND I NEEDED THE USER FLAG , IM JUST SHARING IT TO YOU * #EXTRA ADD COLORCHAT TO PLUGIN AND TAG PREFIX |
All times are GMT -4. The time now is 18:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.