Repository navigation
v1.1 - PlaceholderAPI / Skript chat bridge
What's new
- PlaceholderAPI/Skript chat bridge. New
%headsprites_msg%placeholder returns the sender's chat message already rendered as a JSON text component, with<head:...>,<sprite:...>, and<seq:...>tags resolved into inline heads. This lets Skript/SkBee (or any plugin that cancels and rebuilds chat) show inline sprites in custom chat formats. - The rendered message is captured at
LOWESTpriority, before the chat event is cancelled, so it is always available. - The placeholder returns a valid empty component (
{"text":""}) when nothing is stored, sotext component from jsonnever throws. - Added
PlaceholderAPIas a soft dependency; the bridge and placeholder only register when PlaceholderAPI is installed. Without it, the plugin falls back to the built-in vanilla chat renderer. - README: added a "Using with Skript" section with requirements, the placeholder, an example, and a note on listener priority.
Install
Drop HeadSprites-1.1.jar into your server's plugins/ folder. Requires Paper 1.21.9+ and Java 21. PlaceholderAPI is optional (needed only for the Skript bridge).