emanondev / ItemEdit

GNU General Public License v3.0
17 stars 14 forks source link

[Feature Request] Limit characters of a line of lore #15

Closed Folas1337 closed 11 months ago

Folas1337 commented 11 months ago

Hey there,

I'd love to have the config option like lore-line-limit, only that it restricts the amount of characters you can have in one line of lore.

  lore-character-limit: 40

Cause very long lines in lore are rather annoying and really hard to read, so this would be an awesome addition I think :)

emanondev commented 11 months ago

solved, you can see

[...]
blocked:
  [...]
  # How many chars can an item name contains?
  # format codes are NOT ignored
  # this limit is ignored if user has permission itemedit.bypass.rename_length_limit
  # set -1 for no limit
  rename-length-limit: 120
  # How many chars can an item lore line contains?
  # format codes are NOT ignored
  # this limit is ignored if user has permission itemedit.bypass.lore_length_limit
  # set -1 for no limit
  lore-length-limit: 120

on config file

Folas1337 commented 11 months ago

Damn, that was faster than I would have imagine. Thank you so much <3