From 5f9dffc3c75168d283600fb8a91c312ff5af5fcf Mon Sep 17 00:00:00 2001 From: RbR <665978+rbluer@users.noreply.github.com> Date: Fri, 27 Nov 2020 03:58:58 -0500 Subject: [PATCH 1/4] Update Placeholders.md Added the current placeholders for the Prison plugin. --- wiki/Placeholders.md | 131 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 131 insertions(+) diff --git a/wiki/Placeholders.md b/wiki/Placeholders.md index 1c694c4..e46318d 100644 --- a/wiki/Placeholders.md +++ b/wiki/Placeholders.md @@ -217,6 +217,7 @@ If the command itself isn't there and `NO DOWNLOAD COMMAND` instead is shown, th - **[PointsAPI](#pointsapi)** - **[PowerRanks](#powerranks)** - **[PremiumVanish](#premiumvanish)** +- **[Prison](#prison)** - **[PrisonMines](#prisonmines)** - **[PrisonRanksX](#prisonranksx)** - **[ProCosmetics](#procosmetics)** @@ -3088,6 +3089,136 @@ Check [Plan Wiki](https://github.com/plan-player-analytics/Plan/wiki/Placeholder ---- +- ### **[Prison](https://www.spigotmc.org/resources/1223/)** +> NO DOWNLOAD COMMAND + +Each placeholder has a shorter alias, which follow immediatly. + +Player rank placeholders. Must be used directly with a player, such as player chat placeholders. +These placeholders can return zero, one, or more rank related placeholders depending upon how many ladders the player is on. + +``` +%prison_rank% +%prison_r% +%prison_rank_tag% +%prison_rt% +%prison_rankup_cost% +%prison_rc% +%prison_rankup_cost_formatted% +%prison_rcf% +%prison_rankup_cost_percent% +%prison_rcp% +%prison_rankup_cost_bar% +%prison_rcb% +%prison_rankup_cost_remaining% +%prison_rcr% +%prison_rankup_cost_remaining_formatted% +%prison_rcrf% +%prison_rankup_rank% +%prison_rr% +%prison_rankup_rank_tag% +%prison_rrt% +``` + +Player rank placeholders for each ladder. Must be used directly with a player. +The actual ladder name must be used in place of ** and will return zero or one rank related placeholder. + +``` +%prison_rank_% +%prison_r_% +%prison_rank_tag_% +%prison_rt_% +%prison_rankup_cost_% +%prison_rc_% +%prison_rankup_cost_formatted_% +%prison_rcf_% +%prison_rankup_cost_percent_% +%prison_rcp_% +%prison_rankup_cost_bar_% +%prison_rcb_% +%prison_rankup_cost_remaining_% +%prison_rcr_% +%prison_rankup_cost_remaining_formatted_% +%prison_rcrf_% +%prison_rankup_rank_% +%prison_rr_% +%prison_rankup_rank_tag_% +%prison_rrt_% +%prison_player_balance% +%prison_pb% +%prison_player_balance_% +%prison_pb_% +``` + +Mine relate placeholders for each mine. +The actual mine name must be used in place of **. + +``` +%prison_mines_name_% +%prison_mn_% +%prison_mines_tag_% +%prison_mt_% +%prison_mines_interval_% +%prison_mi_% +%prison_mines_interval_formatted_% +%prison_mif_% +%prison_mines_timeleft_% +%prison_mtl_% +%prison_mines_timeleft_bar_% +%prison_mtlb_% +%prison_mines_timeleft_formatted_% +%prison_mtlf_% +%prison_mines_size_% +%prison_ms_% +%prison_mines_remaining_% +%prison_mr_% +%prison_mines_remaining_bar_% +%prison_mrb_% +%prison_mines_percent_% +%prison_mp_% +%prison_mines_player_count_% +%prison_mpc_% +%prison_mines_blocks_mined_% +%prison_mbm_% +%prison_mines_reset_count_% +%prison_mrc_% +``` + +These are player-mines related placeholders. They must be used with a player and they only provide mine related information for the mine that the player is in. If the player is not in any mine, then it will only return a blank value. + +``` +%prison_mines_name_playermines% +%prison_mn_pm% +%prison_mines_tag_playermines% +%prison_mt_pm% +%prison_mines_interval_playermines% +%prison_mi_pm% +%prison_mines_interval_formatted_playermines% +%prison_mif_pm% +%prison_mines_timeleft_playermines% +%prison_mtl_pm% +%prison_mines_timeleft_bar_playermines% +%prison_mtlb_pm% +%prison_mines_timeleft_formatted_playermines% +%prison_mtlf_pm% +%prison_mines_size_playermines% +%prison_ms_pm% +%prison_mines_remaining_playermines% +%prison_mr_pm% +%prison_mines_remaining_bar_playermines% +%prison_mrb_pm% +%prison_mines_percent_playermines% +%prison_mp_pm% +%prison_mines_player_count_playermines% +%prison_mpc_pm% +%prison_mines_blocks_mined_playermines% +%prison_mbm_pm% +%prison_mines_reset_count_playermines% +%prison_mrc_pm% +``` + +---- + - ### **[PrisonMines](https://www.spigotmc.org/resources/4046/)** > /papi ecloud download PrisonMines From 1e4af861728aa4b221606871139dfea5614c664c Mon Sep 17 00:00:00 2001 From: RbR <665978+rbluer@users.noreply.github.com> Date: Fri, 27 Nov 2020 19:10:32 -0500 Subject: [PATCH 2/4] Update Plugins-using-PlaceholderAPI.md Added entry for Prison plugin. --- wiki/Plugins-using-PlaceholderAPI.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wiki/Plugins-using-PlaceholderAPI.md b/wiki/Plugins-using-PlaceholderAPI.md index 5b07787..942a313 100644 --- a/wiki/Plugins-using-PlaceholderAPI.md +++ b/wiki/Plugins-using-PlaceholderAPI.md @@ -620,6 +620,9 @@ If your plugin isn't shown here and you want it to be added, [open an issue](/Pl - **[PremiumVanish](https://www.spigotmc.org/resources/14404/)** - [ ] Supports placeholders. - [x] Provides own placeholders. [**[[Link|Placeholders#premiumvanish]]**] +- **[Prison](https://www.spigotmc.org/resources/1223/)** + - [ ] Supports placeholders. + - [x] Provides own placeholders. [**[[Link|Placeholders#prison]]**] - **[PrisonMines](https://www.spigotmc.org/resources/4046/)** - [ ] Supports placeholders. - [x] Provides own placeholders. [**[[Link|Placeholders#prisonmines]]**] From 11ed822845afcbb88688845afd6a8beb481f5120 Mon Sep 17 00:00:00 2001 From: RbR <665978+rbluer@users.noreply.github.com> Date: Fri, 27 Nov 2020 20:25:37 -0500 Subject: [PATCH 3/4] Update Placeholders.md Update the descriptions. --- wiki/Placeholders.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/wiki/Placeholders.md b/wiki/Placeholders.md index e46318d..0cddcbc 100644 --- a/wiki/Placeholders.md +++ b/wiki/Placeholders.md @@ -3092,10 +3092,10 @@ Check [Plan Wiki](https://github.com/plan-player-analytics/Plan/wiki/Placeholder - ### **[Prison](https://www.spigotmc.org/resources/1223/)** > NO DOWNLOAD COMMAND -Each placeholder has a shorter alias, which follow immediatly. +Each placeholder has a shorter alias, which follows the primary placeholder below. -Player rank placeholders. Must be used directly with a player, such as player chat placeholders. -These placeholders can return zero, one, or more rank related placeholders depending upon how many ladders the player is on. +**Player rank placeholders:** Must be used directly with a player, such as with player chat prefixes. +These placeholders can return zero, one, or more rank related values depending upon how many ladders the player is on. ``` %prison_rank% @@ -3120,8 +3120,8 @@ These placeholders can return zero, one, or more rank related placeholders depen %prison_rrt% ``` -Player rank placeholders for each ladder. Must be used directly with a player. -The actual ladder name must be used in place of ** and will return zero or one rank related placeholder. +**Player rank placeholders for individual ladders:** Must be used directly with a player. +Use the ladder name, all lowercase, in place of ``, and it will return zero or one rank related values. ``` %prison_rank_% @@ -3150,8 +3150,8 @@ The actual ladder name must be used in place of ** and will return z %prison_pb_% ``` -Mine relate placeholders for each mine. -The actual mine name must be used in place of **. +**Mine relate placeholders:** +Use the mine name, all lowercase, in place of ``. ``` %prison_mines_name_% @@ -3184,7 +3184,8 @@ The actual mine name must be used in place of **. %prison_mrc_% ``` -These are player-mines related placeholders. They must be used with a player and they only provide mine related information for the mine that the player is in. If the player is not in any mine, then it will only return a blank value. +**Player-mine related placeholders:** Must be used with a player. +These placeholders will only return non-blank results when the player is in a mine and they will be for that mine. ``` %prison_mines_name_playermines% From 15e0a293eb8f409ec4d36880a91d1cc7bf03f56b Mon Sep 17 00:00:00 2001 From: RbR <665978+rbluer@users.noreply.github.com> Date: Fri, 27 Nov 2020 20:29:35 -0500 Subject: [PATCH 4/4] Update Placeholders.md --- wiki/Placeholders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki/Placeholders.md b/wiki/Placeholders.md index 0cddcbc..f1429a9 100644 --- a/wiki/Placeholders.md +++ b/wiki/Placeholders.md @@ -3185,7 +3185,7 @@ Use the mine name, all lowercase, in place of ``. ``` **Player-mine related placeholders:** Must be used with a player. -These placeholders will only return non-blank results when the player is in a mine and they will be for that mine. +These placeholders will only return non-blank values when the player is in a mine and the results will be for that mine. ``` %prison_mines_name_playermines%