# MQ2FPS

{% hint style="warning" %}
This plugin is deprecated and no longer available for MacroQuest. Framelimiting functionality is now part of **main**.
{% endhint %}

### Description

[MQ2FPS](https://macroquest2.com/phpBB3/viewtopic.php?t=8346) (VIP only) is a plugin that changes the frames per second of the Everquest screen when it is in focus and when it is in the background.

**Commands**

* /fps
* /render
* /maxfps

**/fps \[on|off]**\
\&#xNAN;**/fps \[x|y]**\
\&#xNAN;**/fps mode \[absolute|calculate]**

* On/Off enables or disables the FPS display.
* Use *x* and *y* to control the location of the FPS display on the screen.
* With *mode* you can change the FPS limiter mode to the one specified (absolute or calculate) or toggle between the

  two if no mode is specified.

\*\*/render \[bg|fg]

## |\~#\*\*

This sets the foreground or background rendering rate (ie. how many frames will be drawn). Setting the rendering rate does not slow down the game at all. The client still responds to the mouse and keyboard the same, the UI is still drawn, but the world itself is not drawn as often.

* With *#*, [MQ2FPS](/macroquest/plugins/discontinued-unsupported/mq2fps.md) will drawn 1 out of # frames.
* The use of *\~#* will cause [MQ2FPS](/macroquest/plugins/discontinued-unsupported/mq2fps.md) to draw #-1 out of # frames.

**Example**

```
 /render bg 3              Draws 1 out of 3 frames
 /render bg ~3             Draws 2 out of 3 frames
```

**/maxfps \[ bg | fg ] \[ # ]**\
Sets the foreground or background framerate.

**Example**

```
 /maxfps fg 30            Sets foreground framerate to 30 FPS
 /maxfps bg 5             Sets background framerate to 5 FPS
```

### Top-Level Objects

[*fps*](broken://pages/-Me4I98LoxtVACx2CfFV) [**FPS**](/macroquest/plugins/discontinued-unsupported/mq2fps/tlo-fps.md)

### Data types

[*fps*](broken://pages/-Me4I98LoxtVACx2CfFV) **fps**

### Examples

`/maxfps fg 25`\
`/maxfps bg 25`\
`/fps on`\
`/fps mode absolute`\
`/fps 10,25`\
`/render fg 1`\
`/render bg 75`

### Sample INI File

`ForegroundMaxFPS=25`\
`BackgroundMaxFPS=25`\
`Indicator=1`\
`Mode=1`\
`IndicatorX=10`\
`IndicatorY=25`\
`[Rendering]`\
`FGRate=1`\
`ReverseFGRate=0`\
`BGRate=75`\
`ReverseBGRate=0`

### See Also

* [Data Types](/macroquest/data-types-and-top-level-objects/data-types.md)
* [Top-Level Objects](/macroquest/data-types-and-top-level-objects/top-level-objects.md)
* [Plugins](broken://pages/-Me4I94WGlOtA0pQ_0oB)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://macroquest.gitbook.io/macroquest/plugins/discontinued-unsupported/mq2fps.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
