[Mod] Report Player List [reportlist]

Post Reply
User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

[Mod] Report Player List [reportlist]

by Lejo » Post

Description:
This is a mod, which allows players to report other in a sorted way.
Players can report other players, but only ones, report will be updated when reporting multiple times

Comands:
/report <name> <reason> | report a player.
This is required to report a player:
  • You must be online for 8 min.
  • The player you want to report must be online too.
  • You have not reported him yet
/reportlist | required ban | Opens a formspec to display the reportcounts of the players
/report_reset <name> | required ban | resets the reports of a player

License: MIT
Optional Depends: You can use Xban2 or Sban if you want to be able to ban the players just right inside the formspec

Recommend: Playtime use it if you want that a player have to play 1h before report someone.(can be changed in init.lua at the top)
Download as zip
Source
Last edited by Lejo on Tue Jun 02, 2020 15:58, edited 10 times in total.

User avatar
rubenwardy
Moderator
Posts: 6289
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: [Mod] Repor Player List [report]

by rubenwardy » Post

There is already a mod called report. So please rename to "reportcount" or something
Looks cool though, I guess. Wouldn't work on CTF as the same good players get reported everytime.

User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: [Mod] Report Player List [reportlist]

by Lejo » Post

rubenwardy wrote:There is already a mod called report. So please rename to "reportcount" or something
Looks cool though, I guess. Wouldn't work on CTF as the same good players get reported everytime.
I renamed the mod to reportlist.
I thought about that I only allow players how played for about 1h to report others, but there is no function to get the playtime yet. May have to create one.
Last edited by Lejo on Sun Nov 26, 2017 11:55, edited 1 time in total.

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

Re: [Mod] Repor Player List [reportlist]

by azekill_DIABLO » Post

There's a typo on the topic's name:
Report Player List

User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: [Mod] Repor Player List [reportlist]

by Lejo » Post

azekill_DIABLO wrote:There's a typo on the topic's name:
Report Player List
Oh xD fixed

User avatar
sorcerykid
Member
Posts: 1462
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: [Mod] Repor Player List [report]

by sorcerykid » Post

Lejo wrote: I thought about that I only allow players how played for about 1h to report others, but there is no function to get the playtime yet. May have to create one.
Lately a few other people have asked about a way to get the current and/or total session time of a player, which is something that my new auth mod provides. I should probably tie up the remaining loose ends and release it sooner rather than later :)

User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: [Mod] Report Player List [reportlist]

by Lejo » Post

I only need the total time the current I can get with:
minetest.get_player_information(playername).connection_uptime

User avatar
the_raven_262
Member
Posts: 315
Joined: Mon Sep 22, 2014 09:30
GitHub: theraven262
IRC: the_raven_262 Raven262 Corvus262 corvus
In-game: the_raven_262 Raven262 Nevermore

Re: [Mod] Report Player List [reportlist]

by the_raven_262 » Post

Nice idea. Though the number of reports should be limited. You don't want one player to join, play for an hour and start reporting other people.
[amber] [conjuration] [warzone] | Why is #minetest-mod-dev so empty?

User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: [Mod] Report Player List [reportlist]

by Lejo » Post

Update: You can now use my mod playtime, then a player have to play total 1h to report someone.

BBmine
Member
Posts: 3475
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: [Mod] Report Player List [reportlist]

by BBmine » Post

I love this mod! I'll have to install it on my servers.

User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: [Mod] Report Player List [reportlist]

by Lejo » Post

Update: If a player gets baned it's displayed in the log and in the chat.

User avatar
Lejo
Member
Posts: 714
Joined: Mon Oct 19, 2015 16:32
GitHub: Lejo1
In-game: Lejo

Re: [Mod] Report Player List [reportlist]

by Lejo » Post

Complete Rework of the Mod!
Is now independent of other ban mods!
Use the Formspec for report-listing.
You can also directly ban players inside the /reportlist form.
Planned:
Tree-view of all players and their reports
EDIT: Added!

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests