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

Post Reply
User avatar
Tmanyo
Member
Posts: 196
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo
Location: United States
Contact:

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

by Tmanyo » Post

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
Spoiler
  • Known Issues that were fixed:
  • No longer crashes when typing /rating before there are any ratings.
  • You can no longer create a negative value review.
  • It more accurately checks for a description.
  • You can no longer submit ratings over 5.

    Changes:
  • Added date and time of review.
  • Moved and widened review area by a tiny amount.
Image
Image
Last edited by Tmanyo on Sat Apr 08, 2017 03:13, edited 2 times in total.
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player

Byakuren
Member
Posts: 818
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri
In-game: Raymoo + Clownpiece

Re: [Mod] T-Rating [0.1]

by Byakuren » Post

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.

User avatar
Tmanyo
Member
Posts: 196
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo
Location: United States
Contact:

Re: [Mod] T-Rating [0.1]

by Tmanyo » Post

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.
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player

User avatar
DI3HARD139
Member
Posts: 154
Joined: Sat Oct 18, 2014 21:04
GitHub: DI3HARD139
IRC: DI3HARD139
In-game: DI3HARD139 DI3HARD139_

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

by DI3HARD139 » Post

Suggestion: Add a date for each review.

User avatar
Tmanyo
Member
Posts: 196
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo
Location: United States
Contact:

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

by Tmanyo » Post

DI3HARD139 wrote:Suggestion: Add a date for each review.
I will definitely consider that.
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

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

by azekill_DIABLO » Post

it's an awesome idea! i love it! can we vote mutiple times?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Tmanyo
Member
Posts: 196
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo
Location: United States
Contact:

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

by Tmanyo » Post

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.
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

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

by azekill_DIABLO » Post

ok!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
emperor_genshin
Member
Posts: 83
Joined: Tue Dec 22, 2015 05:04
GitHub: GenshinMT
IRC: Genshin
In-game: Genshin
Location: [REDACTED]
Contact:

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

by emperor_genshin » Post

Looks very useful for server hosts, I may try this mod on mines one day. :)
Last edited by emperor_genshin on Thu Jan 30, 2020 22:13, edited 1 time in total.
I'm just a individual who likes to make impressive things. | Current Mod: Dungeon Crawl Maker https://www.youtube.com/watch?v=c6g6H2kLBpg

User avatar
Tmanyo
Member
Posts: 196
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo
Location: United States
Contact:

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

by Tmanyo » Post

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!
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

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

by azekill_DIABLO » Post

how did you do this progress bar? multiple textures? a texture which gets scaled and colored?
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
Tmanyo
Member
Posts: 196
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo
Location: United States
Contact:

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

by Tmanyo » Post

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.
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

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

by azekill_DIABLO » Post

pertty clever, i didn't knew the existence of it... it does a good job!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests