[ESX] Entry System | Airport Entry System | High adjustability

A script by Casper7_7_7

No reviews yet.
[ESX] Entry System | Airport Entry System | High adjustability main image

Full Description


Store
( We have more Scripts just give a Look :heart: )
https://fivem.phoenix-development.shop/


A Entry System for Your Server
This System is for ESX


You can set the commands for team members

- e.g. for entry the Airport as Staff "/in "
- e.g. for out " /out "
- e.g. to enter a person " /grantentry id "


You can use Discord webhooks for:

- New person entering the country
- Person Granded
- Staff teleported into the entry
- Staff Teleported out of the inbound


This Discord Logs works:
All of the Logs can be turned on and off
E.g If you turn IP off then its show all but not IP

- Name Logging
- Steam Logging
- License Logging
- Xbox LiveID Logging
- DiscordID Logging
- FiveMID Logging
- License2 Logging
- IP Logging

Discord Log Images

- A New Player waiting for Entry

- A Staff entry the Airport

- A Staff Going out of the Airport

- A Staff Granted a player

Configs

Client Config
--[[
    Shared Configuration
]]
Config = {}

-- Language to Use
Config.Locale = 'en'

-- Method to use for notifications (Server-Side)
-- IMPORTANT: DO NOT CHANGE THE METHODS NAME LEAVE IT AS 'sendServerNotification(source, type, message)'
-- Example: TriggerClientEvent('esx:showNotification', source, message)
function sendServerNotification(source, type, message)
    if type == 'success' then
        TriggerClientEvent('esx:showNotification', source, message)
    elseif type == 'error' then
        TriggerClientEvent('esx:showNotification', source, message)
    end
end

-- Use Dimensions for Entry
Config.UseDimension = true

Config.Dimensions = {
    Main = 0,
    Entry = 1
}

Config.Positions = {
    Entry = vector3(-1130.47, -2784.23, 26.71), -- Positions inside Airport Interior
    Airport = vector3(-1037.83, -2738.03, 19.17), -- Position when Entry has been passed
    StaffIn = vector3(-1082.67, -2827.77, 26.71), -- Staff In Positions
    StaffOut = vector3(-1037.83, -2738.03, 19.17) -- Staff Out Positions
}

-- Distance before player being teleported back into Entry
Config.DistanceForBackTeleport = 250

-- Use Outfits (You need SkinChanger for this)
Config.UseOutfit = false

-- Outfit for Staff in Entry
Config.Workwear = {
    male = {
        ['tshirt_1'] = 33, ['tshirt_2'] = 0,
		['torso_1'] = 99, ['torso_2'] = 1,
		['arms'] = 1,
		['pants_1'] = 52, ['pants_2'] = 2,
    },
    female = {
        ['tshirt_1'] = 0, ['tshirt_2'] = 0,
		['torso_1'] = 0, ['torso_2'] = 0,
		['arms'] = 0,
		['pants_1'] = 0, ['pants_2'] = 0,
    }
}
Server Config
--[[
    Server Configuration
]]

ServerConfig = {}

-- Discord Logging
ServerConfig.WebhookLogging = true

-- Commands (Put nil to disable them)
ServerConfig.Command_StaffIn = 'in'
ServerConfig.Command_StaffOut = 'out'
ServerConfig.Command_EntryGrant = 'grantentry'

-- Discord Webhooks
ServerConfig.Webhooks = {
    NewEntry = '',
    EntryGranted = '',
    StaffIn = '',
    StaffOut = ''
}

-- Allowed Groups
ServerConfig.AllowedRanks = {
    "owner",
    "admin",
    "superadmin",
    "moderator"
}

-- What Identifiers should be posted inside the log embed on Discord.
ServerConfig.IdentifiersLogging = {
    name = true,
    steam = true,
    license = true,
    xbl = true,
    live = true,
    discord = true,
    fivem = true,
    license2 = true,
    ip = true
}
Code is accessible No
Subscription-based No
Lines (approximately) 200-400~
Requirements ESX
Support Yes