AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Admin Login now with Admin Logout (https://forums.alliedmods.net/showthread.php?t=2638)

rompom7 06-11-2004 22:11

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!

Girthesniper 06-11-2004 22:30

They have this now. all you need to do is amx_login. Why do you need a plugin for this?

|2ob 06-11-2004 22:40

yes... why? Steam pretty much solves that problem by itself.

Girthesniper 06-11-2004 22:41

Quote:

Originally Posted by |2ob
yes... why? Steam pretty much solves that problem by itself.

:wink:

rompom7 06-11-2004 23:05

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

ThantiK 06-12-2004 00:49

can you log-out? -- or does it auto-log out when you leave the server?

rompom7 06-12-2004 00:58

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.

Johnny got his gun 06-12-2004 08:38

Approved 8)
http://home.netcom.com/~swansont/login.jpg

rompom7 06-12-2004 08:39

Thanks JGHG :)

ThantiK 06-12-2004 14:27

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?

rompom7 06-12-2004 16:48

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.

QwertyAccess 06-13-2004 01:18

make an amx_logout

rjlan82 06-13-2004 16:30

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.

rompom7 06-13-2004 21:30

Ok, good idea. I will work on that now.

Downtown1 06-13-2004 22:07

This one should be easy mate, just do a
Code:
set_user_flags(id, "z")

:).

rompom7 06-13-2004 23:29

Quote:

Originally Posted by Downtown1
This one should be easy mate, just do a
Code:
set_user_flags(id, "z")

:).

I wish it were that easy http://forums.alliedmods.net/showthread.php?t=2696

rompom7 06-15-2004 05:20

Updated to include the requested amx_logout command.

Dav3 06-27-2006 16:37

Re: Admin Login now with Admin Logout
 
amx_logut command set user flags "" (none).
Why not "Z" ?

adigh 09-26-2006 11:38

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

AlexRose 08-24-2007 08:44

Re: Admin Login now with Admin Logout
 
where is custom folder? :-s

Drazzy 11-03-2007 07:49

Re: Admin Login now with Admin Logout
 
same question like adigh...

naveed 07-14-2008 23:41

Re: Admin Login now with Admin Logout
 
:D

ultras_ro 07-15-2008 17:42

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?

MIk3 09-12-2008 03:24

Re: Admin Login now with Admin Logout
 
Good idea and plugin also. :)

rimlanin 10-05-2008 16:02

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)

G@rfield 02-05-2009 03:35

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.

yamin 01-26-2012 06:18

Re: Admin Login now with Admin Logout
 
make this like if admin logins a notification comes in chat administrator login name is an administrator

JoaoVieira 01-27-2016 15:25

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.