Page 1 of 1

[Mod] T-Rating [0.2][trating]

PostPosted: Wed Apr 05, 2017 19:45
by Tmanyo
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>
  • /rating

GitHub: https://github.com/Tmanyo/trating
Download: V0.2
License: MIT

+ Changelog


Image
Image

Re: [Mod] T-Rating [0.1]

PostPosted: Thu Apr 06, 2017 00:34
by Byakuren
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.

Re: [Mod] T-Rating [0.1]

PostPosted: Thu Apr 06, 2017 01:06
by Tmanyo
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.

Re: [Mod] T-Rating [0.1][trating]

PostPosted: Fri Apr 07, 2017 03:11
by DI3HARD139
Suggestion: Add a date for each review.

Re: [Mod] T-Rating [0.1][trating]

PostPosted: Fri Apr 07, 2017 03:19
by Tmanyo
DI3HARD139 wrote:Suggestion: Add a date for each review.

I will definitely consider that.

Re: [Mod] T-Rating [0.1][trating]

PostPosted: Fri Apr 07, 2017 11:01
by azekill_DIABLO
it's an awesome idea! i love it! can we vote mutiple times?

Re: [Mod] T-Rating [0.1][trating]

PostPosted: Sat Apr 08, 2017 00:55
by Tmanyo
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.

Re: [Mod] T-Rating [0.2][trating]

PostPosted: Sat Apr 08, 2017 08:34
by azekill_DIABLO
ok!

Re: [Mod] T-Rating [0.2][trating]

PostPosted: Mon Apr 10, 2017 01:20
by emperor_genshin
Looks very useful for server hosters, I may try this mod on mines one day. :)

Re: [Mod] T-Rating [0.2][trating]

PostPosted: Mon Apr 10, 2017 01:45
by Tmanyo
emperor_genshin wrote:Looks very useful for server hosters, I may try this mod on mines one day. :)

Thank you for the feedback, and I hope you do!

Re: [Mod] T-Rating [0.2][trating]

PostPosted: Mon Apr 10, 2017 10:56
by azekill_DIABLO
how did you do this progress bar? multiple textures? a texture which gets scaled and colored?

Re: [Mod] T-Rating [0.2][trating]

PostPosted: Mon Apr 10, 2017 21:16
by Tmanyo
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.

Re: [Mod] T-Rating [0.2][trating]

PostPosted: Tue Apr 11, 2017 09:09
by azekill_DIABLO
pertty clever, i didn't knew the existence of it... it does a good job!