Перейти к содержимому
Mineforgian

WGPlayerCount

Paper plugin that exposes PlaceholderAPI placeholders to count players inside WorldGuard regions.

Загрузки
8
Подписчики
1
Обновлён
7 июня 2026 г.
Лицензия
MIT

Опубликован 7 июня 2026 г.

🗺️ WGPlayerCount

Exposes PlaceholderAPI placeholders to count players inside WorldGuard regions in real time.


📦 Requirements


🏷️ Placeholders

👤 Single region

Returns the number of players inside the specified region.

%wgplayercount_<region>%
%wgplayercount_spawn%

👥 Multiple combined regions

Returns the total number of unique players across all regions. If a player is in two regions at once, they are only counted once.

%wgplayercount_<region1>+<region2>+...%
%wgplayercount_spawn+arena+lobby%

💡 Region IDs are case-insensitive.


⚡ How it works

The plugin scans the position of all online players every second and stores the result in a cache. Placeholder calls simply read from that cache, without any extra computation.

Ченджлог

1.0-SNAPSHOTБета1.21.9, 1.21.10, 1.21.11 · 7 июня 2026 г.

This is the first version of the project, created for 1.21.4 to 1.21.11

https://github.com/anhuar-dev/WGPlayerCount

Комментарии

Загружаем…