Lua chat filter

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

Lua chat filter

by aldobr » Post

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
Location: McKinney, Texas U.S.A.
Contact:

by Traxie21 » Post

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: 839
Joined: Wed Sep 12, 2012 00:44
GitHub: bremaweb
IRC: BrandonReese
In-game: BrandonReese
Location: USA

by BrandonReese » Post

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
Location: Germany

by PilzAdam » Post

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).

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests