nodebb-plugin-minecraft-integration icon indicating copy to clipboard operation
nodebb-plugin-minecraft-integration copied to clipboard

Show Minecraft username next to forum username

Open jonthesquirrel opened this issue 8 years ago • 5 comments

The minecraft username could be shown between the prefix and the forum name, or after the forum name, or something. I'm not sure what layout would look good, but it would be nice to show the users' minecraft username on any posts they make, as well as their profile page.

jonthesquirrel avatar Mar 06 '16 23:03 jonthesquirrel

I was actually thinking of putting their minecraft avatar next to their forum avatar. I've seen other forums do that, and I think it looks nice. I guess that's kind of a different issue though.

I'll definitely be adding the player's displayname though. Probably with the option of displaying it and the prefix on the avatar tooltip.

yariplus avatar Mar 12 '16 00:03 yariplus

I'm going to be adding their avatar and/or realname, but I can't figure out how to get their displayname.

yariplus avatar Aug 21 '16 17:08 yariplus

assuming you mean their actual ingame nick, not smth. made with a /nick command http://wiki.vg/Mojang_API#UUID_-.3E_Profile_.2B_Skin.2FCape

phit avatar Aug 21 '16 18:08 phit

I mean the /nick name. :smile:

yariplus avatar Aug 21 '16 18:08 yariplus

well then this might help https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Player.html#getDisplayName() https://github.com/SpongePowered/SpongeAPI/blob/6b9fc34e5053a41815f212ef3e54691390f64357/src/main/java/org/spongepowered/api/entity/living/player/Player.java#L228

phit avatar Aug 21 '16 19:08 phit