How to Manually Add a Ban to the Admin/BanList.txt??

Post Reply
User avatar
AbnRanger375
New to forums
New to forums
Posts: 3
Joined: Tue Oct 31, 2017 5:56 am
Location: Rotterdam, NY
Contact:

How to Manually Add a Ban to the Admin/BanList.txt??

Post by AbnRanger375 » Tue Oct 31, 2017 6:13 am

I have made countless attempts to manually add known hackers/cheaters to our ProCon Ban list and after hitting the "Ban" button they NEVER show up on the list. As a matter of fact, we have three pages of known hackers/cheaters and not a single one of them are showing up on the Admin/BanList.txt file.

I would like to manually add each one to the Admin/BanList.txt file but I need to know the proper format. I have searched and searched but found nothing.

ANY help would be greatly appreciated.

AbnRanger375
Senior Admin, NUNYA! Clan

User avatar
Spray
Staff
Staff
Posts: 543
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: How to Manually Add a Ban to the Admin/BanList.txt??

Post by Spray » Tue Oct 31, 2017 7:33 am

If you'd like to try to add a ban to the file by hand, it uses the following format:

The first line specifies what the ban is on:
  • guid – ban on EA GUID
  • name – ban on soldier name
  • ip – ban on game client IP address
The second line specifies the GUID/name/IP that the ban applies to
The third line specifies the duration of the ban:
  • perm – permanent
  • round – until the end of the current round
  • seconds – until the given time is reached
The fourth line contains the timestamp for a “seconds”‐type ban; otherwise it is unused.
The fifth line contains the reason for being banned. Max length 80 characters.

An example might look like:

Code: Select all

guid
EA_F2779192FC6565C739B76F626F187GEE
perm
0
0
Hacking - Permanent
If you're adding bans using an external RCON client, try issuing the following command:

banlist.save

This should write the banlist to file. All bans are stored in memory by the server while the server is online, it only reads from file at startup, or if the banlist.load command is used while the server is running.

More information about the banlist and other ban commands can be found in the official BF4 server/client documentation, linked here: http://eaassets-a.akamaihd.net/dice-gam ... trator.zip

User avatar
AbnRanger375
New to forums
New to forums
Posts: 3
Joined: Tue Oct 31, 2017 5:56 am
Location: Rotterdam, NY
Contact:

Re: How to Manually Add a Ban to the Admin/BanList.txt??

Post by AbnRanger375 » Tue Oct 31, 2017 9:09 am

Thank you for your help! I have an additional question, if you wouldn't mind.
If I wanted to include the players name, IP, PB GUID and Reason for Ban, how would it be formatted? I've made several attempts but nothing but this:

This is just an example. My intent is to show the question marks in the NAME and IP columns.
Image

User avatar
Spray
Staff
Staff
Posts: 543
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: How to Manually Add a Ban to the Admin/BanList.txt??

Post by Spray » Tue Oct 31, 2017 9:17 am

Bans could only be done by GUID, Name, or IP. The banlist.txt file doesn't support adding all 3 to a single ban. You could add 3 bans, each using a different type, if you wanted.

Banning by GUID is the most effective, as it's tied to their EA account. Name and IP could both be changed, allowing the player to rejoin the server.

User avatar
AbnRanger375
New to forums
New to forums
Posts: 3
Joined: Tue Oct 31, 2017 5:56 am
Location: Rotterdam, NY
Contact:

Re: How to Manually Add a Ban to the Admin/BanList.txt??

Post by AbnRanger375 » Tue Oct 31, 2017 10:22 am

@Spray,
Thank you for your help!

Post Reply