WTHIT Companion Plugin

WTHIT Companion Plugin

180 Downloads

how to disable tooltip without restart game

horizon86 opened this issue ยท 2 comments

commented

Enhancement

If I want to disable wthit, I need to delete .jar file and restart game, can you add an option ( maybe shortcut key, menu, etc.) that can disable tooltip without restart?

commented

There is another request. Can the configuration file provide a whitelisted pattern? Too many things to write on the blacklist

commented

You can use command to toggle the overlay: /wailac overlay [true|false]
There is also key that you can set, open the config (/wailac config open), go to WTHIT Configurations, and scroll down.


For whitelisting, you can "blacklist" everything and use the ! prefix to whitelist things.

{
  blocks: [
    "/.*/", // blacklist everything
    "!minecraft:grass_block" // whitelist grass block
  ]
}

Read the comment for more info.
Edit: you need to use regex for * to work