Lua chat filter

User avatar
aldobr
Member
 
Posts: 316
Joined: Sun Nov 25, 2012 05:46

Lua chat filter

by aldobr » Mon May 06, 2013 08:42

Allow lua scripts to filter what player says,

i need this to implement geographically limited chatting,

making radios and telephones be trully usefull...
 

User avatar
Traxie21
Member
 
Posts: 753
Joined: Mon Dec 31, 2012 10:48

by Traxie21 » Mon May 06, 2013 11:32

It is possible to some degree aready.

Check out my ServerExtended se_startup mod for an example.
http://github.com/ServerExtended--Unstable-
 

User avatar
BrandonReese
Member
 
Posts: 836
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese

by BrandonReese » Mon May 06, 2013 13:54

You could revoke everybody's shout priv and write your own chat command(s)
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Mon May 06, 2013 14:11

BrandonReese wrote:You could revoke everybody's shout priv and write your own chat command(s)

You dont have to do that. You can just return true in on_chatcommand() callback to disable auto sending (IIRC).
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 6 guests

cron