SimpleDevelopments Docs
Simple Store License Generator Our Discord
Our docs are still under construction - Expect new changes in the future!
Free Scripts IconFree Scripts

2 - Configuration

By Fadin_laws 1 mins 1

Below is all the information on how to configure SimpleBlacklist.

  • This code block shows the overall system management for the script.

    • You can set which script settings are active, whether it's vehicles, weapons, or peds.

      • By default, all are enabled.

Config.Management = {
    disableAllWeapons = false, -- Bypasses the current weapon blacklist system and disables all weapons in the server.
    defaultPlayerPed = "a_m_y_skater_01",

    vehicleBlacklist = true, -- Enable / Disable the vehicle blacklist script.
    weaponBlacklist = true, -- Enable / Disable the weapon blacklist script.
    pedBlacklist = true, -- Enable / Disable the player ped blacklist script.
}

  • Here is where you can specify which vehicles are blacklisted by the script.

    • These vehicles would not be allowed to be spawned within the server.

Config.BlacklistedVehicles = {
    -- "VehicleSpawnCode" ("police")
    "RHINO" -- Vehicle Spawn Code.
}

  • Here is where you can configure which weapons cannot be spawned by players.

Config.BlacklistedWeapons = {
    "WEAPON_MINIGUN", -- Weapon Spawn Code.
    "WEAPON_TEARGAS"
}

  • Here is where you can configure which Peds players would not be allowed to spawn in.

Config.BlacklistedPeds = {
    "CSB_BallasOG" -- Player Ped Spawn Code.
}

Having issues setting up this resource? Join our official Discord server and open a ticket to get further support!