# Cross-Server Player Count (Proxies using Redis)

## How do I use the Pinger placeholder?

#### First you will need to install the Pinger Expansion

```
/papi ecloud download Pinger
/papi reload
```

After you've installed the Pinger expansion you can use the following placeholder

```
%pinger_players_[ip]:[port]%
```

## How can I see the global amount of Players + Fake Players?

#### First you will need to install the Math Expansion

```
/papi ecloud download Math
/papi reload
```

After you've installed the Math Expansion, go to `PlaceholderAPI folder`, you can simply use this:\[Props to jokerset5 for updating this method]

```javascript
%math_0:_{pinger_players_IPSERVER1}+{pinger_players_IPSERVER2}%
```

{% hint style="danger" %}
You must have [PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/) installed in order to use the Pinger and Math placeholder!
{% endhint %}


---

# 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://docs.spoof.dev/asteroid/tips/cross-server-player-count-proxies-using-redis.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.
