This mod adds a server rating system to Minetest. You use "/rate <number value between 0 and 5> <description>" to rate the server. You use "/rating" to view the overall server rating and individual player reviews. This can either be a good tool or a bad tool for your server depending on how much the players like it. The colored bar while viewing the overall rating can be one of three different colors. If it is a low rating, it will be red. If it is a mid-range rating, it will be yellow. If it is a good rating, it will be green.
Chatcommands:
/rate <number value between 0 and 5> <description>
Sounds useful for feedback, but not necessarily for players who want to know if a server is good. The server could just modify the mod to fake the ratings.
Every time a mod API is left undocumented, a koala dies.
Byakuren wrote:Sounds useful for feedback, but not necessarily for players who want to know if a server is good. The server could just modify the mod to fake the ratings.
I had not considered that, but you have a really good point.
azekill_DIABLO wrote:it's an awesome idea! i love it! can we vote mutiple times?
You can only rate once as in most scenarios. However, if you type /rate (value) (description) again, your review will update to whatever you just entered. Also, at this time I think I will be updating the version too. I always seem to find flaws after I release it.
azekill_DIABLO wrote:how did you do this progress bar? multiple textures? a texture which gets scaled and colored?
I used the formspec "box" element. A function checks the overall server rating and decides the color. Another function checks the overall server rating and converts the number to a length for the box. So where the "width" is inserted, it calls the function instead. I figured it would still do a good job and I wouldn't have to make more textures.