diff --git a/ArchiSteamFarm/IPC/Controllers/Api/PluginsController.cs b/ArchiSteamFarm/IPC/Controllers/Api/PluginsController.cs
index c3870d34b..d7a286dcc 100644
--- a/ArchiSteamFarm/IPC/Controllers/Api/PluginsController.cs
+++ b/ArchiSteamFarm/IPC/Controllers/Api/PluginsController.cs
@@ -37,9 +37,28 @@ namespace ArchiSteamFarm.IPC.Controllers.Api;
[Route("Api/Plugins")]
public sealed class PluginsController : ArchiController {
+ ///
+ /// Gets active plugins loaded into the process.
+ ///
[HttpGet]
[ProducesResponseType>>((int) HttpStatusCode.OK)]
- public ActionResult>> PluginsGet() => Ok(new GenericResponse>(PluginsCore.ActivePlugins));
+ public ActionResult>> PluginsGet([FromQuery] bool official = true, [FromQuery] bool custom = true) {
+ HashSet result = [];
+
+ foreach (IPlugin plugin in PluginsCore.ActivePlugins) {
+ if (plugin is OfficialPlugin) {
+ if (official) {
+ result.Add(plugin);
+ }
+ } else {
+ if (custom) {
+ result.Add(plugin);
+ }
+ }
+ }
+
+ return Ok(new GenericResponse>(result));
+ }
///
/// Makes ASF update selected plugins.