PlaceholderAPI

Available PlaceholderAPI placeholders for displaying plot data.

Overview

minePlots integrates with PlaceholderAPI to provide plot-related placeholders that can be used in scoreboards, tab lists, holograms, and any other plugin that supports PlaceholderAPI.

Requirements

PlaceholderAPI is an optional dependency β€” the plugin works without it, but placeholders will not be available.

Player Placeholders

These placeholders return data about the player regardless of their current location.

PlaceholderDescriptionExample Output
%minePlots_plotsLimit%Player’s maximum plot count4
%minePlots_numberOfPlots%Number of plots the player owns2
%minePlots_serverPlotCount%Total number of plots on the server156

Plot Placeholders

These placeholders return data about the plot the player is currently standing on. If the player is not on a plot, the fallback value is returned.

PlaceholderDescriptionExample Output
%minePlots_name%Plot nameMy Base
%minePlots_owner%Plot owner nameSteve
%minePlots_size%Plot dimensions21x21
%minePlots_members%Number of members3
%minePlots_maxMembers%Maximum member slots10
%minePlots_onlineMembers%Online member count1
%minePlots_isMember%Is the player a membertrue
%minePlots_isOwner%Is the player the ownerfalse
%minePlots_isClosed%Is the plot closedfalse
%minePlots_rating%Average plot rating4.5
%minePlots_expireAt%Expiration date15.02.2026 14:30:00
%minePlots_expireInMillis%Milliseconds until expiration86400000
%minePlots_membersList%Comma-separated member namesAlex, Steve
%minePlots_ranking%Plot ranking points1250

Ranking Placeholders

These placeholders display data from the plot ranking leaderboard. Replace <position> with the ranking position (starting from 0).

PlaceholderDescriptionExample Output
%minePlots_top_points_name_<position>%Plot name at ranking positionBest Base
%minePlots_top_points_points_<position>%Points at ranking position5000

Example

%minePlots_top_points_name_0%    β†’ Name of the #1 ranked plot
%minePlots_top_points_points_0%  β†’ Points of the #1 ranked plot
%minePlots_top_points_name_1%    β†’ Name of the #2 ranked plot
%minePlots_top_points_points_1%  β†’ Points of the #2 ranked plot

Fallback Value

If the player is not standing on a plot or their data is unavailable, placeholders return the fallback value configured in messages.yml:

data-not-available-placeholder: "None"

Usage Examples

Scoreboard

Plot: %minePlots_name%
Owner: %minePlots_owner%
Members: %minePlots_members%/%minePlots_maxMembers%

Tab List

Plots: %minePlots_numberOfPlots%/%minePlots_plotsLimit%

Hologram

#1 %minePlots_top_points_name_0% - %minePlots_top_points_points_0% points
#2 %minePlots_top_points_name_1% - %minePlots_top_points_points_1% points
#3 %minePlots_top_points_name_2% - %minePlots_top_points_points_2% points