diff --git a/Plan/common/src/main/java/com/djrapitops/plan/placeholder/ServerPlaceHolders.java b/Plan/common/src/main/java/com/djrapitops/plan/placeholder/ServerPlaceHolders.java index 7affdb889..411cd7542 100644 --- a/Plan/common/src/main/java/com/djrapitops/plan/placeholder/ServerPlaceHolders.java +++ b/Plan/common/src/main/java/com/djrapitops/plan/placeholder/ServerPlaceHolders.java @@ -252,6 +252,11 @@ public class ServerPlaceHolders implements Placeholders { .map(TopListQueries.TopListEntry::getValue) .map(query.getCategory().equals("player_kills") ? Function.identity() : formatters.timeAmount()) .orElse("-")); + placeholders.registerStatic(String.format("top_%s_%s_%s_value_raw", query.getCategory(), query.getTimeSpan(), nth + 1), + parameters -> database.query(query.getQuery(nth, parameters)) + .map(TopListQueries.TopListEntry::getValue) + .map(String::valueOf) + .orElse("-")); } } }