Placeholders (PlaceholderAPI)
If you install PlaceholderAPI, ScalaPlot automatically registers the scalaplot expansion, usable in scoreboards, tab lists, chat, and anywhere placeholders are supported.
Placeholder list
Section titled “Placeholder list”| Placeholder | Description |
|---|---|
%scalaplot_currentplot% |
Name of the plot the player is standing in. Returns Road if the player is on the road, Unclaimed if the plot has no owner. |
%scalaplot_currentplotid% |
ID of the plot the player is standing in. Returns Road or Unclaimed in the respective cases. |
%scalaplot_playerownedplots% |
Number of plots owned by the player. |
%scalaplot_maxownableplots% |
Maximum number of plots the player can own, taking permissions (plot.vip) into account if max_ownable_plot_by_perm is enabled in config.yml. |
Example
Section titled “Example”&7Plot: &f%scalaplot_currentplot% &7(%scalaplot_playerownedplots%/%scalaplot_maxownableplots%)Will display something like:
Plot: MariosHouse (2/5)