Notable 2.0 Changes
A migration guide.
Last updated
A migration guide.
Last updated
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.
Now instead of %furniture_id%
and %var_key%
, use context & variable .
Furnish was used to store price data about IDs, you can now do that using the .
Now instead of hex color codes, the is used, even in preset background colors.
Split the condition and tooltip threads. Now conditions are checked separately from sending the tooltips, which means that tooltips can be refreshed more often.
Conditions can be registered at runtime, anytime (API related)
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 .