Chalwk

Anti Impersonator

A simple script to prevent other players from impersonating your community members.

 

Settings:

local settings = {

    -------------------
    -- config starts --
    -------------------

    -- Default action to take against people who are caught impersonating:
    -- Valid actions are 'kick' & 'ban'
    --
    action = 'kick',

    -- Default ban time against impersonators:
    --
    ban_time = 10, -- (In Minutes) -- Set to zero to ban permanently

    -- Punish reason:
    --
    reason = 'Impersonating',

    --
    -- Add your community members here:
    --

    users = {

        -- Example:
        -- If a player joins the server with the name "ExampleGamerTag" and they are not on this list,
        -- they will be kicked or banned (depending on the action you set above).
        -- They must also join with the same IP address or hash as the one you have listed here.
        -- Each entry can have multiple IP addresses or hashes.

        ['ExampleGamerTag'] = {
            ['127.0.0.1'] = true,
            ['127.0.0.2'] = true,
            ['xxxxxxxxxxxxxxxxxxxxxxxxxxxx01'] = true,
            ['xxxxxxxxxxxxxxxxxxxxxxxxxxxx02'] = true,
        },

        -- repeat the structure to add more entries
        ['name_here'] = {
            ['ip 1'] = true,
            ['ip 2'] = true,
            ['hash1'] = true,
            ['hash2'] = true,
            ['hash3'] = true,
            ['etc...'] = true,
        }
    }

    -----------------
    -- config ends --
    -----------------
}

 

Anti Impersonator.lua

Takka and Java like this

- I invite you to join my Halo Discord Server.

- Add me on discord: Chalwk#9284
- HSP Repo

- HSP Repo Wiki (new)

Share this post


Link to post
Share on other sites

Tiddy-bits:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.