Skip to content
RedVortex edited this page Jun 22, 2024 · 1 revision

CCDBUG is an in world and in HUD information display.
You can create your own custom functions to manage what is displayed.

Using it is quite simple, all the messages are transmitted via the actionbar.
The infomation is encoded in different minimessage tags, the first one being color #00ccdb

text

To set the HUD display, you send in the actionbar:

<#00ccdb>text</#00ccdb><red>Line 1</red><blue>Line 2</blue>

So every component after the text component is a line, each usage overwrites everything which was in the display.

location

To set all the in world text displays:

<#00ccdb>location</#00ccdb><i><red>[x, y, z, P, Y]</red><blue>text to display</blue></i>

So every component after the location component is an in world text.
It doesn't matter what component you use.
Each of these have two components inside them, the location, which is very syntax agnostic so using %var on a location will work. Again, it doesn't matter what component you use.
The text is in the second component, which doesn't support color because I the class I'm using doesn't support color.

Clone this wiki locally