Simple tool for searching for Players and check their ban status, cheat score, and linked accounts (on IP) using the BF4DB API.
- Quick search for players by name or IP address
- Supports searching by Discord User ID
- *Debug mode for tracking errors
- A valid API key from BF4DB. You can get one here.
- Go 1.19 or higher (for building)
- Clone the repository:
git clone https://github.com/pruu-networking/BF4DB-Search-Tool.git cd BF4DB-Search-Tool
- Build the project:
go build -o bf4db
Run the executable with the player name or IP address you want to search for:
./bf4db <player_name_or_ip> OR <discord_user_id -dc>
# Prints:
#Searching for player_name
#player_name | Not reported | Cheat score = 0 | https://bf4db.com/player/0/
# Cheat Report: http://bf4cheatreport.com/?pid=0&uid=&cnt=200&startdate=202501010000
# BF Agency: https://battlefield.agency/player/by-persona_id/bf4/=0
Example To search for a player named "Player123":
./bf4db Player123
To search for an IP:
./bf4db 192.168.0.1
To search with Discord User ID:
./bf4db 274247581801119745 -dc
# *Debug is not available for Discord Search
-h: Show the help message.
-c: Set a new BF4DB API key.
-dc: Search for a Discord User ID.
dbg: Enable debug mode.
Contributions are welcome! Feel free to fork the repository and submit a pull request.
To get started, make sure you have Go 1.16 or later installed on your system. Then, follow these steps:
- Fork this repository to your own GitHub account.
- Clone your fork of the repository to your local machine.
- Make your changes and commit them with clear commit messages.
- Push your changes to your forked repository on GitHub.
- Submit a pull request to our repository.
If you're not comfortable submitting code changes, you can still help by opening an issue or feature request here :)
This project is licensed under the MIT License. See the LICENSE file for details.