SnCrates v2.4.0
·
32 commits
to main
since this release
Changes
- A crate key's own lore no longer shows on the menu icons drawn from it. The crate icons in
/cratesand the preview'sinfoandwithdrawbuttons are all drawn from the crate's physical key item, and SnLib paints a template over a supplied item by appending the template's lore under the lore the item already carries. The result was every player reading the key's redeem instructions above the balance the icon exists to show, with no way for a menu file to remove or move them. - New
{lore}placeholder. Those lines are not gone: write{lore}in a template'slore:and they come back, one lore line per line the key has, exactly where you put it. Nothing shows it by default.guis/key-balance.yml- thedefaulttemplate and any per-crate templateguis/preview.yml- theinfoandwithdrawtemplatesguis/preview-compact.yml- theinfotemplate
- Reward icons in the preview are unchanged: a reward's own lore on its own icon is what the preview is for.
Existing installs get the new behaviour with no file edit; nothing in your menu files is rewritten.
Installation
Download the JAR below and place in your plugins folder. Requires SnLib.jar.