Open Implement chat feature to auto shorten charspam

Discussion in 'Suggestions' started by Saber, Jan 24, 2023.

  1. Saber

    Saber Member
    Developer Community Teams Rules Committee

    Joined:
    Jan 6, 2023
    Messages:
    71
    Likes Received:
    53
    Currently on the server it seems that most of the charspam is either accidental or from people who do not know the rules. It seems most of this charspam could be avoided by having a chat feature that shortens any charspam to 5 characters automatically. for example, if a player types "uhmmmmmmmm", it could automatically shorten it to "uhmmmmm". The shortened message has the same intent as the original but is no longer charspam. If this is not feasible then I would suggest just blocking the message telling people that charspam is not allowed similar to how ips and websites ae handled.
     
  2. AshesRevamp

    AshesRevamp Staff Member
    Moderator Community Teams

    Joined:
    May 21, 2022
    Messages:
    596
    Likes Received:
    62
    There might be too many possibilities to make it work but I'm not sure.
    Also spam can still be like just "hhhhhh", I think so it only solves part of the problem, might not be worth it imo.
     
  3. GodOfSandwiches

    Community Teams

    Joined:
    Jul 2, 2022
    Messages:
    317
    Likes Received:
    20
    While this is a good idea it seems like it would be difficult to program. I've seen something like this on discord bots before and it would sometimes trigger on long words ¯\_(ツ)_/¯. So while it's a good idea I'm not sure how feasible it is.
     
  4. Saber

    Saber Member
    Developer Community Teams Rules Committee

    Joined:
    Jan 6, 2023
    Messages:
    71
    Likes Received:
    53
    It sounded easy to code to me but just saying that with no backing seemed pointless, so I made a plugin that shortens any character spam to 5 characters. This is my first ever plugin though so I wouldn't recommend actually adding it to PF lol.

    SaberSupe/CharSpamnt: Spigot plugin to automatically reduce character spam (github.com)
     
  5. Waffle

    Waffle Member

    Joined:
    Jun 19, 2022
    Messages:
    219
    Likes Received:
    23
    But, I like yelling at people for it though
     
    GodOfSandwiches likes this.
  6. GodOfSandwiches

    Community Teams

    Joined:
    Jul 2, 2022
    Messages:
    317
    Likes Received:
    20
    mood