Hey Ruby magicians,
as I’m not able to write a single line of Ruby (and not willing to learn for what I need), I’m coming to you with my request.
I’m running Discourse for a Minecraft server, and as we only know eachother from the skin in-game, I’d like to bring that skin into the forums as well.
My idea is to allow the player to set his Minecraft username in the profile (e.g. by custom user field or by plugin). The player will then be able to set the avatar to the head of his skin.
(This design is what i though of)
The idea is to allow fetching a custom avatar from a defined URL pattern set in the admin panel, like this:
I’d need to use custom user fields in the pattern as well, though, as the Minecraft name will be stored in a custom user field rather than being the Discourse user name.
Optional: Performing checks to see if the custom avatar can be used on the user. E.g. the user does not have a Minecraft name set, so he can’t use the custom avatar source (as it only would throw an error).
Please let me know, if somebody is willing to write a plugin for this. Thanks!