CS_IMMIGRATION

An immigration system managing new players entering the server, handling bans, visas, teleport points, safezones, and officer interactions.

Get the scriptarrow-up-right

Watch the previewarrow-up-right


Installation

ensure cs_einreise

Configuration

Config.lua

This configuration file sets up various parameters for the immigration (Einreise) system.

chevron-rightGeneral Settingshashtag
  • banTime: Minutes a player is banned when failing immigration. Example: 4.

  • spawnPoint: Default spawn location.

vector3(-1123.0586, -2819.7053, 28.087)
  • einreisetp: Teleport position when using /rein.

  • einreisetpOUT: Teleport position when leaving immigration via /raus2.

  • showEinreiseLog: true / false – Logs actions of immigration officers.

  • showIdsWennEinreisebeamter: true / false – Show IDs above heads when immigration officer uses commands.

  • idDistanz: Distance for visible IDs. Example: 50.

  • enableSafezone: true / false – Enables a safezone around the airport.

  • multichar: true / false – Enable multicharacter support.

  • callCooldown: Cooldown in seconds for calling an officer. Example: 180.

  • callCoords: Location where players can request an officer.

chevron-rightPermissionshashtag
  • allowedGroups: Groups that can manage immigration. Example:

chevron-rightOfficer Outfithashtag
  • Custom outfit for immigration officers (male/female).

  • Supports torso, pants, shoes, helmet, accessories, etc.

chevron-rightNotificationshashtag
  • Notification(msg, type, length) – Uses okokNotify by default (can be swapped to cs_hud or your Custom Notification Script

chevron-rightWebhookshashtag

webhook.lua / config.lua

Webhook logging for immigration events:

  • neuerSpieler – Logs when a new player enters immigration.

  • einreise – Logs when a player passes immigration.

  • ausreise – Logs when a player fails immigration.

  • rein – Logs teleport into immigration.

  • raus – Logs teleport out of immigration.

Configure your webhook link:

circle-info

Tip: Leave the URL as an empty string "" if you do not want the webhook to trigger for that event.

chevron-rightLocaleshashtag

Supports German with preconfigured messages and Discord log texts.

Examples:

  • New Player:

  • Passed Immigration:

  • Failed Immigration:

triangle-exclamation
chevron-rightCommandshashtag
  • /rein β†’ Teleports officer into immigration.

  • /raus β†’ Teleports officer out of immigration (back to last position).

  • /raus2 β†’ Teleports officer out of immigration (to front of airport).

  • /einreise [playerID] β†’ Marks a player as immigrated (entered).

  • /ausreise [playerID] β†’ Bans a player for configured minutes.

  • /remeinreise [playerID] β†’ Removes immigration status, forcing the player to immigrate again.

  • /giveskin [playerID] β†’ Opens esx_skin menu for a player.

chevron-rightFeatureshashtag
  • Immigration checkpoint system for new players.

  • Ban system for failed immigration.

  • Safezone at the airport.

  • Officer call system with cooldown.

  • Officer outfit customization.

  • Discord webhook logging for all important actions.

  • ID system with distance control for officers.


Support

If you have any further questions, open a ticket on our discord server: discord.gg/core-servicesarrow-up-right

Last updated