Raised This Month: $32 Target: $400
 8% 

Clan Tag Checker ( Protector ) v2.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   devicenull (200)
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-09-2005 , 03:12   Clan Tag Checker ( Protector ) v2.0
Reply With Quote #1

Clan Tag Checker v2.0 - by v3x

So.. How is this different from the "Clan Tag Protection" plugin? I'll tell you.. You have a file in this one, in which you can store tags/Steam ID's/comments. Also, another nice feature about this plugin is that you can actually add tags to the file from a command, in-game! I'll go more into depth about that in a bit..

Commands:
  • amx_addplayer "Tag Here" <nick,#userid>
  • amx_addsteam "Tag Here" "STEAM_0:0:129394"
  • THE STEAM ID MUST HAVE QUOTES AROUND IT TO WORK!

The above commands will automatically format a line containing the tag/authid and put it in the file.

When the player connects or changes his name, the plugin will automatically go through the list and try to find that tag is the player's name. If it does, it will kick him with the message "Clan Tag Protected" after 3 seconds. Then it'll display a message to all players.

File Format: ( clan_tags.ini goes in your /configs directory! )
Quote:
"LoCk !" STEAM_0:0:293023
"[Wo0t]" STEAM_0:0:934923
"{NM}" STEAM_0:0:832983
You can also add comments by adding an ' ; ' in front of the line like so:
Quote:
; this is a comment, it won't be read as a tag
To do:
  • - Add checking of duplicate tags with the same auth ID's in the command. Changed .txt to .ini .
  • Add tag remover command
  • Add optional immunity and reserved slot flags

Updates:
  • v1.0 - Initial plugin release
  • v1.1 - Added/adjusted in-game commands
  • v2.0 - Largely rewritten & fixed a few bugs

Quote:
NOTES:
You cannot have "double quotes" in the clan tag itself! The plugin will automatically remove them. Maybe in a future release I will make it so you can use quotes.

If you remove someone's tag from the list, and they are in the game and they change their name to something else, they will be kicked because it's going to go by the old name. Nothing major, just thought I'd point that out.

I HIGHLY RECOMMEND THAT YOU DON'T EDIT CURRENT PLAYERS FROM THE FILE WHILE THEY ARE IN-GAME! ( It could kick them and they'd have to reconnect )
*NEW* Want a version that doesn't check bots? Go here:
http://forums.alliedmods.net/showthr...=143804#148826

Enjoy!
Attached Files
File Type: zip clan_tag_checker.zip (231 Bytes, 5963 views)
File Type: sma Get Plugin or Get Source (clan_tag_checker.sma - 8072 views - 5.4 KB)
__________________
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
[nFb]GraveKeeper
Senior Member
Join Date: Mar 2004
Location: Connecticut, U.S.A.
Old 07-09-2005 , 03:20  
Reply With Quote #2

Great idea.
[nFb]GraveKeeper is offline
Send a message via AIM to [nFb]GraveKeeper
Front Line
Senior Member
Join Date: Jan 2005
Old 07-09-2005 , 03:41  
Reply With Quote #3

nice idea ma nigga asoon as i get ma points up
u aint gonna have 2 lik a nub.
__________________
My plugins...

Are all Here...Click Me
Front Line is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-09-2005 , 03:43  
Reply With Quote #4

Thanks..
Quote:
NOTE:
If you remove someone's tag from the list, and they are in the game and they change their name to something else, they will be kicked because it's going to go by the old name. Nothing major, just thought I'd point that out.
__________________
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
Front Line
Senior Member
Join Date: Jan 2005
Old 07-09-2005 , 03:45  
Reply With Quote #5

maybe u shoulda editer your first post
but i guess its good here and there to boast...
so here' here' lets have a toast!
__________________
My plugins...

Are all Here...Click Me
Front Line is offline
One shot dont miss!
Senior Member
Join Date: Jun 2005
Old 07-09-2005 , 04:29  
Reply With Quote #6

my clan goes by rank so our tags r like this .VTS* Vash |CSM|<rank can i add that like this .VTS* STEAM_ID |CSM|
__________________
One shot dont miss! is offline
Front Line
Senior Member
Join Date: Jan 2005
Old 07-09-2005 , 04:34  
Reply With Quote #7

actually that would be a good idea for a public plugin lik thta...

it shows after the name your ranking..e.g.

Tupac #53
Front Line #42
Biggie #14
__________________
My plugins...

Are all Here...Click Me
Front Line is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-09-2005 , 04:34  
Reply With Quote #8

Quote:
Originally Posted by One shot dont miss!
my clan goes by rank so our tags r like this .VTS* Vash |CSM|<rank can i add that like this .VTS* STEAM_ID |CSM|
You could do something like this:
Quote:
".VTS*" STEAM_0:0:102913
"|CSM|" STEAM_0:0:102913
__________________
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
One shot dont miss!
Senior Member
Join Date: Jun 2005
Old 07-09-2005 , 04:38  
Reply With Quote #9

put would that miss it up? bc our tags r in the bak and front
__________________
One shot dont miss! is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-09-2005 , 04:41  
Reply With Quote #10

Add those 2 lines for every person.. It'll search the WHOLE name for those tags and compare Steam ID's.. etc..
__________________
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
Reply



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 13:38.


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