NiftyWarp

24.5k Downloads

Change user lookup name

niftymonkey opened this issue ยท 0 comments

commented

Currently, there are many places in the code that base things off of the player's display name. After getting feedback from users, this isn't always the best way to handle this, especially in certain cases where permissions may come into play.

Consider either changing to player.getName(), or make it configurable.

The other implication this change has is how the warp is displayed to other users when there is a naming collision. For example:

I know JimboJohnson as "JimboJohnson" ... that's all I've ever known him as, as this is his display name. However is player name is actually "jj2314". If he and I both have a listed warp named "foo", then I will see "JimboJohnson.foo" in my list of other people's warps. However, if I change this to be something other than display name, then it will show up as "jj2314.foo". I may not know this belongs to JimboJohnson and may not want to warp there.

Not sure if that warrants a code change to how things are displayed or not. Just wanted to get that info down for posterity.