Page 1 of 1

Lua chat filter

PostPosted: Mon May 06, 2013 08:42
by aldobr
Allow lua scripts to filter what player says,

i need this to implement geographically limited chatting,

making radios and telephones be trully usefull...

PostPosted: Mon May 06, 2013 11:32
by Traxie21
It is possible to some degree aready.

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

PostPosted: Mon May 06, 2013 13:54
by BrandonReese
You could revoke everybody's shout priv and write your own chat command(s)

PostPosted: Mon May 06, 2013 14:11
by PilzAdam
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).