diff --git a/ArchiSteamFarm/BotConfig.cs b/ArchiSteamFarm/BotConfig.cs index 9e4da52c5..14154b6fe 100644 --- a/ArchiSteamFarm/BotConfig.cs +++ b/ArchiSteamFarm/BotConfig.cs @@ -68,6 +68,9 @@ namespace ArchiSteamFarm { [JsonProperty(Required = Required.DisallowNull)] internal readonly byte HoursUntilCardDrops = 3; + [JsonProperty(Required = Required.DisallowNull)] + internal readonly bool IdlePriorityQueueOnly; + [JsonProperty(Required = Required.DisallowNull)] internal readonly bool IdleRefundableGames = true; diff --git a/ArchiSteamFarm/CardsFarmer.cs b/ArchiSteamFarm/CardsFarmer.cs index 906b41dfb..7f372b945 100755 --- a/ArchiSteamFarm/CardsFarmer.cs +++ b/ArchiSteamFarm/CardsFarmer.cs @@ -363,8 +363,8 @@ namespace ArchiSteamFarm { continue; } - if (GlobalConfig.SalesBlacklist.Contains(appID) || Program.GlobalConfig.Blacklist.Contains(appID) || Bot.IsBlacklistedFromIdling(appID)) { - // We have this appID blacklisted, so skip it + if (GlobalConfig.SalesBlacklist.Contains(appID) || Program.GlobalConfig.Blacklist.Contains(appID) || Bot.IsBlacklistedFromIdling(appID) || (Bot.BotConfig.IdlePriorityQueueOnly && !Bot.IsPriorityIdling(appID))) { + // We're configured to ignore this appID, so skip it continue; } diff --git a/ArchiSteamFarm/config/example.json b/ArchiSteamFarm/config/example.json index ff7344365..f878c6611 100644 --- a/ArchiSteamFarm/config/example.json +++ b/ArchiSteamFarm/config/example.json @@ -10,6 +10,7 @@ "GamesPlayedWhileIdle": [], "HandleOfflineMessages": false, "HoursUntilCardDrops": 3, + "IdlePriorityQueueOnly": false, "IdleRefundableGames": true, "IsBotAccount": false, "LootableTypes": [