Holographic Displays

Holographic Displays

3M Downloads

Hologram lines limited length

NeutralPlasma opened this issue ยท 3 comments

commented

Confirmation

  • I have read the FAQ.
  • I have tested the latest development build of Holographic Displays and the bug is still present.
  • I have updated Spigot to the latest release for my particular Minecraft version.
  • I made sure the bug hasn't already been reported on the issue tracker.

Description

I tried putting longer placeholders on holograms but they get cut off, example with HEX colours, they return already parsed colours. If check them with /papi parse me
they output just fine, but as soon as I put it on hologram it gets cut off, I had the same issue while trying to make HEX colour animations placeholders. Where I parse colours in my own plugin.

How to reproduce

  1. Create long hex coloured papi placeholder
  2. Put placeholder on hologram

Server version

This server is running Paper version git-Paper-216 (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: 30cb7d0)

Holographic Displays version

HolographicDisplays version 3.0.0-SNAPSHOT

Installed plugins that allow players to join with multiple Minecraft versions

No response

Additional information

https://images.virtusdevelops.eu/XUwSY8.png

commented

The current limit is 300 characters, but the problem with HEX colors is that each letter is actually 15 (!) characters. I will raise the limit, if someone makes clients lag because of long holograms lines (visible characters, not colors) it will be their fault.

commented

Just uncap the limit. It's completely on the owner's fault for any performance issues.

commented

I raised the limit from 300 to 5000 characters. On my machine it doesn't cause issues, I checked just in case someone creates a line that long for error.