From 9ff8cd62e8033d118c49035954a6bd33e3d83658 Mon Sep 17 00:00:00 2001 From: Risto Lahtela <24460436+Rsl1122@users.noreply.github.com> Date: Thu, 6 Feb 2020 09:23:25 +0200 Subject: [PATCH] Created PlaceholderAPI (markdown) --- PlaceholderAPI.md | 131 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 131 insertions(+) create mode 100644 PlaceholderAPI.md diff --git a/PlaceholderAPI.md b/PlaceholderAPI.md new file mode 100644 index 0000000..d867d09 --- /dev/null +++ b/PlaceholderAPI.md @@ -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_%` + +### 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 +``` \ No newline at end of file