Skip to content

Equipments (Models, Particles & Weapons) plugin made with CounterStrikeSharp for CS2

License

Notifications You must be signed in to change notification settings

exkludera/cs2-equipments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cs2-equipments

a plugin that allows players to equip, models, particles & weapons (like hats, backpacks, trails & custom weapon models)


showcase

information:

requirements


Warning

models must have a player bone or it will not attach to the player


example config

MenuType - Default: "html" (options: chat/html/wasd)

AllowMultiple - Default: false (false = only 1 selection per category, true = can equip all at the same time)
Permission - Default: "" (empty for no check, @css/reservation for vip)
Team - Default: "" (T for Terrorist, CT for CounterTerrorist or empty for both)

Name - Default: "Model Name" (the title of the item in the menu)
Model - Default: "" (model file the player will equip)
Particle - Default: "" (particle file the player will equip)
Weapon - Default: "" (weapon model file, use weapon name split by : then file weapon_awp:models/example.vmdl)

{
  "Prefix": "{orange}[Equipments]{default}",
  "MenuCommands": "css_equipments,css_equipment",
  "MenuType": "html",
  "MenuBackButton": false,
  "Permission": "",
  "Team": "",
  "Categories": {
    "Hats": {
      "AllowMultiple": false,
      "Equipment": [
        {
          "Name": "Hat #1",
          "Model": "models/example_1.vmdl"
        },
        {
          "Name": "Hat #2",
          "Model": "models/example_2.vmdl"
        }
      ]
    },
    "Particles": {
      "AllowMultiple": true,
      "Permission": "@css/reservation",
      "Team": "CT",
      "Equipment": [
        {
          "Name": "Particle #1",
          "Particle": "particles/example_1.vpcf"
        },
        {
          "Name": "Particle #2",
          "Particle": "particles/example_2.vpcf"
        }
      ]
    },
    "Weapons": {
      "AllowMultiple": true,
      "Equipment": [
        {
          "Permission": "@css/root",
          "Team": "T",
          "Name": "Custom AK47",
          "Weapon": "weapon_ak47:models/example_ak47.vmdl"
        },
        {
          "Name": "Custom AWP",
          "Weapon": "weapon_awp:models/example_awp.vmdl"
        }
      ]
    }
  }
}


Buy Me a Coffee at ko-fi.com

About

Equipments (Models, Particles & Weapons) plugin made with CounterStrikeSharp for CS2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages