PlaceholderAPI
Placeholder
Section titled “Placeholder”PlaceholderAPI support is available on Paper/Folia servers. Velocity does not render PlaceholderAPI placeholders directly.
| Placeholder | Description |
|---|---|
%loritime_unformatted_onlinetime% | Unformatted time String like 363 (equal to 6 minutes and 3 seconds). |
%loritime_formatted_onlinetime% | Formatted time string like 6 minutes and 3 seconds |
%loritime_afk% | Returns true or false as output. Depending if the player is afk or not |
%loritime_seconds% | A time string like 3 representing the seconds |
%loritime_minutes% | A time string like 6 representing the minutes |
%loritime_hours% | A time string like 23 representing the hours |
%loritime_days% | A time string like 4 representing the days |
%loritime_weeks% | A time string like 3 representing the weeks |
%loritime_months% | A time string like 11 representing the months |
%loritime_years% | A time string like 1 representing the years |
%loritime_seconds_total% | A time string like 3 representing the seconds |
%loritime_minutes_total% | A time string like 6.12 representing the total minutes |
%loritime_hours_total% | A time string like 23.4 representing the total hours |
%loritime_days_total% | A time string like 4.34 representing the total days |
%loritime_weeks_total% | A time string like 3.1 representing the total weeks |
%loritime_months_total% | A time string like 11.95 representing the total months |
%loritime_years_total% | A time string like 1.65 representing the total years |
Note: The total amount of time is rounded to two decimal places.
Placeholder rendering is synchronous and does not query database-backed storage directly. Time placeholders are online-player-only: LoriTime returns the cached value for an online player, or 0 while requesting an asynchronous cache refresh when no value is cached yet. Offline or missing player requests return zero-time fallback values and do not trigger a refresh.
If you want more placeholders, open a new issue and ask.