DecentSoftware-eu / DecentHolograms

A lightweight but powerful hologram plugin with many features and configuration options.
https://www.spigotmc.org/resources/96927/
GNU General Public License v3.0
203 stars 96 forks source link

Allow {damage} to be shortened parsed. #184

Open KhrysAK47 opened 9 months ago

KhrysAK47 commented 9 months ago

Just making sure

Problem

I am using the damage indicators in DecentHolograms, however, my items deal a lot of damage, and it is confusing to read damage indicators with large numbers.

Feature

I would like to see an option to either:

a) Add commas support to it internally, (so instead of showing 10000 for example, it's 10,000) or; b) Add shortened format to it, (so instead of showing 10000 for example, it's 10k).

Alternatives

I am currently doing it by parsing damage through Formatter, but that causes performance issues.

appearance: '&c%formatter_numberformat{damage}%'