---
name: "modParams"
type: command
status: ok
groups: ["Mods and Addons"]
arma3_since: "1.62"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/modParams
revid: 329409
updated: 2022-07-27T15:04:52Z
---

# modParams

*Command · Mods and Addons · Arma 3 v1.62*

## Description

Returns list of mod parameters according to given options, values are in same order as the given options.

## Syntax

```sqf
modParams [modClass, options]
```

**Parameters:**

- `modClass`: [String](../topics/String.md) - mod classname
- `options`: [Array](../topics/Array.md) of [String](../topics/String.md)s - can be:

  | Option | Data Type | Description |
  |---|---|---|
  | `"name"` | [String](../topics/String.md) | Name to be shown (Arma 3 instead of A3, etc.) |
  | `"picture"` | [String](../topics/String.md) | Picture shown in Mod Launcher |
  | `"logo"` | [String](../topics/String.md) | Logo to be shown in Main Menu |
  | `"logoOver"` | [String](../topics/String.md) | Logo to be shown in Main Menu when mouse is over |
  | `"logoSmall"` | [String](../topics/String.md) | Small version of logo, prepared for drawing small icons |
  | `"tooltip"` | [String](../topics/String.md) | Tooltip to be shown on mouse over |
  | `"tooltipOwned"` | [String](../topics/String.md) | Tooltip to be shown on mouse over the icon when DLC is owned by player |
  | `"action"` | [String](../topics/String.md) | URL to be triggered when mod button is clicked |
  | `"actionName"` | [String](../topics/String.md) | What to put on Action Button |
  | `"overview"` | [String](../topics/String.md) | Overview text visible in expansion menu |
  | `"hidePicture"` | [Boolean](../topics/Boolean.md) | Do not show mod picture icon in the main menu mod list |
  | `"hideName"` | [Boolean](../topics/Boolean.md) | Do not show mod name in the main menu mod list |
  | `"defaultMod"` | [Boolean](../topics/Boolean.md) | Default mods cannot be moved or disabled by Mod Launcher |
  | `"serverOnly"` | [Boolean](../topics/Boolean.md) | Mod does not have to be installed on client in order to play on server with this mod running |
  | `"active"` | [Boolean](../topics/Boolean.md) | Active mod (activated through command line or stored in profile by mod launcher)<br>> [!IMPORTANT]<br>> Note that `"active"` does not actually tell if a mod is actually running. |

**Returns:** [Array](../topics/Array.md) - retrieved requested data on success or empty array `[]`

## Examples

### Example 1

```sqf
_data = modParams ["Kart", ["name", "logo", "picture"]];
```

## See also

[configSourceModList](../commands/configSourceModList.md) · [configSourceMod](../commands/configSourceMod.md)

## Community notes

**Killzone_Kid** — 2017-04-24

This command used to spam .rpt when queried mod didn't exist, making it little awkward to use for testing if mod is active. For example:

```sqf
_superDuperModEnabled = modParams ["super_duper", ["active"]] param [0, false];
```

Since v1.69 the command would fail silently if mod didn't exist, but would still log .rpt error if the mod name passed to the command was empty or there was an error processing one of the passed options.

---

**heyoxe** — 2021-02-26

For each value, it will first read the value from the `mod.cpp` file, if the value is not in it (or the files does not exist), it will try to read it from the `CfgMods` entry as long as it has the **exact** same name. If you try to get `"name"` and the command cannot find it in either of those locations, it will return the same value as the `modClass` input.

In practice, this means that content from user mods will always be read from `mod.cpp` and never from the `CfgMods`.

---

**mikero** — 2021-10-07

Later versions of PboProject and its friends with arma as the intended engine, will **never** allow a cfgmods to appear in a pbo. Instead, it will scribble it out to a mod.cpp in the mods\ folder that this pbo was intended for.

<sub>Source: [BI Community Wiki — modParams](https://community.bistudio.com/wiki/modParams) (revision 329409).</sub>
