ATC BAN SYSTEM

This item is free.

Main Features:

  1. Ban storage:

    • All banned players are saved in a file called idbans.js. This file contains information about the players, their Discord ID, the reason for the ban, and the administrator who issued the ban.
  2. /ban command:

    • Administrators can ban players using the /ban [discord_id] [reason] command.
    • Example: /ban 888888888888  "Cheating"
    • The player will be banned, and their information will be recorded in the idbans.js file.
  3. Connection check:

    • Every time a player attempts to connect to the server, the system checks if their Discord ID is in the banned list.
    • If the player is banned, they will receive a message in Lithuanian stating the reason for the ban and the administrator’s name, preventing them from joining the server.
  4. Automatic disconnect:

    • Once a player is banned, if they are currently in the server, they will be automatically disconnected with a message explaining the reason for the ban.
  5. Discord notifications:

    • Each ban is logged and a message is sent to a designated Discord channel via a webhook, providing details about the ban, the administrator, and the reason for it.

Example:

  1. Command: /ban 888888888888 "Cheating"

    • This will ban the player with Discord ID 888888888888  for "Cheating."
  2. Connection attempt:

    • If this player tries to connect to the server, they will receive a message:
      "You are banned for: Cheating. Administrator: AdminName".




About script:

ESX

0,00 delay

Discord Logs included

Code ~ 100 lines


Showcase video: soon