AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Advanced Admin Removal (through console) (https://forums.alliedmods.net/showthread.php?t=55750)

SweatyBanana 05-28-2007 20:12

Advanced Admin Removal (through console)
 
8 Attachment(s)
Advanced Admin Removal (through console)


Ever wanted to get rid of that pesky admin that has been troubling you for a while now, but you haven't gotten around to opening up users.ini to remove him/her?

Well then this plugin is just for you!

Anybody with rcon access simply type:

Code:

amx_removeadmin "STEAMID (or part of their username)"


and the line will automatically be commented with a semi-colon within users.ini

Absolutely no more hassle with those pesky admins!





Code:

v0.2 -- Added user name removal.

Next version: SQL compatibility, optimized file natives, etc.

Bo0m! 05-28-2007 20:14

Re: In Game Admin Removal
 
About time. :wink:

Hawk552 05-28-2007 20:33

Re: In Game Admin Removal
 
Check if they're in the game and take away their flags if they are.

Actually, make it so you can pass a name or userid.

Dizzy 05-28-2007 20:57

Re: In Game Admin Removal
 
Nice! Helps for those servers (non dedicated) that require you to hook up to the FTP server and edit it. Gets quite annoying.

Nice job!

vvg125 05-28-2007 22:15

Re: In Game Admin Removal
 
Maybe this will stop the large number of people asking how to remove admin through console?

But yea... nice job. This shoulda been done long ago.

Bad_Bud 05-28-2007 22:37

Re: In Game Admin Removal
 
What about just removing some of their flags?

SweatyBanana 05-29-2007 00:30

Re: In Game Admin Removal
 
Quote:

Originally Posted by Hawk552 (Post 483136)
Check if they're in the game and take away their flags if they are.

Actually, make it so you can pass a name or userid.

Working on it :)

teame06 05-29-2007 00:47

Re: In Game Admin Removal
 
There one big problem with all this ie. (change name, reconnect). They will get admin back. Since currently admins are held in memory in admin.sma. So your going to have to force a reload of the admin using the command.

SweatyBanana 05-29-2007 01:03

Re: In Game Admin Removal
 
Uploaded new version.

Emp` 05-29-2007 01:07

Re: In Game Admin Removal
 
Approved. Letting it sit here for a little bit so people can see it.


All times are GMT -4. The time now is 20:48.

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