Problems Referring to Users with Similar Names - Likely caused by using Server.getPlayer
What version of AdvancedBan (/AdvancedBan) are you using?
2.3.0
What kind of server do you have (Bungeecord/single server)?
Single server
What server version (/version) are you using? Spigot 1.8.9
Please provide the EXACT steps required to reproduce the problem...
- Ban the user 'dawpo'
- Have the user 'dawpowo' join the server
- Run
/unban dawpo - Response is "dawpowo is not banned"
Any error/log post it through pastebin.com and link it here. (Also include /plugins/AdvancedBan/logs/latest.log) n/a
Add any additional information below. Reported by user harrison on the discord
I suspect the issue is caused by using Server.getPlayer instead of getPlayerExact. For some odd reason, the Bukkit developers thought it was a good idea to include non-simple name matching in getPlayer. getPlayerExact, instead, will only return exact matches (the correct behavior).