TotalFreedomMod icon indicating copy to clipboard operation
TotalFreedomMod copied to clipboard

Censor server IPs every [n] minutes/seconds

Open Sabermc7 opened this issue 10 years ago • 9 comments

Hoi,

So I have this amazing suggestion, since advertising is only allowed once every 10 minutes. I think that when a player censors a server IP (e.g. 123.123.123.123 or play.insertiphere.com) it only allows them to say it in chat once and if they do it again then they'll recieve a message saying "You cannot advertise for the next [n] minutes" Similar to patty's suggestion but better as it'll censor from anywhere including commands, chat, etc (commands e.g. /me, or /msg because some like to /msg **). The way it'll stop them announcing ANY IP a lot every 10 minutes is IPs will always have the dots in them, this will be the same for commas if a player tries bypass the filter using commas.

So please accept this suggestion, it's very important, most ops just love spamming away and don't care about the advertising rule, so there's no reason why they are allowed to spam ads when it's not allowed, which is why we'll censor IPs that were filtered in a command or chat to only be announced once every 10 minutes, or at least once every minute if so. So that's how it'll work, TFM will automatically detect a server IP and once a player says a text like ip.ip.ip with middle dots, it'll censor it as a IP and the op spamming ads wont be able to do it again. =)

Sabermc7 avatar Jan 04 '16 20:01 Sabermc7

Sounds like a far better way to handle it than leaving it just down to admins.

Wild1145 avatar Jan 04 '16 21:01 Wild1145

@DUFCLiam, no, we are still using PlayerListener (onPlayerChat)

mayokek avatar Jan 06 '16 01:01 mayokek

good idea

ghost avatar Jan 08 '16 13:01 ghost

@DUFCLiam Auto ejecting is a bad idea tbh, since it's already censored, I really don't think they should be auto ejected at all. I think just cancelling the object (I think its possible to cancel what the player is going to say) and start off with that, and then if they try again & again, it should say "Please wait (mins) until you could say the advertisement again" or something.

robingall2910 avatar Jan 11 '16 21:01 robingall2910

Tied to #1958

Wild1145 avatar May 30 '17 12:05 Wild1145