RienBijl / Scoreboard-revision

Scoreboard-r V4: Flickerless animated scoreboard
12 stars 15 forks source link

[BUG] Max length/Max hex-codes? #45

Open JanisRazen opened 2 years ago

JanisRazen commented 2 years ago

Describe the bug So, I want to add an gradient to my Scoreboard. Thats what it looks like in config: image

And thats how it looks ingame (just those letters in gradient animation): image

So, I'm basically missing half of the text in the Scoreboard. I tried to remove the "---x [" but that just change it to this: image

To Reproduce Steps to reproduce the behavior:

  1. Go to 'setting.yml'
  2. Add a long animation-line
  3. See if you have the same error

Expected behavior Well, a full functional gradient saying "Aureum-Life" instead of "Aureum/Aureum-"

Spigot version(please complete the following information):

Configuration file


Um, Github doesnt support .yml
Copy n Pasted:

#  ____  ____  ____  ____  _____ ____  ____  ____  ____  ____
# / ___\/   _\/  _ \/  __\/  __//  _ \/  _ \/  _ \/  __\/  _ \
# |    \|  /  | / \||  \/||  \  | | //| / \|| / \||  \/|| | \|
# \___ ||  \_ | \_/||    /|  /_ | |_\\| \_/|| |-|||    /| |_/|
# \____/\____/\____/\_/\_\\____\\____/\____/\_/ \|\_/\_\\____/
#
# Scoreboard-r by Rien Bijl
# rep: github : RienBijl/Scoreboard-revision
# v: R4 1.1 RELEASE

# Do not edit! The plugin uses this to determine if the configuration is suitable
config_version: 1

settings:
  # The driver is the Scoreboard implementation used to display the user
  # Old drivers will from now on remain supported so that switching back to
  # an older (perhaps more stable) version is easy.
  driver: SCOREBOARD_DRIVER_V1
  # Should we check updates? Caution! Disabling this is not recommended
  # you might miss awesome updates *wink*
  check-updates: true

# In what worlds should we disable scoreboard?
disabled-worlds:
  - 'non_existant_world'

board:
  title:
    interval: 1
    lines:
      - '{#822bee}&lA{#741fff}&lu{#822bee}&lr{#9036dd}&le{#9e42cd}&lu{#ac4dbc}&lm{#ba59ab}&l-{#c7659a}&lL{#d57089}&li{#e37c79}&lf{#f18768}&le'
      - '{#9036dd}&lA{#822bee}&lu{#741fff}&lr{#822bee}&le{#9036dd}&lu{#9e42cd}&lm{#ac4dbc}&l-{#ba59ab}&lL{#c7659a}&li{#d57089}&lf{#e37c79}&le'
      - '{#9e42cd}&lA{#9036dd}&lu{#822bee}&lr{#741fff}&le{#822bee}&lu{#9036dd}&lm{#9e42cd}&l-{#ac4dbc}&lL{#ba59ab}&li{#c7659a}&lf{#d57089}&le'
      - '{#ac4dbc}&lA{#9e42cd}&lu{#9036dd}&lr{#822bee}&le{#741fff}&lu{#822bee}&lm{#9036dd}&l-{#9e42cd}&lL{#ac4dbc}&li{#ba59ab}&lf{#c7659a}&le'
      - '{#ba59ab}&lA{#ac4dbc}&lu{#9e42cd}&lr{#9036dd}&le{#822bee}&lu{#741fff}&lm{#822bee}&l-{#9036dd}&lL{#9e42cd}&li{#ac4dbc}&lf{#ba59ab}&le'
      - '{#c7659a}&lA{#ba59ab}&lu{#ac4dbc}&lr{#9e42cd}&le{#9036dd}&lu{#822bee}&lm{#741fff}&l-{#822bee}&lL{#9036dd}&li{#9e42cd}&lf{#ac4dbc}&le'
      - '{#d57089}&lA{#c7659a}&lu{#ba59ab}&lr{#ac4dbc}&le{#9e42cd}&lu{#9036dd}&lm{#822bee}&l-{#741fff}&lL{#822bee}&li{#9036dd}&lf{#9e42cd}&le'
      - '{#e37c79}&lA{#d57089}&lu{#c7659a}&lr{#ba59ab}&le{#ac4dbc}&lu{#9e42cd}&lm{#9036dd}&l-{#822bee}&lL{#741fff}&li{#822bee}&lf{#9036dd}&le'
      - '{#f18768}&lA{#e37c79}&lu{#d57089}&lr{#c7659a}&le{#ba59ab}&lu{#ac4dbc}&lm{#9e42cd}&l-{#9036dd}&lL{#822bee}&li{#741fff}&lf{#822bee}&le'
      - '{#ff9357}&lA{#f18768}&lu{#e37c79}&lr{#d57089}&le{#c7659a}&lu{#ba59ab}&lm{#ac4dbc}&l-{#9e42cd}&lL{#9036dd}&li{#822bee}&lf{#741fff}&le'
      - '{#f18768}&lA{#ff9357}&lu{#f18768}&lr{#e37c79}&le{#d57089}&lu{#c7659a}&lm{#ba59ab}&l-{#ac4dbc}&lL{#9e42cd}&li{#9036dd}&lf{#822bee}&le'
      - '{#e37c79}&lA{#f18768}&lu{#ff9357}&lr{#f18768}&le{#e37c79}&lu{#d57089}&lm{#c7659a}&l-{#ba59ab}&lL{#ac4dbc}&li{#9e42cd}&lf{#9036dd}&le'
      - '{#d57089}&lA{#e37c79}&lu{#f18768}&lr{#ff9357}&le{#f18768}&lu{#e37c79}&lm{#d57089}&l-{#c7659a}&lL{#ba59ab}&li{#ac4dbc}&lf{#9e42cd}&le'
      - '{#c7659a}&lA{#d57089}&lu{#e37c79}&lr{#f18768}&le{#ff9357}&lu{#f18768}&lm{#e37c79}&l-{#d57089}&lL{#c7659a}&li{#ba59ab}&lf{#ac4dbc}&le'
      - '{#ba59ab}&lA{#c7659a}&lu{#d57089}&lr{#e37c79}&le{#f18768}&lu{#ff9357}&lm{#f18768}&l-{#e37c79}&lL{#d57089}&li{#c7659a}&lf{#ba59ab}&le'
      - '{#ac4dbc}&lA{#ba59ab}&lu{#c7659a}&lr{#d57089}&le{#e37c79}&lu{#f18768}&lm{#ff9357}&l-{#f18768}&lL{#e37c79}&li{#d57089}&lf{#c7659a}&le'
      - '{#9e42cd}&lA{#ac4dbc}&lu{#ba59ab}&lr{#c7659a}&le{#d57089}&lu{#e37c79}&lm{#f18768}&l-{#ff9357}&lL{#f18768}&li{#e37c79}&lf{#d57089}&le'
      - '{#9036dd}&lA{#9e42cd}&lu{#ac4dbc}&lr{#ba59ab}&le{#c7659a}&lu{#d57089}&lm{#e37c79}&l-{#f18768}&lL{#ff9357}&li{#f18768}&lf{#e37c79}&le'
      - '{#822bee}&lA{#9036dd}&lu{#9e42cd}&lr{#ac4dbc}&le{#ba59ab}&lu{#c7659a}&lm{#d57089}&l-{#e37c79}&lL{#f18768}&li{#ff9357}&lf{#f18768}&le'
      - '{#741fff}&lA{#822bee}&lu{#9036dd}&lr{#9e42cd}&le{#ac4dbc}&lu{#ba59ab}&lm{#c7659a}&l-{#d57089}&lL{#e37c79}&li{#f18768}&lf{#ff9357}&le'

  rows:
    1:
      interval: 5
      lines:
        - ''
    2:
      interval: 80
      lines:
        - '&e✗ &6&lGeld &e✗'
    3:
      interval: 80
      lines:
        - ''
    4:
      interval: 80
      lines:
        - '&b&l> &a%vault_eco_balance_formatted% &2$'
    5:
      interval: 80
      lines:
        - ''
    6:
      interval: 80
      lines:
        - '&e✗ &c&lClaimblöcke &e✗'
    7:
      interval: 80
      lines:
        - ''
    8:
      interval: 80
      lines:
        - '&b&l> &a%griefprevention_remainingclaims% &2Blöcke'
    9:
      interval: 80
      lines:
        - ''
    10:
      interval: 80
      lines:
        - ''
    11:
      interval: 80
      lines:
        - '&e✗ &bDu hast fragen?'
    12:
      interval: 80
      lines:
        - '&e✗ &bMit &7/hilfe &bwirst du fündig!'
    13:
      interval: 80
      lines:
        - ''
    14:
      interval: 100
      lines:
        - '&a&l———&e× &7[&d&lAureum-Life&7] &e×&a&l———'
        - '&a&l———&e× &7[&9&lAureum-Life&7] &e×&a&l———'
        - '&a&l———&e× &7[&6&lAureum-Life&7] &e×&a&l———'
        - '&a&l———&e× &7[&5&lAureum-Life&7] &e×&a&l———'
Gabris060 commented 2 years ago

I am also having the exact same issue.

Brandon171766 commented 2 years ago

Same here