Raised This Month: $198 Target: $400
 49% 

Clan_Tag_Protection


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management        Approver:   Johnny got his gun (102)
Gunny
Senior Member
Join Date: Mar 2004
Location: Magnolia, Texas
Old 04-23-2004 , 01:15   Clan_Tag_Protection
Reply With Quote #1

Ok, I was using this plugin with amx and decided to change one Letter in it to see if it would work with AmxModX and it did.

I changed this line
Quote:
#include <amxmod>
#include <amxmisc>
to
Quote:
#include <amxmodx>
#include <amxmisc>
(c) Copyright 2002, OLO
* This file is provided as is (no warranties).
* 2003/09/27 thomastj Altered to work with Steam
* 2004/4/22 Gunny updated to work with AmxmodX.

I have not got in touch with either of these two guys about this update and I am not going to maintain it, just wanted to pass it on.

/********************************************* ********************

Protect your clan tag on your server!

1. Create a file named clan.cfg and place it in your /addons/amxmodx/configs folder

2. Then add each members Steamid and the Clan Tag you want protected. One per line

Example of your clan.cfg:

amx_protclantag "mytag" "STEAM_0:0:123142"
amx_protclantag "mytag" "STEAM_0:0:654645"
amx_protclantag "mytag" "STEAM_0:0:457457"
amx_protclantag "anothertag" "STEAM_0:0:9988989"
amx_protclantag "anothertag" "STEAM_0:0:23432"
amx_protclantag "anothertag" "STEAM_0:0:120032"

3. Now add the following to your amxx.cfg:

exec /addons/amxmodx/configs/clan.cfg // Clan.cfg

********************************************* ***********************
Attached Files
File Type: zip clan_tag_protection.zip (11.3 KB, 4566 views)
File Type: sma Get Plugin or Get Source (clan_tag_protection.sma - 4623 views - 4.0 KB)
__________________
TEAM FORTRESS 2 - 70.85.30.25:27015
COUNTER-STRIKE SOURCE - 70.85.30.22:27015
COUNTER-STRIKE SOURCE DEATH MATCH - 70.85.30.23:27015

Last edited by Gunny; 12-10-2006 at 20:06.
Gunny is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 04-23-2004 , 01:23  
Reply With Quote #2

Only attach the sma file, the .amx file is not needed, that is what the "Get Plugin" function will do for you.
__________________

BigBaller is offline
Dabosman
Junior Member
Join Date: Mar 2004
Old 04-23-2004 , 15:34  
Reply With Quote #3

Hi, this looks like a good plugin. Altho I'm curious ... can you not do this from 'in-game' ? Do these protect lines already have to be in the admins.cfg file? We quite often use 'ringers' in our scrims if we can't find one of our clan members online at the time and it would be very nice to be able to add them 'on-the-fly' .. or even better ... to get the teams EXACTLY like you want them .. then issue one cmd (amxprotectteam) or something to automatically add all current players with their clantags (temporarily).
Dabosman is offline
Gunny
Senior Member
Join Date: Mar 2004
Location: Magnolia, Texas
Old 04-23-2004 , 18:08  
Reply With Quote #4

I believe that it can be done while in game

Your protected clan members should be added to your amxx.cfg file and not to your admin.cfg file. This was a correction/change a few version ago.

I did update the file to reflect this.
__________________
TEAM FORTRESS 2 - 70.85.30.25:27015
COUNTER-STRIKE SOURCE - 70.85.30.22:27015
COUNTER-STRIKE SOURCE DEATH MATCH - 70.85.30.23:27015
Gunny is offline
Regulate
Member
Join Date: Mar 2004
Old 04-23-2004 , 19:42  
Reply With Quote #5

Hey, could i possibly use this for Regular name protection?

No clan for my server, but i would like to protect the names of the admins, so other people cant try and imitate an admin.

What do you think?
__________________
-Reg
Regulate is offline
Dabosman
Junior Member
Join Date: Mar 2004
Old 04-23-2004 , 20:33  
Reply With Quote #6

Ah okay, thanks for the info!
Dabosman is offline
Gunny
Senior Member
Join Date: Mar 2004
Location: Magnolia, Texas
Old 04-23-2004 , 21:20  
Reply With Quote #7

Quote:
Originally Posted by Regulate
Hey, could i possibly use this for Regular name protection?

No clan for my server, but i would like to protect the names of the admins, so other people cant try and imitate an admin.

What do you think?
I never thought of it, But yes it should work just fine.

Here is an example which is listed in the sma.

//1 Gunny
amx_protclantag ".:TdoW:." "STEAM_X:X:XXXXXXX"

Where X:X:XXXXXX is the steam ID who you want to be able to use the name or Tag.
__________________
TEAM FORTRESS 2 - 70.85.30.25:27015
COUNTER-STRIKE SOURCE - 70.85.30.22:27015
COUNTER-STRIKE SOURCE DEATH MATCH - 70.85.30.23:27015
Gunny is offline
Regulate
Member
Join Date: Mar 2004
Old 04-27-2004 , 00:40  
Reply With Quote #8

Ok thanks Gunny.

Belive me its happened. The server name is "*****Jack's*****" So some ppl have joined as "Jack" and similar, and act like its their server. Which kinda makes me

Thanks for your reply
__________________
-Reg
Regulate is offline
noobsta
Junior Member
Join Date: Apr 2004
Old 04-27-2004 , 09:17  
Reply With Quote #9

this works just fine thx ^^
noobsta is offline
Regulate
Member
Join Date: Mar 2004
Old 04-30-2004 , 01:29  
Reply With Quote #10

Quote:
Sorry, this plugin failed to compile!
You should try notifying the author so they can fix this.
__________________
-Reg
Regulate is offline
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 08:53.


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