Raised This Month: $94 Target: $400
 23% 

AllInfo 1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   EKS (167)
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 08-21-2005 , 08:24   AllInfo 1.0
Reply With Quote #1

Code:
// All Info - Remo Williams - Easiest coding ever I know....lol.
// Flag "C" To Get AllInfo
// This Plugin Logs Each Player's STEAMID, NAME, and IP ADDRESS to a log file.
// It logs the information on connect, and again if you use the command.
// Log File is located at Addons/amxmodx/logs/allinfo_players.txt
// I hate .log files.
// lol.
// Usage: amx_allinfo <Name>
//
//
//
//////////////////////////////////
// Change Log			//
//////////////////////////////////////////////////////////
// 1.0 - First Release					//
// 1.1 - Removed Non-sense Code				//
//     - Changed Access Detection Code			//
//////////////////////////////////////////////////////////
This should be error proof. If there is any problems, or additions you want, request them, and I may add them.

amx_allinfo, Also echos the STEAMID, IP, and NAME of the player to the admin who issued the command. It echoes it to both the console and chat.
Attached Files
File Type: sma Get Plugin or Get Source (allinfo.sma - 3653 views - 2.0 KB)
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 08-21-2005 , 10:48  
Reply With Quote #2

Good idea ;)
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 08-21-2005 , 10:59  
Reply With Quote #3

Thank You

I needed it badly on my server. People kept notifying me of scum on the server, and I'm always like "Did you get their steamid?".....of course they didn't. But Now each player is logged, ip, steamid, name, and time they join .

UberPwn
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 08-21-2005 , 11:04  
Reply With Quote #4

Also, instead of:
Code:
public allinfo(id) {         if (!(get_user_flags(id)&ADMIN_KICK)) {         return PLUGIN_HANDLED     }          // ... }
Use:
Code:
public allinfo(id,level,cid) {         if (!cmd_access(id,level,cid,2) {         return PLUGIN_HANDLED     }          // ... }
And this is not needed:
Code:
read_argv(0,command,31)
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
XeNo
Member
Join Date: Aug 2005
Old 08-21-2005 , 12:21  
Reply With Quote #5

Sounds good ^_^ been waiting for a plugin like this! I'll test it out now

EDIT: Works great!! Thanks!!! But I had a suggestion, maybe, if a user comes in on that steamid/ip register their alternate names as well? And then list them when you do amx_allinfo (player) so you can see if maybe it's one of your clanmates/friends/if they're a regular thats a hacker? Seems unnecassary because your banning them but it would be nice to know if they are. ^_^ But otherwise the plugin's perfect!
XeNo is offline
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 08-21-2005 , 13:49  
Reply With Quote #6

Quote:
Originally Posted by v3x
Also, instead of:
Code:
public allinfo(id) {         if (!(get_user_flags(id)&ADMIN_KICK)) {         return PLUGIN_HANDLED     }          // ... }
Use:
Code:
public allinfo(id,level,cid) {         if (!cmd_access(id,level,cid,2) {         return PLUGIN_HANDLED     }          // ... }

What's The difference?
Quote:
Originally Posted by v3x
And this is not needed:
Code:
read_argv(0,command,31)
I forgot to take that out, I was making a failsafe echo before, but i deleted it .

Updated!

----
And Xeno, I don't know how I would do that, if you want something like that, get "remember the names" plugin.
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
XeNo
Member
Join Date: Aug 2005
Old 08-21-2005 , 13:57  
Reply With Quote #7

Well..Theres a spectator program out there that does it, thought maybe it was possible to make it a plugin too ^_^ But no biggie, still works great! Hope it gets approved, could really help people out!
XeNo is offline
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 08-21-2005 , 14:50  
Reply With Quote #8

Thanks man. If you really want a nick name storing plugin, just search for "remember the names" plugin. It'll show up, but you'll need a mysql connection.
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
XeNo
Member
Join Date: Aug 2005
Old 08-21-2005 , 14:51  
Reply With Quote #9

Okie, thanks
XeNo is offline
CubicVirtuoso
Senior Member
Join Date: Sep 2004
Location: Canada
Old 08-21-2005 , 15:00  
Reply With Quote #10

Very nice great idea and nice plugin
__________________
Sig Under Construction.
CubicVirtuoso is offline
Send a message via ICQ to CubicVirtuoso Send a message via AIM to CubicVirtuoso Send a message via MSN to CubicVirtuoso Send a message via Yahoo to CubicVirtuoso
Reply


Thread Tools
Display Modes

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 20:09.


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