![]() |
|
Chatting on LVP - Printable Version +- Las Venturas Playground (https://forum.sa-mp.nl) +-- Forum: Main Talk (https://forum.sa-mp.nl/forum-3.html) +--- Forum: Development (https://forum.sa-mp.nl/forum-16.html) +--- Thread: Chatting on LVP (/thread-28091.html) |
Chatting on LVP - Peter - 09-22-2011 I'm going to completely re-write the chat system on Las Venturas Playground, which will be the first system switching to a new directory layout and class and test-based interface. Initially, it will be following this algorithm: Code: 1) If the announcement mode is enabled and the [player] is not anThe first commit just landed. All associated code will be rewritten. If you have feature or enhancement requests or want to discuss behavior of certain features, please reply to this topic. Re: Chatting on LVP - Rien - 09-22-2011 "1) If the announcement mode is enabled and the [player] is not an administrator, block the message. Else: globally distribute." Why not moderator? Re: Chatting on LVP - Peter - 09-22-2011 (09-22-2011, 01:10 AM)Rien J. Clyde link Wrote: "1) If the announcement mode is enabled and the [player] is not an Do you think we should change announcement mode to allow moderators to give them as well? If so, I'll change that from the current behavior. Re: Chatting on LVP - Rien - 09-22-2011 I'd be fine with giving moderators that ability as well. Can't see it do any harm, at any rate.
Re: Chatting on LVP - Peter - 09-22-2011 (09-22-2011, 01:30 AM)Rien J. Clyde link Wrote: I'd be fine with giving moderators that ability as well. Can't see it do any harm, at any rate. Ok. Landed. Re: Chatting on LVP - Peter - 09-22-2011 Steps 1, 2 and 3 have now landed. Pending are the tests. Available functionality right now: - A toggle-able announcement mode which will block all messages from non-crew players, and automatically globalize the said texts making sure that everyone receives them. - A check to make sure that the user is logged in if they're registered. If not, the message will be blocked. - A simple mute-manager which manages muting on a per-component, per-player basis. |