Author Topic: How to ban a player?  (Read 1424 times)

Legacy_Lazarus Magni

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
How to ban a player?
« on: September 14, 2011, 07:31:50 am »


               I regret to have to consider this but, I see there is a setting in the nwnplayer.ini to add cd keys, ips, and player names to banned players for a server. Can some give me some more details on this? Like it says:
[Banned Ips]
0=
[Banned Players]
0=
[Banned CD Keys]
0=

What exactly are you supposed to enter here? Ip adress is straight forward, as is player name, but cd key? I assume that's the public key shown in the server log? And what if you have multiple players?  Is it 0= xyz, 1=abc?

Thanks,
Laz
               
               

               
            

Baaleos

  • Administrator
  • Hero Member
  • *****
  • Posts: 1916
  • Karma: +0/-0
How to ban a player?
« Reply #1 on: September 14, 2011, 10:54:07 am »


               Yes

IPs = Ip Addresses
Players = Player Name (Account name)
CDKey = CDKey

It should be noted, that the ban that affects a player most, is banning their account name.
An Account can have multiple CDKeys, however, only a single Account can access their Accounts Characters.

Banning Account = They would need to make a new account
Banning CDKeys = They would need a new CDKEY
Banning IP Address= they could just turn their router on and off a few times, and see if they get a new IP

There are pro's and cons for each.

I think the inbuilt dm console allows you in-game access to each of these.
               
               

               
            

Legacy_Lazarus Magni

  • Hero Member
  • *****
  • Posts: 1837
  • Karma: +0/-0
How to ban a player?
« Reply #2 on: September 14, 2011, 09:02:59 pm »


               Thank you Baaleos, I appreciate the info.
               
               

               
            

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
How to ban a player?
« Reply #3 on: September 24, 2011, 08:11:12 am »


               Some players have multiple CD keys, believe that...
               
               

               
            

Legacy_NWN DM

  • Hero Member
  • *****
  • Posts: 661
  • Karma: +0/-0
How to ban a player?
« Reply #4 on: September 24, 2011, 11:43:29 pm »


               If someone is either a) dedicated to being a '****** or, 'B)' naturally good at it, there's only so much you can do.
               
               

               
            

Legacy_Xorina

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
How to ban a player?
« Reply #5 on: October 08, 2011, 04:24:39 pm »


               

NWN DM wrote...

If someone is either a) dedicated to being a '****** or, 'B)' naturally good at it, there's only so much you can do.


Haha...

Tru dat.

'^_^'
               
               

               
            

Legacy_Wendan82

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
How to ban a player?
« Reply #6 on: September 02, 2013, 10:00:28 pm »


               Hello all!

I've got a player right now that I've banned, but I think may be coming back. I banned CD key and IP, but I'd like to check their IP somehow in the logs. Would it be possible to see somewhere the IP of a character logged into the server? Or make a tool with the scripting to tell me that?
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
How to ban a player?
« Reply #7 on: September 03, 2013, 05:13:21 am »


               Wrong forum, but... just add code to your client enter script:


    object oPC = GetEnteringObject();
    string sName = GetName(oPC);
    string sPlayername = GetPCPlayerName(oPC);
    string sKey = GetPCPublicCDKey(oPC);
    string sAddr = GetPCIPAddress(oPC);

    string sReport = ">>> ID: " + sPlayername + "; Name: " + sName + "; CD Key:" + sKey +
            "; IP:" + sAddr + "; has logged in.";

    WriteTimestampedLogEntry(sReport);
    SendMessageToAllDMs(sReport);

You can also make a wand/widget to get the ip of a player, or all players on the server, using the same Get functionality.

Funky
               
               

               
            

Legacy_Wendan82

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
How to ban a player?
« Reply #8 on: September 11, 2013, 12:33:46 pm »


               Sorry, I thought this was the closest topic. Thank you so very kindly!