Censor server IPs every [n] minutes/seconds
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. =)
Sounds like a far better way to handle it than leaving it just down to admins.
@DUFCLiam, no, we are still using PlayerListener (onPlayerChat)
good idea
@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.
Tied to #1958