ItsMods

Full Version: Bad Names Kick Plugin v3.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
(04-24-2012, 19:02)OzonE Wrote: [ -> ]LOL . =))))
if you have access to your VPS , erase your name and XUID from permanent.ban file in main folder.
i updated the first post , good job. OMA

Tried that didn't work lol.. just deleted my whole MW3 server folder besides my plugins, addon, and admin folder >_> Big Grin Heart
(04-24-2012, 19:51)DidUknowiPwn Wrote: [ -> ]
(04-24-2012, 19:02)OzonE Wrote: [ -> ]LOL . =))))
if you have access to your VPS , erase your name and XUID from permanent.ban file in main folder.
i updated the first post , good job. OMA

Tried that didn't work lol.. just deleted my whole MW3 server folder besides my plugins, addon, and admin folder >_> Big Grin Heart

maybe you messed it up , should work .. 0_o
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
kicking everybody again?
Apparently there's still a bug. With the "working" version, it now bans everyone joining the server. Smile
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 Fuck yea!
(04-24-2012, 22:13)OzonE Wrote: [ -> ]no idea Fuck yea!

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 Smile
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.
Pages: 1 2 3 4 5 6 7 8