Skip to content

Conversation

@TSERATO
Copy link
Contributor

@TSERATO TSERATO commented Nov 7, 2025

Added Opacity feature from here: #46

Usage: /holo edit myholo opacity <0-100>

Permission: fancyholograms.hologram.edit.opacity

ONLY WORKS FOR TEXT HOLOS


import java.util.List;

public class OpacityCMD implements Subcommand {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For new commands, please use the lamp framework


public enum HologramType {
TEXT(Arrays.asList("background", "textshadow", "textalignment", "seethrough", "setline", "removeline", "addline", "insertbefore", "insertafter", "updatetextinterval")),
TEXT(Arrays.asList("background", "textshadow", "textalignment", "opacity", "seethrough", "setline", "removeline", "addline", "insertbefore", "insertafter", "updatetextinterval")),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You named this "text_opactiy" before. Is it the opacity of the whole hologram or only of the text?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants