SnReclaim v2.0.1
·
50 commits
to main
since this release
Changes
{rango} now resolves PlaceholderAPI for the redeeming player. A rank whose display-name is itself a PlaceholderAPI token - display-name: '%snrankperks_prefix%' - reached chat as literal text at both places the rank name is rendered. Both are fixed:
- Broadcast (
messages.redeem-broadcast): the announcement had no player to resolve against. The plain broadcast delivers with a null viewer, and a player-bound expansion placeholder has no answer for a null requester, so the token survived verbatim. The announcement now names the redeeming player as the broadcast subject (SnLib 1.34.0): PlaceholderAPI resolves against them once and every recipient sees their value. - Private
message:lines: PlaceholderAPI ran on the configured lines first and{player}/{rango}were spliced in afterwards, so a token carried by the display name was inserted after the PAPI pass. The pairs now travel into the config read ahead of PlaceholderAPI (order: locals, then PAPI), so a display name that is a token resolves in the private message too.
display-name accepting PlaceholderAPI is now documented in config.yml, the README and the GitBook page.
Requirements
Built against SnLib 1.34.0, API level 21. The plugin refuses to enable on an older SnLib and says so in the console with the API level handshake message - update SnLib.jar first (a full restart, never a /reload).
Installation
Download the JAR below and place in your plugins folder. Requires SnLib.jar 1.34.0 or newer.