nodebb-plugin-minecraft-integration
nodebb-plugin-minecraft-integration copied to clipboard
Show Minecraft username next to forum username
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.
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.
I'm going to be adding their avatar and/or realname, but I can't figure out how to get their displayname.
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
I mean the /nick
name. :smile:
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