AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Clan_Tag_Protection (https://forums.alliedmods.net/showthread.php?t=1320)

Gunny 04-23-2004 01:15

Clan_Tag_Protection
 
6 Attachment(s)
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

********************************************* ***********************

BigBaller 04-23-2004 01:23

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

Dabosman 04-23-2004 15:34

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).

Gunny 04-23-2004 18:08

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.

Regulate 04-23-2004 19:42

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?

Dabosman 04-23-2004 20:33

Ah okay, thanks for the info!

Gunny 04-23-2004 21:20

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.

Regulate 04-27-2004 00:40

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 :evil:

Thanks for your reply :up:

noobsta 04-27-2004 09:17

this works just fine thx ^^

Regulate 04-30-2004 01:29

Quote:

Sorry, this plugin failed to compile!
You should try notifying the author so they can fix this.


All times are GMT -4. The time now is 15:55.

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