Skip to content

Commands ​

Every command is /hbb … and needs the hologrambb.admin permission. A change is written to the hologram's file only if the result loads cleanly: a wrong value is reported and nothing breaks.

Coming from FancyHolograms?

The commands are the same as in FancyHolograms, on /hbb instead of /holo, so both plugins can be installed side by side. Its lines are the text layers here, numbered from the top. Bring your holograms over with /hbb convert fancyholograms.

Holograms ​

CommandWhat it does
/hbb create <id> <text>A new hologram with one line of text, where you stand.
/hbb copy <id> <new-id>A copy of a hologram, where you stand.
/hbb rename <id> <new-id>Gives it another id. It stays where it is.
/hbb remove <id>Deletes it and its file. /hbb delete does the same.
/hbb listEvery hologram, with its layers and world.
/hbb nearby [range]Holograms near you (30 blocks if you do not say).
/hbb teleport <id>Takes you to it. /hbb tp does the same.
/hbb info <id>Where it is, how many lines and layers it has, its distances and the model it stands on.
/hbb reloadReads every file again, after editing them by hand.
/hbb versionThe version of HologramBB you run.
/hbb helpLists every command. Plain /hbb does the same.

Lines ​

The lines are the hologram's text layers, top first, in the order of the file.

CommandWhat it does
/hbb edit <id> addLine <text>A new line at the bottom.
/hbb edit <id> removeLineRemoves the bottom line.
/hbb edit <id> setLine <n> <text>Changes line n. Tab offers its current text to change from.
/hbb edit <id> insertBefore <n> <text>A new line where line n was; it and the lines under it move down.
/hbb edit <id> insertAfter <n> <text>A new line right under line n.
/hbb create fights <gold><b>RANKED FIGHTS
/hbb edit fights addLine <gray>click a fight to spectate
/hbb edit fights addLine ccheryu <red>VS</red> chochep
/hbb edit fights setLine 1 <gold><b>RANKED FIGHTS</b> <gray>page 1/3

Where it stands ​

CommandWhat it does
/hbb edit <id> positionTo where you stand, facing where you face. moveHere does the same.
/hbb edit <id> moveTo <x y z> [yaw pitch]To those coordinates. ~ works as in /tp: /hbb edit shop moveTo ~ ~2 ~.
/hbb edit <id> centerTo the middle of its block, keeping its height.
/hbb edit <id> rotate <degrees>Which way it faces. ~15 turns it 15 degrees from where it faces now.
/hbb edit <id> rotatePitch <degrees>Tilts it up or down.
/hbb edit <id> translate <x> [y z]Moves every layer that far from where it is: translate 0 0.5 0 lifts it half a block.

A layer that always faces the player (billboard center) shows rotate and rotatePitch only with billboard fixed.

How it looks ​

These change every layer that has the setting: a text setting goes to the text layers, block to the block layers.

CommandWhat it does
/hbb edit <id> scale <size> [y z]Bigger or smaller: 1.5, or one size per axis.
/hbb edit <id> billboard <center|fixed|vertical|horizontal>How it turns to the player.
/hbb edit <id> background <colour>The box behind the text: transparent, default (Minecraft's grey), #RRGGBB, #AARRGGBB or a colour name like gold.
/hbb edit <id> textShadow <true|false>The dark shadow under the letters.
/hbb edit <id> textAlignment <left|center|right>Text with several lines.
/hbb edit <id> seeThrough <true|false>Seen through walls.
/hbb edit <id> shadowRadius <blocks> / shadowStrength <0-1>A round shadow on the ground.
/hbb edit <id> brightness <block|sky> <0-15>Its own light. HologramBB has one brightness for block and sky light, so either sets it; -1 uses the world's light.
/hbb edit <id> itemThe item in your hand, on its item layers; an ItemsAdder item keeps its id.
/hbb edit <id> block <block>The block of its block layers: oak_log[axis=x], or itemsadder:namespace:id.

Its own settings ​

CommandWhat it does
/hbb edit <id> updateTextInterval <time>How often placeholders in its text refresh: 500 (milliseconds), 5s, 1m, or never.
/hbb edit <id> visibilityDistance <blocks>How far away players see it.
/hbb edit <id> visibility <all|permission_required|manual>Who sees it: everyone, only players with hologrambb.view.<id>, or nobody until a plugin shows it. See Permissions.
/hbb edit <id> linkWithModel <model> [height]Stands it on an AnimatedBB model. See below.
/hbb edit <id> unlinkWithModelBack on its own, where it is.

Beyond FancyHolograms ​

CommandWhat it does
/hbb edit <id> line <n|layer|all> <key> <value>One setting of one layer, by line number or by name; all for every layer that has it. reset puts it back to default.
/hbb edit <id> addLayer <text|item|block> <content>A layer of any kind under the others: addLayer item DIAMOND.
/hbb edit <id> removeLayer <layer>Removes a layer by name.
/hbb edit <id> lookDistance <blocks>How far away a player can still look at it, or at one of its lines (12 by default).
/hbb edit <id> lookRadius <blocks>How close to its centre a player must aim to look at the whole hologram.
/hbb edit <id> hitbox <width height>The box that takes clicks on the whole hologram; reset sizes it to the layers.
/hbb edit <id> visibilityCondition <condition>Only players for whom it is true see it: %player_level% >= 10.

With line, values are read the way the file would read them: true, 48, 1.5, [0, 2.2, 0], or text. Position, rotation and scale also take their numbers plain, x then y then z. The keys are the ones in the hologram file.

Press Tab as you type: it offers only the settings that layer has (a text has no item, an item no alignment), then that setting's choices, its current value to change from, and item names once you start typing one.

/hbb edit shop line 1 text <gold><b>SHOP
/hbb edit shop line title scale 1.5
/hbb edit shop line icon rotation 0 30 30
/hbb edit shop line icon glow #55ff88
/hbb edit shop line all offset 0 2.4 0

On an AnimatedBB model ​

/hbb edit <id> linkWithModel <model> [height] stands the hologram on an AnimatedBB model, like a name over its head:

  • Its lowest layer sits height blocks (0.3 if you do not say) over the top of the model, measured from the model's real size at its scale. Lines you add later stack upwards, away from the model.
  • It follows the model when it moves, and hides while the model is not spawned.
  • Tab lists your models. It needs AnimatedBB installed and up to date.
/hbb edit shopkeeper linkWithModel shopkeeper_npc
/hbb edit shopkeeper linkWithModel shopkeeper_npc 0.5

From FancyHolograms ​

/hbb convert fancyholograms <name|*> brings FancyHolograms' holograms over, one by name or * for all of them. It reads plugins/FancyHolograms/holograms.yml (FancyHolograms 2).

  • Every line becomes its own layer, spaced exactly as FancyHolograms draws them, so it looks the same. Each line can then be animated or clicked on its own.
  • Scale, billboard, background, shadows, alignment, update interval and who sees it come along. A hologram that needed fancyholograms.viewhologram.<name> still does.
  • The id is the name in lowercase, with anything else as _. A hologram whose id is already taken is skipped.
  • FancyHolograms' own files are never touched.

Editors ​

CommandWhat it does
/hbb editor <id>Opens it in the web editor: a link to click and a code to copy.
/hbb apply <code>Applies what you saved in the web editor.
/hbb apply <code> confirmThe same, after it listed new commands for you to check.

Previewing ​

CommandWhat it does
/hbb play <id> <animation>Plays an animation on it, only for you: /hbb play shop bounce, /hbb play shop spin(period=20)@icon. Tab lists its own animations, those in clips.yml and the effects, then its layers after @.