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
Apparently there's still a bug. With the "working" version, it now bans everyone joining the server.
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(' '); ?
no idea
(04-24-2012, 22:13)OzonE Wrote: [ -> ]no idea
Damn man this is annoying >_> if it's kicking everyone then that means the code doesn't lead to the text file... More testing to do! Remove the DL link
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);
Can we use that? Here's also a better example of the reasoning kick..
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...\"");
got it from same place.
bonemind's plugin?
thats the kicking command and shit , exist in every plugin.