mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-22 10:35:58 +01:00
Created PlaceholderAPI (markdown)
parent
7ad9766184
commit
9ff8cd62e8
131
PlaceholderAPI.md
Normal file
131
PlaceholderAPI.md
Normal file
@ -0,0 +1,131 @@
|
||||
![Plan Header](https://puu.sh/AXSg7/5f2f78c06c.jpg)
|
||||
|
||||
# PlaceholderAPI
|
||||
|
||||
Plan has some placeholders.
|
||||
|
||||
> 📢 **Important**
|
||||
>
|
||||
> Plan fetches data from database for the placeholders, and the values are not cached.
|
||||
> **DO NOT USE the placeholders in scoreboards, tab list or anything that updates frequently**
|
||||
|
||||
Page version: **5.0 build 382**
|
||||
|
||||
## List of Placeholders
|
||||
|
||||
Use placeholders like this: `%plan_<placeholder>%`
|
||||
|
||||
### Player
|
||||
|
||||
These placeholders are about the player who sees the placeholder.
|
||||
|
||||
```
|
||||
player_banned
|
||||
player_operator
|
||||
player_sessions_count
|
||||
player_kick_count
|
||||
|
||||
player_death_count
|
||||
player_mob_kill_count
|
||||
player_player_kill_count
|
||||
player_kill_death_ratio
|
||||
|
||||
player_ping_average_day
|
||||
player_ping_average_week
|
||||
player_ping_average_month
|
||||
|
||||
player_lastseen
|
||||
player_registered
|
||||
|
||||
player_time_active
|
||||
player_time_afk
|
||||
player_time_total
|
||||
player_time_day
|
||||
player_time_week
|
||||
player_time_month
|
||||
|
||||
player_server_time_active
|
||||
player_server_time_afk
|
||||
player_server_time_total
|
||||
player_server_time_day
|
||||
player_server_time_week
|
||||
player_server_time_month
|
||||
|
||||
player_favorite_server
|
||||
```
|
||||
|
||||
### World
|
||||
|
||||
These placeholders are about a specific world
|
||||
|
||||
```
|
||||
worlds_playtime_total_%worldname%
|
||||
```
|
||||
Change `%worldname%` with the name of the world like `world_nether`
|
||||
|
||||
### Server
|
||||
|
||||
These placeholders are about the server the placeholder is used on
|
||||
|
||||
```
|
||||
operators_total
|
||||
|
||||
sessions_play_time_total
|
||||
sessions_play_time_day
|
||||
sessions_play_time_week
|
||||
sessions_play_time_month
|
||||
|
||||
sessions_active_time_total
|
||||
sessions_active_time_day
|
||||
sessions_active_time_week
|
||||
sessions_active_time_month
|
||||
|
||||
sessions_afk_time_total
|
||||
sessions_afk_time_day
|
||||
sessions_afk_time_week
|
||||
sessions_afk_time_month
|
||||
|
||||
sessions_unique_players_total
|
||||
sessions_unique_players_day
|
||||
sessions_unique_players_week
|
||||
sessions_unique_players_month
|
||||
|
||||
sessions_players_death_total
|
||||
sessions_players_death_day
|
||||
sessions_players_death_week
|
||||
sessions_players_death_month
|
||||
|
||||
sessions_players_kill_total
|
||||
sessions_players_kill_day
|
||||
sessions_players_kill_week
|
||||
sessions_players_kill_month
|
||||
|
||||
sessions_mob_kill_total
|
||||
sessions_mob_kill_day
|
||||
sessions_mob_kill_week
|
||||
sessions_mob_kill_month
|
||||
|
||||
sessions_average_session_length_total
|
||||
sessions_average_session_length_day
|
||||
sessions_average_session_length_week
|
||||
sessions_average_session_length_month
|
||||
|
||||
sessions_average_unique_players_total
|
||||
sessions_average_unique_players_day
|
||||
sessions_average_unique_players_week
|
||||
sessions_average_unique_players_month
|
||||
sessions_new_players_day
|
||||
sessions_new_players_week
|
||||
sessions_new_players_month
|
||||
|
||||
ping_total
|
||||
ping_day
|
||||
ping_week
|
||||
ping_month
|
||||
|
||||
sessions_peak_count
|
||||
sessions_peak_date
|
||||
|
||||
sessions_recent_peak_count
|
||||
sessions_recent_peak_date
|
||||
```
|
Loading…
Reference in New Issue
Block a user