CHANGELOG | FANCYMENU v2.13.0
- Dependency Change: Minimum required Konkrete version is 1.6.0 now
- Reworked: Text Placeholders
--> New system replaces old one! Old placeholders still work, but they are DEPRECATED now and will be removed in a future update!
--> It is really recommended to replace old placeholders with their new versions, since all the new features don't work for old ones.
--> New JSON-like syntax (Pseudo-JSON, not actual JSON)
--> Placeholders now support nesting! You can now use placeholders in values of other placeholders!
--> Syntax characters in values ( " { } ) can be escaped by putting a backslash ( \ ) before them
--> The old placeholder API is DEPRECATED as well now! Use the v2 PlaceholderRegistry instead (not in the 'api' package anymore)!
- Added: Config option to disable the red unicode warning that appears when using a unicode font
- Added: "Screen Width" placeholder to get the width of the current screen (this one's actually not new, but wasn't accessible via the placeholder menu before)
- Added: "Screen Height" placeholderto get the height of the current screen (this one's actually not new, but wasn't accessible via the placeholder menu before)
- Added: "Stringify" placeholder to escape syntax characters in its value
- Added: "Element Width" placeholder to get the width of an element by its element ID
- Added: "Element Height" placeholder to get the height of an element by its element ID
- Added: "Element X Position" placeholder to get the X position of an element by its element ID
- Added: "Element Y Position" placeholder to get the Y position of an element by its element ID
- Added: "Calculator" placeholder to solve arithmetic expressions
- Added: "Mouse X Position" placeholder to get the X position of the mouse cursor
- Added: "Mouse Y Position" placeholder to get the Y position of the mouse cursor
- Added: "GUI Scale" placeholder to get the GUI scale (duh)
- Added: "Is Text" visibility requirement to compare a text with another one
--> Supports multiple compare modes: equals, contains, starts-with, ends-with
- Added: "Is Number" visibility requirement to compare a number with another one
--> Supports multiple compare modes: equals, bigger-than, smaller-than, bigger-than-or-equals, smaller-than-or-equals
- Added: "Is Element Hovered" visibility requirement to check if an element is hovered
--> Kinda replaces the old "Is Button Hovered" requirement, but old one can still be used
--> Checks hover-state based on the element's size, so some element's hover-states could be a little inaccurate due to its size being smaller than the actual element
- Added: Advanced Positioning for elements
--> Allows you to manually input X and Y positions for elements
--> Supports text placeholders to be used as value (combining this with the new calculator placeholder should give you A LOT of new things to do!)
- Added: Advanced Sizing for elements
--> Allows you to manually input width and height values for elements
--> Supports text placeholders to be used as value (combining this with the new calculator placeholder should give you A LOT of new things to do!)
- Added: "Ticker" element to execute actions (same as button actions) every tick
--> Can be set to tick asynchronously
--> Can run multiple actions
--> Allows you to set a tick delay (delay between ticks) in milliseconds
--> Can be set to tick only once every time you load the menu or only once per game session
- Added: Placeholder support to menu titles
- Improved: It's now possible to use placeholders in visibility requirement values
- Improved: Changed "Choose Layer" text in element right-click menu to "Pick Element", to be less confusing
- Improved: Auto-scaling now requires the user to set a forced GUI scale first
--> Layouts with auto-scaling already enabled will not change, but it's really recommend to set a forced GUI scale if you haven't yet
- Improved: New text elements now get added below the top menu bar instead of behind it
- Fixed: Some URLs containing '&' characters not working correctly
- Fixed: Placeholders not working in button action values
- Known Issue: Clicking on entries of the placeholder context menu in the visibility requirements screen clicks buttons behind the context menu