-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overhaul nickname detection using metadata or persistent storage #25
Comments
I am not quite sure what you mean by tied to the username, since they are On Wednesday, April 17, 2013, Ronny Chan wrote:
|
Methods make use of |
I see as for the rest? On Wednesday, April 17, 2013, Ronny Chan wrote:
|
Besides issues #3 and #20? Perhaps bans as well, the point is that it's not good having the IRC nickname be used as the ingame name in any case. And yes, metadata is not persistent, and while metadata is lightweight, if you have a form of persistent storage, you could have it save custom nicks the next time the player logs on. |
My comment on the issue is in favor of this idea. I understand the issues On Wednesday, April 17, 2013, Ronny Chan wrote:
|
I think something like an ircnick.yml file would be preferred so that it doesn't clutter the config yaml. |
Yes. Do you plan to work on this feature? On Wednesday, April 17, 2013, Ronny Chan wrote:
|
Not for the time being, I might do it someday, but it seems a larger undertaking than my other pull requests, I just fixed those issues because I used to use BukkitIRCd when Jdbye was still maintaining it, and I discovered that those features were broken in this new version, and for my own aesthetic interests (Such as #26) Plus, I have my own projects to work on. :/ I'm just putting the suggestion out there in case anyone does this before I get around to it. |
Because this is probably the best way to do issues #20 and #3
as well as a whole lot of other things, I'm going to close that issue, and describe what I mean here, as this goes way beyond issue #20
Currently, nicknames are tied to the Minecraft username of the player, with no way to change them without breaking a lot of things. This is not good.
I suggest assigning and storing the nickname as player metadata, or a form of persistent storage, while adding the param to BukkitPlayer. That way, you have access to the player's IRC nickname, as well as ingame nickname. Many methods get the Player object by using
getPlayer()
with thenick
value in a BukkitPlayer object. Thenick
value is set to the player's name at start. However, if we have malleable nicknames, we can easily get the BukkitPlayer object with the nickname, and the player name.This is the best way to cleanly solve issues #20 and #3 , as well as even allowing the possibility of a command that changes ingame nicknames without breaking features.
The text was updated successfully, but these errors were encountered: