Kick player because of name
Hi there.
I am sick and tired of people keep using my name in my server, so I decided to try and make a small plugin witch just checks the users name and authid and see if it is really me who is using the name Jelle. But I am not sure how to do this. I get the following error: Code:
Error: Undefined symbol "Jelle" on line 19PHP Code:
EDIT: Just realized that they can join with the name "Hello" and change their name to Jelle once they are connected without anything happens. So... Next question. How do I keep track of who is changing their names? |
Re: Kick player because of name
Try this:
PHP Code:
EDIT: UPdated. |
Re: Kick player because of name
look at the clan tag protection plugin
|
Re: Kick player because of name
Thank you so much fysiks!
But there is no easier way of doing it? Making the plugin smaller by only using amxmodx include? |
Re: Kick player because of name
Quote:
|
Re: Kick player because of name
Oh okay.
Well big thanks. You have been most helpful. But what if a player changes name to "Jelle1"? Is there an easy way to check the first 5 letters of a players name, and if it is equal "Jelle", then check for authID? |
Re: Kick player because of name
Quote:
PHP Code:
PHP Code:
|
Re: Kick player because of name
Quote:
In addition to wrecked's respones: Using containi() would catch things like "1jeLLe3." |
Re: Kick player because of name
That's technically not preventing the name change. You are just changing it once it's changed.
|
Re: Kick player because of name
Quote:
|
| All times are GMT -4. The time now is 08:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.