Skip to content

Add PlaceholderAPI expansion - #129

Merged
osipxd merged 3 commits into
developfrom
feature/papi-expansion
Nov 28, 2026
Merged

osipxd merged 3 commits into
developfrom
feature/papi-expansion

Conversation

@osipxd

@osipxd osipxd commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

If PlaceholderAPI is installed, Mimic registers the mimic expansion.

Placeholder For the primary one Value
%mimic_level_<track>% %mimic_primary_level% Level on the track
%mimic_exp_<track>% %mimic_primary_exp% Experience within the current level
%mimic_exp_to_next_<track>% %mimic_primary_exp_to_next% Experience required for the whole step to the next level
%mimic_max_level_<track>% %mimic_primary_max_level% Max level of the track
%mimic_class_<slot>% %mimic_primary_class% Class in the slot, display name as plain text
%mimic_class_id_<slot>% %mimic_primary_class_id% ID of the class in the slot
%mimic_resource_<resource>% %mimic_primary_resource% Current amount of the resource
%mimic_max_resource_<resource>% %mimic_primary_max_resource% Max amount of the resource

<track> is a track ID, for example %mimic_level_mcmmo:woodcutting%.
<slot> is a slot ID, for example %mimic_class_fabled:race%.
<resource> is a resource ID, for example %mimic_resource_mmocore:mana%.
Letter case of the ID doesn't matter, and the namespace may be omitted if only one plugin has this name: %mimic_level_woodcutting%.
The primary_ placeholders take no ID, they give the value of the player's primary track, class or resource.

  • A placeholder left unreplaced is unknown or ambiguous: check its name and the track, slot or resource ID.
  • An empty value means there is no value for the player: they are offline, their data isn't loaded,
    the track doesn't have this value, the slot is empty, they don't have the resource,
    or they have no primary track, class or resource.

Closes #109

@osipxd osipxd self-assigned this Nov 28, 2026
@codacy-production

codacy-production Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 45 complexity · 0 duplication

Metric Results
Complexity 45
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@osipxd
osipxd merged commit 65f3cb5 into develop Nov 28, 2026
3 checks passed
@osipxd
osipxd deleted the feature/papi-expansion branch November 28, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PlaceholderAPI expansion

1 participant