Jump to content

Search the Community

Showing results for tags 'ad blocker'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. Link: https://community.multitheftauto.com/index.php?p=resources&s=details&id=14700 For this resource to work, type this in the console: aclrequest allow AdBlock function.banPlayer This resource will ban players who try to advertise other servers. Their message will not show up in the chat but will be logged in the server.log Key features: IPv4 and IPv6 detection Private chat control (/msg) Blacklist specific words or server names Exclude specific ACL groups Custom ban time and ban type Settings for each feature You can modify ban duration, ban type (IP, serial or both) and enable or disable each feature in the settings. To change AdBlock settings, open the Admin Panel -> Resources. Find AdBlock and click the settings button. IPv6 detection is disabled by default since MTA does not yet support it, however it might prove useful in the future. Admins, Moderators and SuperModerators are allowed to advertise by default, however you can change that in the settings. There is an exported function to detect ads: isAdvertisement(string) You can use this function if you have any custom chat scripts. For example: if exports.AdBlock:isAdvertisement(message) then -- do something end
×
×
  • Create New...