koishi-plugin-apexrankwatch
koishi-plugin-apexrankwatch is an Apex Legends query and monitoring plugin for Koishi.
It supports querying player rank, RP, level, online status, season end time, Master/Predator count and Predator threshold, and also supports continuous automatic monitoring of player RP changes in group chats with push notifications.
Features
- Query player current rank, RP, level, online status, current legend, and UID
- Supports
uid:/uuid:prefix queries - Supports automatic platform fallback:
PC -> PS4 -> X1 -> SWITCH - Supports querying current season end time
- Supports querying Master/Predator count and Predator threshold
- Supports continuous monitoring of player RP changes in group chats with automatic notifications
- Compatible with old Koishi plugin usage habits and historical data directories
- Protection against abnormal RP drops and API errors to prevent incorrect data from overwriting original records
Installation
yarn add koishi-plugin-apexrankwatch
After installation, enable the plugin in Koishi and fill in a valid Apex API Key.
Common Commands
/apextest/apexhelp/apexrank <player name|uid:...> [platform]/apexrankwatch <player name|uid:...> [platform]/apexranklist/apexrankremove <player name|uid:...> [platform]/apexpredator/apexseason/apexblacklist <add|remove|list|clear> <player ID>/赛季关闭/赛季开启
Command Aliases
apex帮助apexrankhelpapex查询查询apex监控持续查询apex列表apex移除取消持续查询apex猎杀apex赛季新赛季apex测试apex黑名单不准查询apexban
Usage Examples
Query a player:
/apexrank moeneri
/apexrank moeneri pc
/apexrank uid:1010153800824
Add group monitoring:
/apexrankwatch moeneri
/apexrankwatch moeneri ps4
View monitoring list:
/apexranklist
Remove monitoring:
/apexrankremove moeneri
Query season info:
/apexseason
/新赛季
Query Predator threshold:
/apexpredator
Usage Notes
- When no platform is specified, the plugin will automatically try multiple platforms
- If the same player name is monitored on multiple platforms, it is recommended to explicitly specify the platform when removing
- Season info comes from the public site
apexseasons.online - Player queries, monitoring, and Predator threshold depend on
api.mozambiquehe.re - If no valid API Key is configured, the plugin can still load, but online query features will be unavailable
Data Directory
The default data directory is:
./data/apexrankwatch
Main files include:
groups.json: group monitoring datasettings.json: dynamic blacklist and season keyword toggle
License
MIT