AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Clan Tag Checker ( Protector ) v2.0 (https://forums.alliedmods.net/showthread.php?t=15067)

v3x 07-09-2005 03:12

Clan Tag Checker ( Protector ) v2.0
 
2 Attachment(s)
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! :D

[nFb]GraveKeeper 07-09-2005 03:20

Great idea.

Front Line 07-09-2005 03:41

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

v3x 07-09-2005 03:43

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.

Front Line 07-09-2005 03:45

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

One shot dont miss! 07-09-2005 04:29

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|

Front Line 07-09-2005 04:34

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

v3x 07-09-2005 04:34

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

One shot dont miss! 07-09-2005 04:38

put would that miss it up? bc our tags r in the bak and front

v3x 07-09-2005 04:41

Add those 2 lines for every person.. It'll search the WHOLE name for those tags and compare Steam ID's.. etc.. :P


All times are GMT -4. The time now is 08:19.

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