Skip to content

Commit b2da95a

Browse files
PS: Updating and improving placeholder table (#200)
1 parent 2f73eab commit b2da95a

File tree

1 file changed

+36
-31
lines changed

1 file changed

+36
-31
lines changed

plotsquared/customization/placeholders.md

Lines changed: 36 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -43,37 +43,42 @@ If you think a placeholder for PlotSquared should be added, then please [raise a
4343
4444
_Available placeholders in 6.0.0 onwards:_
4545
46-
| Placeholder | Description |
47-
|--------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|
48-
| `%plotsquared_currentplot_alias%` | Alias of the plot |
49-
| `%plotsquared_currentplot_owner%` | Owner of the plot |
50-
| `%plotsquared_currentplot_members%` | Amount of players added and trusted to the plot |
51-
| `%plotsquared_currentplot_members_added%` | Amount of players added to the plot |
52-
| `%plotsquared_currentplot_members_added_list%` | Display a list of added members |
53-
| `%plotsquared_currentplot_members_trusted%` | Amount of players trusted to the plot |
54-
| `%plotsquared_currentplot_members_trusted_list%` | Display a list of trusted members |
55-
| `%plotsquared_currentplot_members_denied%` | Amount of members denied from the plot |
56-
| `%plotsquared_currentplot_members_denied_list%` | Display a list of denied members |
57-
| `%plotsquared_currentplot_world_name%` | Get the world name |
58-
| `%plotsquared_currentplot_can_build%` | Displays true or false whether the player has build rights on the plot |
59-
| `%plotsquared_world_name%` | Get the name of the world |
60-
| `%plotsquared_has_plot%` | Displays true or false whether the player has plot |
61-
| `%plotsquared_has_plot_(world)%` | Displays true or false whether the player has plot in a specific world |
62-
| `%plotsquared_plot_count%` | Amount of global plots of a player |
63-
| `%plotsquared_plot_count_(world)%` | Amount of plots for a player in a specific world |
64-
| `%plotsquared_base_plot_count%` | Amount of global plots of a player, counting merged plots as one |
65-
| `%plotsquared_base_plot_count_(world)%` | Amount of plots for a player in a specific world, counting merged plots as one |
66-
| `%plotsquared_allowed_plot_count%` | Amount of maximum plots a player can have. Returns "infinite" if you have * permission |
67-
| `%plotsquared_currentplot_xy%` | Displays the X and Y ID of a plot |
68-
| `%plotsquared_currentplot_x%` | Displays the X ID of a plot |
69-
| `%plotsquared_currentplot_y%` | Displays the Y ID of a plot |
70-
| `%plotsquared_currentplot_rating%` | Displays the average rating of a plot |
71-
| `%plotsquared_currentplot_biome%` | Displays the biome of a plot |
72-
| `%plotsquared_currentplot_size%` | Displays the size of a merged plot |
73-
| `%plotsquared_currentplot_localflag_<flag>%` | Display the value of the flag set on current plot |
74-
| `%plotsquared_currentplot_flag_<flag>%` | Display the value of the flag set on current plot or if it's not set: display the inherited flag value (worlds.yml) |
75-
| `%plotsquared_currentplot_creationdate%` | Display the creation date of the plot |
76-
| `%plotsquared_total_grants%` | Display the total amount of plot grants |
46+
| Placeholder | Description |
47+
|---------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|
48+
| `%plotsquared_currentplot_alias%` | Alias of the plot |
49+
| `%plotsquared_currentplot_owner%` | Owner of the plot |
50+
| `%plotsquared_currentplot_owners%` | Owners of the plot (useful if multi-owner are used) |
51+
| `%plotsquared_currentplot_members%` | Amount of players added and trusted to the plot |
52+
| `%plotsquared_currentplot_members_added%` | Amount of players added to the plot |
53+
| `%plotsquared_currentplot_members_added_list%` | Display a list of added members |
54+
| `%plotsquared_currentplot_members_trusted%` | Amount of players trusted to the plot |
55+
| `%plotsquared_currentplot_members_trusted_list%` | Display a list of trusted members |
56+
| `%plotsquared_currentplot_members_denied%` | Amount of members denied from the plot |
57+
| `%plotsquared_currentplot_members_denied_list%` | Display a list of denied members |
58+
| `%plotsquared_currentplot_can_build%` | Displays `true` or `false` whether the player has build rights on the plot |
59+
| `%plotsquared_world_name%` | Get the name of the world |
60+
| `%plotsquared_has_plot%` | Displays `true` or `false` whether the player has plot |
61+
| `%plotsquared_has_plot_(world or 'this')%` | Displays `true` or `false` whether the player has plot in a specific world |
62+
| `%plotsquared_plot_count%` | Amount of global plots of a player |
63+
| `%plotsquared_plot_count_(world or 'this')%` | Amount of plots for a player in a specific world |
64+
| `%plotsquared_base_plot_count%` | Amount of global plots of a player, counting merged plots as one |
65+
| `%plotsquared_base_plot_count_(world or 'this')%` | Amount of plots for a player in a specific world, counting merged plots as one |
66+
| `%plotsquared_allowed_plot_count%` | Amount of maximum plots a player can have (returns "infinite" if you have `plots.admin` or `plots.plot.*` permission) |
67+
| `%plotsquared_currentplot_xy%` | Displays the X and Y ID of a plot (from the base plot if merged) |
68+
| `%plotsquared_currentplot_x%` | Displays the X ID of a plot (from the base plot if merged) |
69+
| `%plotsquared_currentplot_y%` | Displays the Y ID of a plot (from the base plot if merged) |
70+
| `%plotsquared_currentplot_abs_xy%` | Displays the X and Y ID of a plot (absolute = not base plot if merged) |
71+
| `%plotsquared_currentplot_abs_x%` | Displays the X ID of a plot (absolute = not base plot if merged) |
72+
| `%plotsquared_currentplot_abs_y%` | Displays the Y ID of a plot (absolute = not base plot if merged) |
73+
| `%plotsquared_currentplot_rating%` | Displays the average rating of a plot |
74+
| `%plotsquared_currentplot_biome%` | Displays the biome of a plot |
75+
| `%plotsquared_currentplot_size%` | Displays the size of a merged plot |
76+
| `%plotsquared_currentplot_creationdate%` | Display the creation date of the plot |
77+
| `%plotsquared_total_grants%` | Display the total amount of plot grants |
78+
| `%server_plot_count%` | Amount of all plots on the entire server |
79+
| `%server_plot_count_(world or 'this')%` | Amount of all plots on the entire server in the specified world |
80+
| `%server_base_plot_count%` | Amount of all plots on the entire server, counting merged plots as one |
81+
| `%server_base_plot_count_(world or 'this')%` | Amount of all plots on the entire server in the specified world, counting merged plots as one |
7782

7883
## External placeholders
7984

0 commit comments

Comments
 (0)