SourceFactory
Main PageDiscord
  • SourceFactory
  • Discord
  • Discord Utilities
    • ℹ️Info
    • ⚙️Main Configuration
      • Linking System
      • Custom Bot Status
      • Custom Variables
    • 🧩Modules
      • Report (Calladmin)
      • Server Status
      • Event Notifications
      • RCON
      • Chat Relay
      • Manage Roles and Permissions
      • Connected Players Role
      • ⭐Skin Changer
      • ⭐Automatic Store 🛒
      • ⭐Player Stats
      • ⭐Server Status Plus
      • ⭐Banlist
      • ⭐Commands Blocker
      • ⭐Leaderboard
    • 📝Admin Commands
    • 🔠Available Variables
    • 📑Tutorials
      • 🤖Setting Up a Discord BOT
      • ℹ️Custom Embeds Format
      • ℹ️Buttons Settings
  • Deathmatch
    • ℹ️Info
    • ⚙️Configuration
      • Creating Custom Modes
      • Weapons Restrict
      • Deatmatch Cvars
    • 🧩Modules
      • Limited Zones
    • 📝Commands
    • 🎒Weapons Selection
  • CS2 PLUGINS
    • ❌Reserved Slots
    • 💣Bombsite Restrict
  • PAID CS2 PLUGINS
    • ⏳Auto Team Balance
    • 🚫Weapons Manager & Restriction
    • DU Addon: Skin Changer
    • DU Addon: Automatic Store
    • DU Addon: Player Stats
    • DU Addon: Server Status Plus
    • DU Addon: Commands Blocker
    • DU Addon: Leaderboard
Powered by GitBook
On this page
  1. Deathmatch
  2. Configuration

Weapons Restrict

/addons/counterstrikesharp/configs/plugins/Deathmatch/Deathmatch.json

  • You can set weapons restrictions for individual modes.

  • If a mode does not contain a specific weapon, you do not need to create a weapon restrict for that mode ID

  • You can set values for individual teams or for all.

  • Additionally, the restriction is divided into nonVIP and VIP players.

  • Weapons restrict does not apply to bots!

How to restrict certain weapon ?

  • If the weapon is not in your primary/secondary weapons list for current custom mode, you don't need to add that weapon to the restrict.

  • You cannot combine Team or All weapons restrict! It must always be set either to Team or All.

  • If you set the value to 0, it means the weapon is not restricted.

  • If you set the value to -1, it means the weapon is fully disabled.

  • If RandomWeapons are true in a specific custom mode, then all weapons in that custom mode are not restricted.

Examples:

"weapon_ak47": { //Name of the weapon for which you want to restrict
    "YOUR MODE ID": { //Insert here the ID of the mod in which you want to restrict
        "VIP": { // Restriction for the VIP Players
            "CT": 6,
            "T": 6,
            "Global": 12
        },
        "NonVIP": { // Restriction for the NonVIP Players
            "CT": 5,
            "T": 5,
            "Global": 10
        }
    },
    "0": { // MODE ID
        "VIP": {
            "CT": 6,
            "T": 6,
            "Global": 12
        },
        "NonVIP": {
            "CT": 5,
            "T": 5,
            "Global": 10
        }
    },
    "1": {
        "VIP": {
            "CT": 5,
            "T": 5,
            "Global": 7
        },
        "NonVIP": {
            "CT": 4,
            "T": 4,
            "Global": 5
        }
    }
},
"weapon_awp": { // WEAPON NAME
    "0": { // MODE ID
        "VIP": {
            "CT": 3,
            "T": 3,
            "Global": 4
        },
        "NonVIP": {
            "CT": 2,
            "T": 2,
            "Global": 3
        }
    }
}
PreviousCreating Custom ModesNextDeatmatch Cvars

Last updated 5 months ago

⚙️