Tooltips
Discord
  • Tooltips
  • Start here
  • Support
  • Plugin
    • Features
    • Commands
    • FAQ
    • Guides
      • Clearing cache
      • Furniture shop
      • BetonQuest Dialogue
      • Languages
      • Manual width
  • Configuration
    • Theme
      • Theme textures
      • Making a custom theme
    • Icon
    • Preset
      • Conditions
      • Condition list
      • Show
      • Actions
        • Commands
      • Functions
      • Animations
      • Argument Types
  • Extra
    • Notable 2.0 Changes
    • Integrations
    • Variables
    • API
      • Custom Conditions
Powered by GitBook
On this page
  • 🔨 Breaking changes
  • Change of ID format
  • Local placeholders removed
  • Furnish no longer needed
  • Hex codes broken
  • ✨ New
  • Functions
  • Context
  • Data
  • MiniMessage
  • Animations
  • Optimizations
  • Priorities
  • Reshow
  • BetonQuest support
  • Other
  1. Extra

Notable 2.0 Changes

A migration guide.

PreviousArgument TypesNextIntegrations

Last updated 4 months ago

🔨 Breaking changes

Change of ID format

The identifiers of all configured objects in Tooltips have been changed. Now the identifier includes the full path to the object. For example, this is what a preset ID would look like in a folder:

mypreset -> folder/file/mypreset

This will require modifification all theme ID in presets to match the new format.

Local placeholders removed

Now instead of %furniture_id% and %var_key%, use context & variable .

Furnish no longer needed

Furnish was used to store price data about IDs, you can now do that using the .

Hex codes broken

Now instead of hex color codes, the is used, even in preset background colors.

✨ New

Functions

Context

Data

MiniMessage

Animations

Optimizations

Split the condition and tooltip threads. Now conditions are checked separately from sending the tooltips, which means that tooltips can be refreshed more often.

Priorities

Reshow

BetonQuest support

Other

- Support for quotes in arguments

test{arg="Longer string with spaces";  arg1="another arg"}

- Dynamic conditions

Conditions can be registered at runtime, anytime (API related)

- Specify custom icon width

Most important addition are furnitures. They allow to display advanced text and placeholders. Display static data from the preset file, context from conditions or conditional text. .

Now, conditions are able to provide context. Context is information about the things that a condition checks. For example, for a lookingatfurniture condition, the context is the ID of the furniture. This can be accessed using .

This allows to define custom data in a preset file, which can be accessed with the . This data can be prices of items, names of NPCs or text lines. This is a very powerful feature, which replaces Furnish.

MiniMessage support, which allows for richer format in messages. However note that not all tags are included, since italic, bold and underline cannot be supported. .

You can now animate text inside presets. It will only work if a preset is being shown using conditions. .

Presets used to be checked more or less randomly. Now you can define a presets priority. The preset with the highest priority will be shown first. They can be set for and for entire .

A in presets, which will redisplay the tooltip (fade in & fade out) if text changes.

BetonQuest support, . Tutorial on how to use it here.

Icons can now have a custom, user-provided width. Documented on .

Functions
Learn more about the format
Check out the animation types and format
the icon page
functions
Functions
MiniMessage format
documented here
$data function
data function
presets
preset file
reshow property