Add option for Social Spy to use player names
Information
This PR closes #1995 from 5 years and 8 months ago.
Details
Proposed feature:
Add a config file option for Social Spy to use either display names (the default) or player names in its output.
~~Also fix a bug which has been present for 6+ years where socialMutedSpyPrefix should have been socialSpyMutedPrefix.~~
(This was fixed in 2.x with the Adventure changes.)
Environments tested:
OS: Linux 4.15.0-213-generic
Java version: Oracle 17.0.8+9-LTS-211
- [x] Most recent Paper version git-Paper-381 (MC: 1.20.4)
- [ ] CraftBukkit/Spigot/Paper 1.12.2
- [ ] CraftBukkit 1.8.8
Demonstration:
Sample output with socialspy-uses-displaynames: true (the current behavior and default):
Sample output with socialspy-uses-displaynames: false:
I'll note that I find the second version to be much more readable.
Rebased and retested successfully.