04-24-2012, 19:51
|
Release Bad Names Kick Plugin v3.0
|
|
04-24-2012, 20:13
(04-24-2012, 19:51)DidUknowiPwn Wrote:(04-24-2012, 19:02)OzonE Wrote: LOL . =)))) maybe you messed it up , should work .. 0_o
04-24-2012, 20:16
(This post was last modified: 04-24-2012, 20:56 by DidUknowiPwn.)
Oh well deleted my server so whatever will reinstall it soon..
Erm.. another problem XP people keep getting kicked/banned XP remember how you said people keep getting kicked? ya that's happening now.. wonder what it could be though.. it looks fine but it just kicks/bans anyone who joins
04-24-2012, 20:57
kicking everybody again?
04-24-2012, 21:06
Apparently there's still a bug. With the "working" version, it now bans everyone joining the server.
04-24-2012, 21:11
Or kicking, which ever plugin you decided to use.. that's why I was still banned on my server even after deleting the permanent_exban file.. could it be from the string[] cn = Client.Name.Split(' '); ?
04-24-2012, 22:13
no idea
04-25-2012, 01:25
04-25-2012, 15:52
(This post was last modified: 04-25-2012, 15:55 by DidUknowiPwn.)
Did a little more digging this is the command with that reason you wanted to I believe... got it from bonemind's plugin under CommandClass" ServerCommand("dropclient " + clientResult.ClientNum + " \"" + reason + "\"");"
Code: //bans a client by clientnumber
void banCommandClientNum(String command, ServerClient issuer)
{
Char[] delimit = { ' ' };
String[] split = command.Split(delimit);
if (!(split.Length > 1))
{
TellClient(issuer.ClientNum, "Please enter a player number", true);
return;
}
if (split.Length > 2)
{
String reason = "";
for (int i = 2; i < split.Length; i++)
{
reason += " " + split[i];
}
ServerCommand("banclient " + split[1]);
}
else if (split.Length <= 2)
{
ServerCommand("banclient " + split[1]);
}
TellClient(issuer.ClientNum, "Player kicked", false);Code: //kicks a client by clientnumber
void kickCommandClientNum(String command, ServerClient issuer)
{
Char[] delimit = { ' ' };
String[] split = command.Split(delimit);
if (!(split.Length > 1))
{
TellClient(issuer.ClientNum, "Please enter a player number", true);
return;
}
if (split.Length > 2)
{
String reason = "";
for (int i = 2; i < split.Length; i++)
{
reason += " " + split[i];
}
reason = warner.reasonParser(reason.Trim());
ServerCommand("dropclient " + split[1] + " \"" + reason + "\"");
}
else if (split.Length <= 2)
{
ServerCommand("dropclient " + split[1] + " \"See You...\"");
04-25-2012, 18:20
bonemind's plugin?
thats the kicking command and shit , exist in every plugin. |
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
|
|
Plugin with !ban !kick and !tampban | clemi555 | 3 | 6,353 |
11-09-2013, 09:21 Last Post: clemi555 |
| AntiNoScope Plugin | clemi555 | 5 | 7,411 |
11-08-2013, 19:13 Last Post: clemi555 |
|
| [Release] Bunker Plugin 1.3 | archit | 68 | 55,036 |
10-30-2013, 11:59 Last Post: clacki |
|
| Help Modifying plugin | maverigh | 5 | 7,464 |
10-19-2013, 10:29 Last Post: Nekochan |
|
|
|
[Request] Switch plugin | axel-le-meilleur | 6 | 8,126 |
10-19-2013, 06:59 Last Post: iRoNinja |
| [Request] Anoying and bad names kicker! | Misterio | 1 | 3,512 |
10-15-2013, 09:41 Last Post: Nekochan |
|
| [Release] Yurio Map Plugin | Yurio | 101 | 81,081 |
09-26-2013, 13:38 Last Post: First_Semyon |
|
|
|
[Release] v1.1 ChangeMap/NextMap Plugin without any configuration | milchshake | 23 | 24,793 |
09-23-2013, 13:18 Last Post: SgtLegend |
| Help !say Plugin (like the !say from GodPlugin) | Hallla | 0 | 3,563 |
09-13-2013, 09:31 Last Post: Hallla |
|
|
|
[Release] MW3: Random Weapon Plugin V1 | Nekochan | 50 | 43,952 |
09-11-2013, 15:11 Last Post: EnVi Sweden Rocks |
| Users browsing this thread: |
| 3 Guest(s) |




![[Image: back_us_button.png]](http://static.squarespace.com/static/51cca4bae4b0bf9a1f4deb75/t/52ea6a9ee4b0f767960f8c35/1390493521990/back_us_button.png)