Jump to content

Banning with Slot #?


docroadie

Recommended Posts

Hi guys,

Sorry to ask somewhat of a stupid question but how do we ban/kick person using the slot #?

I ask this because we had a Hacker in our server who we couldn't not ban. His name would not show up in Bf2cc but my buddy said he was in slot 7.

 

can anyone provide an example of what command to type to ban via slot #?

Thanks a bunch

 

Doc

 

This was the butthead causing our problems

 

http://www.punksbusted.com/cgi-bin/members...mp;query=Search

Link to comment
Share on other sites

PB_SV_Ban [name or slot #] [displayed_reason] | [optional_private_reason]

Removes a player from the game and permanently bans that player from the server based on the player's guid (based on the cdkey); the ban is logged and also written to the pbbans.dat file in the pb folder

 

pb_sv_ban 7

Link to comment
Share on other sites

Use /pb_plist to get player slot/connection number/ID's

 

Use /rcon "passwordhere" pb_sv_ban "slot or name here"

 

BF2 works a bit different from some games, so checking with www.evenbalance.com for your particulars will help, clicking on the game-link for your game.

Link to comment
Share on other sites

BE CAREFUL WHEN USING THE SLOT NUMBER!

 

I'd just like to mention that with Battlefield 2 and Battlefield 2142, the game/player slot number is different from the PunkBuster slot number. I haven't tested BF2 yet, but this definitely applies to BF2142, so I could only assume it will do the same in BF2.

 

If you look in the player list tab in-game and see the - # by their name, that is their BF2/BF2142 slot ID. Their actual PunkBuster ID is one number higher. This is due to BF2/BF2142's slots starting at 0 while PunkBuster starts at 1. Also note there are two different commands for kicking by slot number.

 

BF2/2142 Command: admin.kickplayer #

 

PunkBuster command: pb_sv_kick #
reason

If you want to kick via PunkBuster, first issue a pb_pblist command. Find the slot number of the player you want to kick. As an example, let's say you want to kick someone with the PB slot number of 5. Type the following in the console: rcon exec pb_sv_kick 5 Hacking Player -- this would kick the person with the PB slot number of 5 for the reason of Hacking Player. Issuing the command exactly as above is for use in-game only. If you are issuing it via BF2CC, try exec pb_sv_kick 5 Hacking Player (without the "rcon" in front).

 

To kick via the BF2/BF2142 Player Slot # (I would recommend THIS option as you can be absolute certain of the slot number, and you can easily see it in the player's tab)

Find the slot number of the player you want in the players tab, as an example, we will kick the person with a slot number of 4. You would then issue:
rcon admin.kickplayer 4
. You do not have the option of entering a reason using this command. Issuing it via BF2CC, type:
admin.kickplayer 4
.

I hope this helps. If it's too confusing, let me know and I'll revise it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.