PowerRanks

PowerRanks

650k Downloads

Chat/Tab formatting [] bug

svenar-nl opened this issue ยท 1 comments

commented

I'm not a dummy, so I've checked these

  • I am not using any other permission management plugin
  • I use the latest available version of PowerRanks
  • I am a human

Describe the bug
When formatting the chat/tablist from the config, it is not possible to add [ & ]. The PowerRanks formatter will not like that.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'config.yml'
  2. Change '[player]' to '[[player]]'
  3. Watch PowerRanks burn

Expected behavior
[player name here]
Desktop (please complete the following information):

  • OS: ubuntu
  • Server typePurPur
  • Minecraft Version 1.16.5
  • PowerRanks version 1.9.8R2

Additional context
Add any other context about the problem here.

commented

In PowerRanks v1.10.5 the format can now be escaped
format: '[player] [[player]]' -> svenar svenar] Unescaped
format: '[player] \\[[player]]' -> svenar [svenar] Escaped