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
  • Sending themes and presets
  • Debugging presets
  • Evaluating conditions
  • Reloading the plugin
  • Variable Commands
  1. Plugin

Commands

Commands and their permissions

PreviousFeaturesNextFAQ

Last updated 5 months ago

Sending themes and presets

These are intended only for testing the themes and presets. Please use to display tooltips.

  • /tt sendtheme [player] [theme id] (optional text)

    • permission: tooltips.command.sendtheme

  • /tt sendpreset [player] [preset id] (optional text)

    • permission: tooltips.command.sendpreset

  • Both allow optional text, which supports multiple lines using new lines "\n".

  • Text supports PAPI placeholders and local placeholders.

  • If a preset already defines text, putting optional text in will override the preset text.

  • Sending presets with a command does not account for conditions.

Debugging presets

Your preset isn't showing and you're not sure why? This command should help! It checks all conditions one by one and tells you whether a tooltip would show or not.

  • /tt debug [preset] [player]

    • permission: tooltips.command.debug

Evaluating conditions

A useful tool when working on conditions, is to see if they work. This can be done using the eval command:

  • /tt eval [condition]

    • permission: tooltips.command.eval

Reloading the plugin

Reloading the plugin will reload all themes, icons and presets and regenerate the required assets.

  • /tt reload

    • permission: tooltips.command.reload

If you're using a plugin like Oraxen or ItemsAdder, remember to use their respective resource pack reload commands after using /tt reload; /oraxen reload pack and /iazip

Haven't set up Nexo or ItemsAdder compatibility?

Variable Commands

Execute a local variable command. The use of this is to allow outside modification of Tooltips variables.

    • permission: tooltips.command.vars

Examples

/tt vars setvar Septicuss meow true

/tt vars setpersistentvar player meow false (this will actually set it for the person executing the command)

/tt vars clearvars global

/tt vars savepersistentvars

Read more about conditions .

Head to .

/tt vars []

here
this page
conditions
variable command