A standalone Minecraft plugin for creating custom placeholders with PlaceholderAPI integration, Skript support, and MySQL/MariaDB storage.
%mysticplaceholders_<name>%.zero-display and normal-display formats per placeholder.ConcurrentHashMap caching with atomic database upserts.| Requirement | Version |
|---|---|
| Paper / Purpur | 1.21.x+ |
| Java | 21+ |
| MysticLib | 1.0.0+ (required — provides database & logging) |
| Skript | 2.8+ (required — for Skript integration) |
| PlaceholderAPI | 2.11+ (required) |
| MySQL / MariaDB | 5.7+ / 10.2+ |
MysticPlaceholders-x.x.x.jar from Releases.plugins/ folder.plugins/MysticPlaceholders/config.yml./mplaceholder reload or restart the server.Note: Database connection is configured in MysticLib's
config.yml, not in this plugin. MysticPlaceholders uses MysticLib's shared database connection.
%value% is replaced with the number. Optional max caps the value.%value% is replaced with the stored string. Use null to clear.<red>, <green>, <gradient:#hex1:#hex2>, etc.). Legacy & codes are auto-converted._) in text values are converted to spaces.| Command | Description | Permission |
|---|---|---|
/mplaceholder set <player> <placeholder> <value> | Set a placeholder value | mysticplaceholders.admin |
/mplaceholder add <player> <placeholder> <value> | Add to a numeric value | mysticplaceholders.admin |
/mplaceholder remove <player> <placeholder> <value> | Remove from a numeric value | mysticplaceholders.admin |
/mplaceholder list | List all configured placeholders | mysticplaceholders.admin |
/mplaceholder reload | Reload configuration | mysticplaceholders.admin |
Aliases: /mph, /mysticph, /mplh
After installing PlaceholderAPI, use placeholders anywhere that supports PAPI:
%mysticplaceholders_coins%
%mysticplaceholders_tokens%
%mysticplaceholders_kills%
%mysticplaceholders_deaths%
%mysticplaceholders_level%
%mysticplaceholders_mana%
%mysticplaceholders_rank%
%mysticplaceholders_title%
%mysticplaceholders_faction%
%mysticplaceholders_status%
MysticPlaceholders registers as a full Skript addon. Enable/disable via skript-integration: true in config.
# Get a placeholder value
set {_mana} to mystic placeholder "mana" of player
# Set a value
set mystic placeholder "mana" of player to 100
# Add to a value
add 25 to mystic placeholder "mana" of player
# Remove from a value
remove 10 from mystic placeholder "coins" of player
mystic placeholder with the prefix "custom":
if the identifier is "health_display":
set the result to "&c%health of player%❤"
if the identifier is "mana_bar":
set {_mana} to mystic placeholder "mana" of player
set the result to "&b%{_mana}%/100 ✦"
These are then usable as %custom_health_display% and %custom_mana_bar% via PlaceholderAPI.
mystic relational placeholder with the prefix "rel":
if the identifier is "compare_level":
set {_l1} to mystic placeholder "level" of first player
set {_l2} to mystic placeholder "level" of second player
if {_l1} > {_l2}:
set the result to name of the first player
else:
set the result to name of the second player
MysticPlaceholders uses MysticLib's shared database connection — you do not configure a database in this plugin.
plugins/MysticLib/config.yml.mystic_placeholders_numeric — Stores numeric placeholder valuesmystic_placeholders_text — Stores text placeholder valuesCompletableFuture.INSERT ... ON DUPLICATE KEY UPDATE for safe concurrent writes.ConcurrentHashMap for O(1) lookups.LEAST().
A standalone Minecraft plugin for creating custom placeholders with PlaceholderAPI integration, Skript support, and MySQL/MariaDB storage.