Commands using nicknames being routed to another user. #5571
Labels
status: open to PR
Low priority enhancements that anyone is welcome to contribute.
type: enhancement
Features and feature requests.
type: problem
Problems that are not strictly bugs.
Type of bug
Other unexpected behaviour
/ess dump all
outputhttps://essentialsx.net/dump.html?id=4204f55e10c34431b0cd83451beda173
Error log (if applicable)
No response
Bug description
I use the nickname of Ken on my server. My actual username is "lecraeman". I have all the tab completion and command usage setup to respect nicknames in Essentials. It works almost all the time. However, I've run into an issue lately. Two users have gotten on that have broken the system.
One is named "MushuAwakens" and the other "DuckenEnjoyer". Whenever either is on, if anyone uses "/msg Ken" (Or any other essential commands - it routes to one of them, rather than me. I assume this has to do with the fact that "Ken" is in their actual username.
I even tried giving them nicknames that DID NOT contain "ken" and it still happens. Not entirely sure what is causing this, but I keep executing commands on these players that I intend to execute on myself. I can get around this by using my actual username, but because I have essentials commands setup to tab complete nicknames, that makes this a lot harder.
I am guessing this is some sort of breakage with how essentials tries to find an online player, even if you don't enter a fullname.
Steps to reproduce
Expected behaviour
Commands should route to the user with the nickname "Ken" if entered exactly.
Actual behaviour
Commands route to a user with the nickname WITHIN their username. Ex, Nickname --> Ken , routes to --> MushuAwakens.
The text was updated successfully, but these errors were encountered: