- Katılım
- 23 Eki 2022
- Mesajlar
- 9,678
- Çözümler
- 14
- Tepkime puanı
- 9,293
- Puanları
- 113
- Yaş
- 28
- Web sitesi
- farming-simulator.r10dev.net
FS25 Vehicle Sales Discord Bot – Farming Simulator 25 Vehicle Sale Tracker & Discord Notification Guide
The FS25 Vehicle Sales Discord Bot is a Python-based tool for Farming Simulator 25 that automatically detects vehicles available for sale and sends vehicle information to a Discord channel.The system reads the FS25 sales.xml file, extracts vehicle information from the base game and installed mods, generates an HTML vehicle sales page, and allows the Discord bot to notify users about new vehicles and vehicles that are close to leaving the sale list.
FS25 Vehicle Sales Features
The project can collect important information about vehicles currently available for purchase, including:- Vehicle name
- Vehicle brand
- Vehicle category
- Purchase price
- Vehicle age
- Damage percentage
- Wear percentage
- Operating hours
- Vehicle specifications
- Vehicle image
- Remaining sale time
How the FS25 Vehicle Sales Bot Works
The system consists of two main components.1. Vehicle Sales HTML Generator
The first Python script reads the Farming Simulator 25 sales.xml file and searches for the corresponding vehicle XML files.It extracts vehicle information from both the FS25 base game files and installed mods, then creates an HTML page called:
vehicles_on_sale.html
The generated page contains the vehicles currently available for sale along with their prices, specifications and images.
2. FS25 Discord Sales Bot
The second Python script reads the generated HTML page and checks for new vehicles.When a new vehicle is detected, the Discord bot sends an embedded notification to the configured Discord channel.
The bot can also send a last chance notification when a vehicle has one hour or less remaining in the sale.
Requirements
Before running the project, install:- Python 3.x
- Pillow
- discord.py
- BeautifulSoup4
Installation
First, download the project files and install the required Python packages.Configure the paths for:
- Farming Simulator 25 sales.xml
- FS25 data folder
- FS25 mods folder
- HTML output directory
- Vehicle image directory
For the Discord bot, configure your:
- Discord Bot Token
- Discord Channel ID
- Generated HTML file location
- Public image URL
Discord Vehicle Notifications
Once running, the bot can automatically notify your Discord community when new FS25 vehicles become available.A notification can contain the vehicle name, price, age, damage, wear, operating hours, specifications and vehicle image.
This makes the system useful for Farming Simulator 25 multiplayer communities, dedicated servers and Discord communities that want to monitor vehicle sales automatically.
Important Notes
Make sure the XML paths match your Farming Simulator 25 installation and mod directory structure.The bot also stores information about previously posted vehicles to prevent unnecessary duplicate notifications.
The original project is designed around generating an HTML sales page and reading that page from the Discord bot. It can be further extended with a database, web API, automatic scheduling, Discord commands and integration with an FS25 mod website.
Project Source
The complete source code and installation files are available on GitHub:FS25 Vehicle Sales Discord Bot – Farming Simulator 25
İçeriği görüntülemek için Giriş yapın veya Kayıt olun.
