From f3309b76d1cf4de4f4d1cb23844ecbcc8a65d4ae Mon Sep 17 00:00:00 2001 From: Andre_601 <11576465+Andre601@users.noreply.github.com> Date: Wed, 12 Aug 2020 14:58:04 +0200 Subject: [PATCH 1/6] Adding Label commenter --- .github/workflows/label_comment.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/label_comment.yml diff --git a/.github/workflows/label_comment.yml b/.github/workflows/label_comment.yml new file mode 100644 index 0000000..306dec2 --- /dev/null +++ b/.github/workflows/label_comment.yml @@ -0,0 +1,24 @@ +name: Comment + +on: + issues: + types: + - labeled + - unlabeled + pull_request: + types: + - labeled + - unlabeled + +jobs: + give_comment: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v2 + with: + ref: master + - name: Send Issue/Pull request comment + uses: peaceiris/actions-label-commenter@v1.5.0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} From 58cfa92136e0c42bc403d3581ed66a197089dada Mon Sep 17 00:00:00 2001 From: Andre_601 <11576465+Andre601@users.noreply.github.com> Date: Wed, 12 Aug 2020 15:11:21 +0200 Subject: [PATCH 2/6] Add label-commenter-config.yml --- .github/label-commenter-config.yml | 57 ++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 .github/label-commenter-config.yml diff --git a/.github/label-commenter-config.yml b/.github/label-commenter-config.yml new file mode 100644 index 0000000..b896911 --- /dev/null +++ b/.github/label-commenter-config.yml @@ -0,0 +1,57 @@ +labels: + - name: 'Type: Issue (Expansion)' + labeled: + issue: + body: |- + Hello @{{ sender.login }}, + + The issue you encountered is caused by an Expansion and not PlaceholderAPI itself. + This issue-tracker is reserved for Bug reports and feature requests towards PlaceholderAPI. + + Please report this issue to the Expansion's main issue-tracker. + + > *This is an automated response.* + - name: 'Type: Duplicate' + labeled: + issue: + body: |- + Your issue is already known and a separate issue with the exact same report/feature request already exist. + + Please comment on the already existing issue with your information instead of opening your own. + + > *This is an automated response.* + action: close + - name: 'Problem: More info required' + labeled: + issue: + body: |- + Hello @{{ sender.login }}, + + Your issue unfortunately lacks certain information that we require in order to help you with your issue. + Please make sure you provide the following information: + + - Currently used Versions of your server and PlaceholderAPI + - Currently installed Expansions + - Currently installed Plugins + + The easiest way to provide those information is through the `/papi dumb` command which posts the required information and gives a URL to share. + + > *This is an automated response.* + unlabeled: + issue: + body: |- + Thank you for providing additional information. + We will take a look at the issue you encounter and come back to you with a possible solution. + - name: 'Type: Invalid' + labeled: + issue: + body: |- + Your issue has beeen marked as invalid. + This means that it either doesn't follow any provided template, or isn't related to PlaceholderAPI in any way. + + Please make sure to use one of the issue templates and provide the requested information. + Currently available Templates are: + + - [Bug Report](https://github.com/PlaceholderAPI/PlaceholderAPI/issues/new?template=bug_report.md) + - [Feature Request](https://github.com/PlaceholderAPI/PlaceholderAPI/issues/new?template=feature_request.md) + action: close From 41f408226e2f8ac621f1b1f94104e656aa116558 Mon Sep 17 00:00:00 2001 From: Andre_601 <11576465+Andre601@users.noreply.github.com> Date: Wed, 12 Aug 2020 15:20:40 +0200 Subject: [PATCH 3/6] Update label-commenter-config.yml --- .github/label-commenter-config.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/label-commenter-config.yml b/.github/label-commenter-config.yml index b896911..6eca911 100644 --- a/.github/label-commenter-config.yml +++ b/.github/label-commenter-config.yml @@ -55,3 +55,18 @@ labels: - [Bug Report](https://github.com/PlaceholderAPI/PlaceholderAPI/issues/new?template=bug_report.md) - [Feature Request](https://github.com/PlaceholderAPI/PlaceholderAPI/issues/new?template=feature_request.md) action: close + - name: 'Target: Wiki' + labeled: + issue: + body: |- + Hello @{{ sender.login }}, + + Thank you for reaching out to us about the wiki. + We would like to inform you, that you are now able to directly commit your changes to the wiki through a Pull request. + When doing so, make sure you follow these steps: + + - The Pull request targets the [`docs/wiki`](https://github.com/PlaceholderAPI/PlaceholderAPI/tree/docs/wiki) branch of the Repository. + - You only made changes to the files inside the `wiki` folder. + - You followed the general Styling Guidelines mentioned in the wiki's [README](https://github.com/PlaceholderAPI/PlaceholderAPI/blob/docs/wiki/wiki/README.md) file. + + If you have any questions about submitting a PR for the wiki or have any other questions don't hesitate to ask us about it. From cfba92bf14d8699c4d456b51c4b25f58f78668a1 Mon Sep 17 00:00:00 2001 From: Andre_601 <11576465+Andre601@users.noreply.github.com> Date: Wed, 12 Aug 2020 15:26:40 +0200 Subject: [PATCH 4/6] Add missing info about automated response. --- .github/label-commenter-config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/label-commenter-config.yml b/.github/label-commenter-config.yml index 6eca911..ea41209 100644 --- a/.github/label-commenter-config.yml +++ b/.github/label-commenter-config.yml @@ -54,6 +54,8 @@ labels: - [Bug Report](https://github.com/PlaceholderAPI/PlaceholderAPI/issues/new?template=bug_report.md) - [Feature Request](https://github.com/PlaceholderAPI/PlaceholderAPI/issues/new?template=feature_request.md) + + > *This is an automated response.* action: close - name: 'Target: Wiki' labeled: @@ -70,3 +72,5 @@ labels: - You followed the general Styling Guidelines mentioned in the wiki's [README](https://github.com/PlaceholderAPI/PlaceholderAPI/blob/docs/wiki/wiki/README.md) file. If you have any questions about submitting a PR for the wiki or have any other questions don't hesitate to ask us about it. + + > *This is an automated response.* From 5b1df7c42a31b6142c895e4dbc99917b9e8d0b09 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Sun, 23 Aug 2020 17:27:55 +0100 Subject: [PATCH 5/6] update placeholders for tntrun_reloaded --- wiki/Placeholders.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/wiki/Placeholders.md b/wiki/Placeholders.md index 4dd197c..a051fa0 100644 --- a/wiki/Placeholders.md +++ b/wiki/Placeholders.md @@ -3929,13 +3929,23 @@ Per Player/Event placeholders: > NO DOWNLOAD COMMANDS ``` -%tntrun_played% -%tntrun_wins% -%tntrun_losses% -%tntrun_version% %tntrun_arena_count% +%tntrun_currency_% +%tntrun_doublejumps% +%tntrun_joinfee_% +%tntrun_leaderboard_wins_player_% +%tntrun_leaderboard_wins_score_% +%tntrun_leaderboard_losses_player_% +%tntrun_leaderboard_losses_score_% +%tntrun_leaderboard_played_player_% +%tntrun_leaderboard_played_score_% +%tntrun_losses% +%tntrun_played% %tntrun_player_count% -%tntrun_leaderboard_% +%tntrun_player_count_% +%tntrun_status_% +%tntrun_version% +%tntrun_wins% ``` ---- From ddfaf4105d5a5ffaad1bfb812f495a0eab713b3b Mon Sep 17 00:00:00 2001 From: BuildTools Date: Sun, 23 Aug 2020 17:44:23 +0100 Subject: [PATCH 6/6] update placeholders for parkour --- wiki/Placeholders.md | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/wiki/Placeholders.md b/wiki/Placeholders.md index a051fa0..d5d7581 100644 --- a/wiki/Placeholders.md +++ b/wiki/Placeholders.md @@ -2848,28 +2848,36 @@ You can find an up-to-date list of the placeholders in [their wiki](https://ales > /papi ecloud download Parkour ``` -%parkour_last_played% -%parkour_last_completed% -%parkour_level% -%parkour_rank% -%parkour_parkoins% +%parkour_course_count% +%parkour_course_global_completions% +%parkour_course_prize_delay% %parkour_course_record_% %parkour_course_record_deaths_% -%parkour_personal_best_% -%parkour_personal_best_deaths_% -%parkour_leader_% +%parkour_courses_completed% +%parkour_current_checkpoint% %parkour_current_course% +%parkour_current_course_deaths% +%parkour_current_course_leader% +%parkour_current_course_timer% %parkour_current_course_record% %parkour_current_course_record_deaths% %parkour_current_personal_best% %parkour_current_personal_best_deaths% -%parkour_current_course_leader% -%parkour_current_course_timer% -%parkour_course_count% +%parkour_last_played% +%parkour_last_completed% +%parkour_leader_% +%parkour_leaderboard___deaths% +%parkour_leaderboard___player% +%parkour_leaderboard___time% +%parkour_level% +%parkour_parkoins% +%parkour_personal_best_% +%parkour_personal_best_deaths_% %parkour_player_count% -%parkour_version% +%parkour_rank% %parkour_topten__% %parkour_toptenxcc__% +%parkour_version% ``` ----