Msg Removed

Discussion in 'Archived: Plugin Requests' started by DJ411, Jul 20, 2012.

  1. Offline

    DJ411

    So i was thinking if this is at least possible but i was wondering if when someone is banned or kicked for anything if they recently typed in Chat it would remove the text or blank it out or give a custom msg.

    Example would be if someone advertises there own server and i kick them or ban them it will take that msg and delete it and say like "Msg Removed" so no one will see it. Another example would be swearing or cussing. If someone is using bad language and you don't want any one to see it and that person is getting kick after they get kicked it says "Msg Removed" but for the rest of the chat history that is still available to view.

    Now for server logs it wouldn't remove this text i would hope it just goes to every ones client.

    Is this possible? any one up for the challenge?
     
  2. How would you distinguish between a player writing http://google.com/ and http://omg-come-join-my-server.net/ ?
    You might be able to disable all links, but even then; you would just be able to use a workaround like 'come-join-my-server(dot)net'. If you want a profanity filter and link-blocker, I am sure it's been done.

    Please use the search bar, list the things you have looked at and if you STILL can't solve your problem with EXISTING plugins (NOTE: You might have to use more than one, but that's life - it sucks!), I will try to help you.
     
  3. Offline

    DJ411

    Ok your not understanding what i was looking for. I don't want a url stopper or an anti spam plugin. I also can't find any plugins that do this so i can't post any.

    The code in my guess wouldn't look at what the players are typing it will only remove the persons msg if an admin, mod or maybe a plugin kicks or bans that player will it then maybe *** there msgs or replace what they say with "Message Removed"

    I will try and show what i would like in an example.

    Code:
    [Admin] DJ411: Hello Every one
    Random: Hey DJ
    Troll: You Suck, Join my server 123.123.0.1
     
    "Then i would type /kick Troll No Advertising"
     
    [Admin] DJ411: Hello Every one
    Random: Hey DJ
    Troll: "Message Removed"
    Troll was kicked "No Advertising"
     
    or
     
    [Admin] DJ411: Hello Every one
    Random: Hey DJ
    Troll: ***********
    Troll was kicked "No Advertising"
    So in the end that persons text is then removed on every ones client. I don't even know if this is possible and that was my main question but i think if it is then this would be really cool. So maybe even step one is too see if removing text from the game after its been posted is possible.
     
  4. Offline

    np98765

    I'm positive you cannot edit a chat message once it's been sent. If you are really that against the whole "chat clearing" idea, where the plugin just sends 15 blank lines... Then you'll need a very complicated plugin.

    The plugin would basically save the chat log, and when you "edit" out the other person's message, it would just resend the last 15 or so lines without the user's message.
     
  5. Offline

    DJ411

    No its not like SO needed its just something that would be very cool.
     
  6. DJ411
    I'm very sorry, I misunderstood what you were asking for.
    To my knowledge the ONLY time you can edit a message is when the server recieves it. This is where the message can be changed or removed.

    tl;dr: AFAIK not possible to change previous messages.
     
  7. Offline

    DJ411

    I thought so. It would be very cool to see something like that come out tho.
     

Share This Page