Admin Messages and Kick/Ban Users
Posted: 08 Sep 2010, 19:44
Hi,
A couple questions on server-side extension development. First, how does one send an admin message - I'm looking to some additional profanity filtering through handleInternalEvent.
1. Handle the PubMsg and PrivMsg events.
2. If content is acceptable - dispatch the appropriate event.
3. If not, send Admin Event similar to the internal profanity filters, i.e. "No Swearing".
Which function and parameters should I be looking at for this - I don't see a dispatch or send Admin Message function.
Can I provide info back to the server that will work with the various ban/kick options for a user, i.e. frequency/count of warnings, etc. This would also be handled on the server-side. Or if do I need to implement my own violation counters.
Thanks!
A couple questions on server-side extension development. First, how does one send an admin message - I'm looking to some additional profanity filtering through handleInternalEvent.
1. Handle the PubMsg and PrivMsg events.
2. If content is acceptable - dispatch the appropriate event.
3. If not, send Admin Event similar to the internal profanity filters, i.e. "No Swearing".
Which function and parameters should I be looking at for this - I don't see a dispatch or send Admin Message function.
Can I provide info back to the server that will work with the various ban/kick options for a user, i.e. frequency/count of warnings, etc. This would also be handled on the server-side. Or if do I need to implement my own violation counters.
Thanks!