Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5863

CLONE - CraftTeam#setPrefix and setSuffix should allow higher limits

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • CraftBukkit version git-Spigot-1d0aef7-1fccb89 (MC: 1.13-pre7) (Implementing API version 1.13-pre7-R0.1-SNAPSHOT)

      Currently, team prefix and suffix is set using JSON in Minecraft 1.13, This allows teams to have longer prefixes and suffixes. The current limit is set to 32 chars but Team.setPrefix and setSuffix should allow for higher limits.

      This will allow Scoreboard lines to be higher than 64 chars (including 2 chars per color used) and allows to not use any trick to cut strings (counting ยง char at position 31 or ChatColor.getLastColors) between the prefix and the suffix

            Unassigned Unassigned
            HAlex Lorenzo Lapucci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: