SimplePrefixes 1.4.0

Changelog

  • Adds a new type of configuration for prefixes, 'layout'

Layout (layout)

This is a list of strings. Each string will be a new line in the item's lore. If this is provided and is not empty, this will overwrite the default layout of the prefix item. Each item will have their own unique layout. Layout Placeholders:

  • <prefix_id> - The prefix's ID as listed in prefixes.yml.
  • <prefix> - The prefix itself.
  • <unlocked> - The Unlocked / Locked text. This defaults to [] (Empty List).

Example


custom_layout:
  display-name: "<green>Fancy Layouts!</green>"
  description:
    - "This section is effectively ignored with custom layouts."
  prefix: "<white>[<green>LAYOUTS</green>]</white>"
  layout:
    - "<blue>Prefix ID:</blue> <prefix_id>"
    - "It looks like this: <prefix>"
    - "<gray>  → I snuck this in here, how weird!"
    - "<yellow>Unlock State:<yellow> <unlocked>"
    - "<blue>Line 1 Description"
    - "Line 2 Description"
    - "<red>Line 3 Description"
    - " "
    - "<green>Hi I wanted to skip another line."

Files

SimplePrefixes-1.4.0.jar(4.46 MiB) Primary Download

Project members

Simplexity

Simplexity

Organization

Details

Licensed MIT
Published 3 years ago
Updated a month ago