🛃Immigration System
Preview
Feature List
NPC which informs officials
Spam protection
Immigrate Player
Remove Visa of Players
Anti Glitch Protection
Webhook with informations about glitchers
Permission based sytem
Locale based
German and English by default
Can be used in any location
Job Outfits
Fully optimized (0.0ms)
Configuration File
Config = {}
-- // What should be the name of the command to open the menu?
Config.CommandName = 'einreise'
-- // You can adjust the points for entry here
Config.StartPoint = {
vector3(-1140.8578, -2806.1226, 27.7087)
}
Config.StartPointHeading = 243.7651
Config.DoorInside = {
vector3(-1065.824219, -2798.769287, 27.70)
}
Config.DoorInsideHeading = 143.0
Config.DoorOutside = {
vector3(-1043.0513916016, -2746.7419433594, 21.35)
}
Config.DoorOutsideHeading = 323.0
Config.Distance = 150.0
-- // Here you have to enter all the groups that should count as entry officers.
Config.ImmigrationGroups = { "superadmin", "admin" }
-- // NPC Config
Config.NPCCoords = {-1087.7299, -2828.4705, 26.7087, 149.9840}
Config.NPCInteractCoords = {-1088.4846, -2830.0798, 27.7087}
Config.NPCName = 'mp_f_cardesign_01'
Config.NPCWaitTime = 300 --in seconds
-- // Do you have a open MLO? This option (de)activates the Enter and Leave Buttons
Config.OpenMLO = false
-- // Enter your Discord webhook here
Config.DiscordCheaterWebhook = ""
Config.DiscordAdminWebhook = ""
Config.DiscordAdminInformWebhook = ""
-- // Config if u want to activate the Hit Protection // BETA FEATURE -> PLEASE REPORT BUGS
Config.PeaceZone = false
-- // Config if u want to activate a "Job Uniform"
Config.UseCustomOutfit = true
Config.Outfits = {
male = {
['tshirt_1'] = 3, ['tshirt_2'] = 1,
['torso_1'] = 35, ['torso_2'] = 0,
['arms'] = 1,
['pants_1'] = 28, ['pants_2'] = 3,
['shoes_1'] = 21, ['shoes_2'] = 2
},
female = {
['tshirt_1'] = 39, ['tshirt_2'] = 0,
['torso_1'] = 25, ['torso_2'] = 7,
['arms'] = 1,
['pants_1'] = 24, ['pants_2'] = 3,
['shoes_1'] = 20, ['shoes_2'] = 0
}
}
Config.SetToLastCoord = true
Config.ActivateTeleporting = true
-- // Setup your custom notify or TextUI (Only edit when u know what to do)
function Notify(pTitle, pMsg, pType)
lib.notify({title = pTitle, description = pMsg, type = pType})
end
function TextUI()
lib.showTextUI(locale('textui_calladmin'), {
position = "right-center",
icon = 'hand',
style = {
borderRadius = 0,
backgroundColor = '#48BB78',
color = 'white'
}
})
end
-- // Functions from the docs
function onOfficeLeave()
-- some trigger
end
function onOfficeEnter()
-- some trigger
end
function onPlayerImmigrated(xPlayer)
-- some trigger
end
function onPlayerDeimmigrated(xPlayer)
-- some trigger
end
Last updated