Code Monkey home page Code Monkey logo

myid's Introduction

-- ************************************************************************************* -- * _ _ * -- * () () _ __ ___ __ _ * -- * | | | | | '_ _ \ _____ / _ | * -- * | | | | | | | | | | || | (| | * -- * / | || || || || __, | * -- *|/ |/ * -- * _ _ _ _ _ __ __ * -- () () _ _ ___ | |_ _| | ___ ___ | | _ _ / _| / _| -- | | | | | | | | / __| | | / ` | / _ \ / __| | | | | | | | | | | * -- *| | | | | || | _ \ | | | (| | | () | __ \ | |_ | |_| | | _| | _| -- *|| / | _,| |/ _| _,| _/ |/ _| _,| || || * -- * |__/ * -- *************************************************************************************

myid

Send players IDs to discord webhook and server console on join.

Desktop 2023 10 23 - 05 58 27 01 - frame at 0m1s Opera Snapshot_2023-10-23_060906_game iceline host

author 'jim gordon the on and only https://github.com/jimgordon20'

-- instructions:

fill out commented parts in server.lua

-- Description:

This script is designed to enhance server administration and player tracking by logging important information when a player connects to the server. When a player joins, the script captures their details and performs two key actions: sending a Discord log message and printing their identifiers to the server console.

-- Features:

-- Player Connecting:

This script actively monitors player connections and triggers a response as soon as a player joins the server. Player Information:

For every connecting player, the script collects and displays various identifiers, making it easier for administrators to identify and manage players. The information includes:

-- Player:

The player's in-game username or ID (as applicable).

-- Identifiers:

The player's important identifiers, such as:

License: -- The player's game license identifier.

Xbox Live -- (XBL): The Xbox Live identifier.

Xbox Live -- (Live): The Xbox Live gamertag (if available).

Discord: -- The player's Discord identifier.

FiveM: -- The player's FiveM identifier.

License2: -- A second game license identifier (if applicable).

IP: -- The player's IP address.

-- Discord Integration:

The script sends a log message to a designated Discord channel, notifying administrators and moderators about the player's connection. This is invaluable for real-time monitoring and managing player activity.

-- Server Console Output:

Simultaneously, the script prints the collected player identifiers to the server console. This provides administrators with instant access to player information, allowing for quick and informed decisions regarding server security and player behavior.

myid's People

Contributors

jimgordon20 avatar

Stargazers

Domi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.