This bot is designed to monitor and join available battles on the Key-Drop platform.
- Continuously monitor active battles
- Automatically join available free battles
- Adjustable sleep intervals and ticket cost threshold
- Error handling for network requests
- Logging system to track activity and errors
-
Clone this repository:
git clone https://github.com/kWAYTV/keydrop-battle-farm.git
-
Navigate into the project directory:
cd casebattle-bot
-
Install the required Python packages:
pip install -r requirements.txt
-
Obtain your Key-Drop Bearer token:
- Go to Key-Drop.com
- Inspect the website in the network tab (right-click on the page, select "Inspect" or "Inspect Element", then go to the "Network" tab)
- Search for "token" in the network tab
- If you can't find it, refresh the page once
- You should see a request like
token?t=12345
. Your token is in here.
-
Replace
"your_token_here"
in the main script with your actual token. -
Adjust the ticket cost threshold.
-
Run the script:
python main.py
- Proxy support
The CaseBattle
class can be initialized with the following optional parameters from the config file:
token
(str): Your Key-Drop token for API requests. (Required)sleep_interval
(int): The number of seconds the bot should sleep between checking battles. Default is 1.ticket_cost_threshold
(int): The maximum ticket cost that the bot should consider for free battles. Default is 1000.ratelimit_sleep
(int): The time it will sleep after being ratelimited. Default is 30
Example:
```python
cb = CaseBattle(token="your_token_here", sleep_interval=2, ticket_cost_threshold=500)
```
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is intended for educational purposes only and is not recommended for use. I am not responsible for any misuse or any issues arising from this project. This includes, but is not limited to, account suspensions/bans or legal issues.
The user assumes all risks. Using this script on platforms without explicit permission may violate terms of service. It is the user's responsibility to use this script responsibly.
Please respect all applicable laws and terms of service when using this project.