Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Exclude Specific Bots from ASFFreeGames? #106

Open
darkdroider opened this issue Nov 8, 2024 · 2 comments
Open

How to Exclude Specific Bots from ASFFreeGames? #106

darkdroider opened this issue Nov 8, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@darkdroider
Copy link

Is there any way to select the bots it will work with?
Ex: It only works on bots 2,3,4,5,6 and 7. Exclude 1

@maxisoft
Copy link
Owner

maxisoft commented Nov 8, 2024

Hello,

Absolutely! There's an undocumented feature that allows you to exclude specific bots by name from using the ASFFreeGames plugin.

Here's how you can achieve this:

  1. Navigate to the config/freegames.json.config file within your ASF configuration directory.
  2. Locate the "blacklist" property within the JSON file. You might need to create it if it doesn't exist already.
  3. Update the "blacklist" property with an array containing the bot names you want to exclude. Here's an example:
{
  ...
  "blacklist": ["bot/maxisoft", "bot/another-one-to-exclude"],
  ...
}

Explanation:

  • bot/maxisoft: This example excludes the bot named "maxisoft" from the plugin logic.
  • bot/another-one-to-exclude: Similarly, this excludes another bot with the name "another-one-to-exclude".
  • The bot name used in the blacklist property is the ASF username, which may differ from the Steam username displayed in-game. To identify the correct bot name, you may need to consult your ASF configuration or logs.
  • Important: Ensure the bot names are prefixed with bot/, listed within quotes and separated by commas within square brackets [].

Important Notes:

  • ArchiSteamFarm must be closed before editing
  • This is a manual configuration, so double-check the JSON syntax for validity after making changes.
  • This feature is undocumented, so its behavior might be subject to change in future updates.

I hope this clarifies the process! Feel free to ask if you have any further questions.

Cheers,

Maxisoft

@maxisoft maxisoft changed the title Seletive collect How to Exclude Specific Bots from ASFFreeGames? Nov 8, 2024
@maxisoft maxisoft added documentation Improvements or additions to documentation enhancement New feature or request labels Nov 8, 2024
@darkdroider
Copy link
Author

Thanks bro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants