Skip to product information
1 of 2

Anti Spam | Verse Made Simple

Anti Spam | Verse Made Simple

Title 1
Save/bookmark this page link/url for future downloads of files. You can also access file by login to your account.

Downloadable files along with this product

    No files to download


    Details

        Detect and flag button-spam behavior on your island with a lightweight, drop-in device that monitors any number of buttons for rapid repeated presses.

        What Problem It Solves

        If you’ve ever needed to:

        • Catch players mashing buttons to exploit cooldowns or timers
        • Protect item dispensers and claim points from rapid re-triggering

        This device gives you a clean, reusable way to monitor button interaction.

        How It Works

        The device subscribes to each configured button’s InteractedWithEvent and records a timestamp for every press using GetSimulationElapsedTime().

        Each time a button is pressed, the device prunes timestamps older than the configured window, then checks how many presses landed inside that window. If the count reaches the configured threshold, a warning is logged.

        Each button is tracked independently, so spam on one button does not affect the count on any other button.

        The tracker keeps, per button:

        • A rolling list of recent press timestamps
        • The most recent press time
        • The active press count within the current window

        What You Get

        • anti_spam_device creative device
        • Multi-button monitoring from a single device
        • Configurable max presses and time window
        • Automatic pruning of expired press records

        Why It’s Better

        • One device covers many buttons at once
        • Sliding-window detection. Catches bursts
        • Tunable sensitivity

        Setup (Quick)

        1. Place the AntiSpam device on your island
        2. Add the buttons you want to monitor to the Buttons array
        3. Set MaxPresses to the number of presses that should trigger a warning
        4. Set Window to the time window (in seconds) those presses are counted within
        5. Run the map and watch the logs — a warning fires as soon as a button exceeds the threshold

        The device starts monitoring automatically on OnBegin and runs for the full session with no further setup required.

        View full details

        Join our server!

        Get support, ask questions or suggest ideas for new code!