TagAPI needs ProtocolLib to work. Currently, ProtocolLib support for 1.19.x is not finalized, so there may be bugs.
If TagAPI is not detected, nametag functionality is disabled.
TagAPI only supports up to 1.19. Do not use it if you are on 1.19.1 or higher.
Added /eloa nametags
Toggles nametags; immediately updates
Still works if TagAPI is not present, though doesn't do anything except update the config
Removed /eloa version
I missed Spigot supporting /version PvPElo
Cleaned up code
Fewer redundant variable declarations; should free up some memory
Noticed a couple of logic errors that caused bigger errors
Adjusted formula
Now has minimum and maximum caps for adjustment amount
Minimum is 1, max is 10% of max elo
Resolved issue with absurdly high elo adjustment if the rating difference was too high
Minimum elo is now hard-coded to 1
This prevents divide-by-zero issues with the formula introduced in the last update
Plans:
Tab autocomplete for commands
Likely remove maximum elo
The trouble with current environment is that when a max-capped player kills another player, elo is lost from the pool (sum of all players' elo). The only way to generate elo would be to kill min-capped players, as they would lose nothing and the killer would gain 1 elo.
Potential changes:
Minimum elo 1, maximum at integer limit (over 2 billion)
No longer configurable
Minimum adjustment 0, which occurs when the rating differential is too high
Re-work formula based on integer limit to modify "base payout"