[ClientMod] Who plus [who_plus]

red-001
Member
 
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001

[ClientMod] Who plus [who_plus]

by red-001 » Sun Jun 04, 2017 21:46

A simple mod for listing player and carrying out some basic moderator actions, based on the existing "csm_who" mod by tjnenrtn
Usage
Use the .who chatcommand to display the formspec, then select a player from the list to see a list of actions
Get
Github: https://github.com/red-001/csm_who_plus/
Download: https://github.com/red-001/csm_who_plus/archive/master.zip
Image
 

User avatar
DS-minetest
Member
 
Posts: 1022
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [ClientMod] Who plus [who_plus]

by DS-minetest » Mon Jun 05, 2017 09:54

More buttons would be nice, eg. a teleport button. Also a way to add custom buttons would be very good.
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
BirgitLachner
Member
 
Posts: 358
Joined: Thu May 05, 2016 10:18
In-game: Bibs

Re: [ClientMod] Who plus [who_plus]

by BirgitLachner » Mon Jun 05, 2017 10:21

Yes ... I'll do something like this for a mod that will be called "Minetest teacher Tool". Every improvement here will be good for me, too.

A question ... it is called a client side mod ... but can I use it as a mod installed on a server, too that every admin can use it?
 

red-001
Member
 
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001

Re: [ClientMod] Who plus [who_plus]

by red-001 » Mon Jun 05, 2017 11:19

No sadly there isn't a way to send client-sided mods to clients from the server, if you want to do that you could modify the mod to be a server-sided mod
 

User avatar
BirgitLachner
Member
 
Posts: 358
Joined: Thu May 05, 2016 10:18
In-game: Bibs

Re: [ClientMod] Who plus [who_plus]

by BirgitLachner » Mon Jun 05, 2017 14:27

Hmmm, well then I need to understand what is the difference between a CSM and a SSM.
 

Sokomine
Member
 
Posts: 3616
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

Re: [ClientMod] Who plus [who_plus]

by Sokomine » Sun Jun 11, 2017 02:16

BirgitLachner wrote:Hmmm, well then I need to understand what is the difference between a CSM and a SSM.

For your purpose a "normal" server side mod would probably be better suited. Client-side mods can't do all the things a server-side mod might do. The advantage of client-side mods is that you are independent of the server. Still, you can save the time to design your own formspec. There are not that many adjustments needed.

I'll attach a modified copy of this mod that can be run server-side. It's more a demonstration of how you can do it than a working mod - kick and ban won't do anything as I didn't check how those would have to be implemented. Hopefully this will give you an idea of how these lists can be handled in chat commands.
Attachments
init.lua.gz
(1.89 KiB) Downloaded 21 times
A list of my mods can be found here.
 

User avatar
BirgitLachner
Member
 
Posts: 358
Joined: Thu May 05, 2016 10:18
In-game: Bibs
 

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

Re: [ClientMod] Who plus [who_plus]

by sorcerykid » Thu Jul 06, 2017 19:16

Cool! That looks a bit similar to the /who command on my server :)

Image

It shows the player skin, rank, how long they've been online and whether they are active, idle, or dead. For moderators, options are added for jail and kick. The server operator has the ability to view many other statistics such as health, hunger, location, etc. :)
 

User avatar
ManElevation
Member
 
Posts: 893
Joined: Tue Aug 02, 2016 22:04
Location: Madrid,Spain
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
 


Return to Client-side modding



Who is online

Users browsing this forum: No registered users and 0 guests