Feature: Statistic placeholder#57
Merged
4drian3d merged 7 commits intoMiniPlaceholders:mainfrom Aug 21, 2025
Merged
Conversation
Member
|
Sorry for only seeing this pull request after updating the expansion, but could you update it to the new version? 😅 |
Contributor
Author
|
Should be up to date now! |
Contributor
Author
|
Also moved the Statistic resolver into its own class similarly to what you had done with the NameResolver. So the main class is now much cleaner. |
4drian3d
approved these changes
Aug 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a player statistic placeholder for Paper. Also updated the Paper maven repository URL to fix build.
The format for the placeholder is
<player_statistic:<name>:[parameter]>where<name>is the Statistic Enum constant and parameter is an optional material/entity for those statistics that require one.Statistic.Type is used to determine whether the statistic requires an additional parameter.
Example usages:
<player_statistic:jump><player_statistic:mine_block:stone><player_statistic:entity_killed_by:zombie>Tested on: