Raised This Month: $51 Target: $400
 12% 

Player Nick


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tonka^
New Member
Join Date: May 2005
Old 05-31-2005 , 15:01   Player Nick
Reply With Quote #1

Is there a plugin that works so when a player comes on to my dedicated server with the nick Player he can be kicked or asked to change his name to a clan tag etc,if u know what i mean need any more info plz reply
Tonka^ is offline
Send a message via MSN to Tonka^
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 05-31-2005 , 15:12  
Reply With Quote #2

Code:
#include <amxmodx> public plugin_init() {     register_plugin("Kick Player","1.0","XCoder") } public client_authorized(id) {     new name[32]     get_user_name(id,name,31)     if(equali(name,"Player")) {         server_cmd("kick #%i",id)         client_print(0,3,"Player disconnected for having the name ^"Player^"")     }     return PLUGIN_CONTINUE }
__________________
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
cs.war3lt.com
Junior Member
Join Date: May 2005
Old 05-31-2005 , 15:57  
Reply With Quote #3

or change nict to "I`m-lol#001"
cs.war3lt.com is offline
Proach
Veteran Member
Join Date: Jan 2005
Location: The Netherlands
Old 05-31-2005 , 16:42  
Reply With Quote #4

or just stfu
__________________

www.psmod.net (the better psychostats)
PAOL
Proach is offline
Send a message via ICQ to Proach
cs.war3lt.com
Junior Member
Join Date: May 2005
Old 05-31-2005 , 17:04  
Reply With Quote #5

yeah.. right
cs.war3lt.com is offline
Tonka^
New Member
Join Date: May 2005
Old 05-31-2005 , 17:25  
Reply With Quote #6

soz i noob with scripting do i make a txt doc and paste in there in SteamApps\email.com\dedicated server\cstrike\addons\amxmodx\scripting\inclu de
amd forgot to say running amxx
Tonka^ is offline
Send a message via MSN to Tonka^
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 05-31-2005 , 17:41  
Reply With Quote #7

I'm actually working on a "Name Restriction" plugin. It's in beta right now but is working pretty well.

The player's name is looked at when they join a team and when they change their name mid-game.

My plugin will allow you to specify regex patterns that, when matched to a player's name, would "punish" the player by either renaming them, kicking them, or banning them. Prior to the punishment, the user will see a message indicating that they are about to be punished and why.

Each regex pattern can have a different punishment.

Each regex pattern with a punishment of "rename" can specify a specific name to use when that pattern is matched (otherwise it will default to "My Name was Bad").

If you're interested in it, PM me and I'll get you a copy with instructions.
Brad 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 23:44.


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