Ban Management

Ban Management

193k Downloads

[player] not replaced at join denied notification

EvilOlaf opened this issue · 4 comments

commented

[12:08:09 INFO]: Warning: [player] attempted to join the server but was denied due to Fly Hack.

[player] not getting replaced´with the real name ingame as well as in console.

BM5.6.1

Thought I did report this before but couldn't find the report...maybe I was wrong...

commented

Are you sure this is the deniedNotify.player message and not .ip? The code does have it as setting the player token

https://github.com/BanManagement/BanManager/blob/master/src/main/java/me/confuser/banmanager/listeners/JoinListener.java#L129

commented

Not sure about that as they sound exactly the same in messages.yml.

commented

.ip contains [ip] token and .player contains [player]

commented

Then the ip warning wrongly contained [player] and not [ip].
So fixed :)