Skip to content

exkludera-cssharp/custom-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cssharp

Custom Menu

a plugin to create customizable menus

Downloads Stars Forks License

Buy Me a Coffee at ko-fi.com PayPal GitHub Sponsor

supports ChatMenu/ConsoleMenu/CenterHtmlMenu/WasdMenu/ScreenMenu

permission based or team based menus and commands

every menu and menu option has a bunch of settings, see examples

Requirements

Showcase

content
Desktop.2024.07.28.-.21.59.40.03.-.Trim.mp4

Config

CustomMenu.json

Message - Default: true (sends no permission & selecting message)

Type - Default: "CenterHtmlMenu" (ChatMenu/ConsoleMenu/CenterHtmlMenu/WasdMenu/ScreenMenu)
Command - Defualt: [""] (you can use multiple by splitting them with ,)
Permission - Default: [""] (empty for no check, also support groups)
Team - Default: "" (T for Terrorist, CT for CounterTerrorist or empty for both)
ExitButton - Default: true (if false menu wont have exit button)
DisplayTime - Default: 0 (time in seconds menu will be open, 0 = no limit)

Sound - Default: "" (use vsnd like sounds/buttons/blip1.vsnd)
CloseMenu - Default: false (close the menu on select)
Confirm - Default: false (opens a confirmation menu on select)
Message - Default: false (sends message with which option player selected)
Disabled - Default: false (disables the option in menu)
Cooldown - Default: 0 (how many seconds until the command can be used again)

{
  "Prefix": "{green}[Menu]{default}",
  "Menus": {
    "Example Menu 1": {
      "Type": "ChatMenu",
      "Command": ["css_menu1"],
      "Options": {
        "Example Option": {
          "Command": ["say test"]
        }
      }
    },
    "Example Menu 2": {
      "Type": "CenterHtmlMenu",
      "Command": ["css_menu2"],
      "Permission": ["@css/reservation"],
      "Team": "T",
      "ExitButton": false,
      "DisplayTime": 10,
      "Options": {
        "Example Option 1": {
          "Command": ["say test"]
        },
        "Example Option 2": {
          "Command": ["css_example2"],
          "Permission": ["@css/root"],
          "Team": "T",
          "SoundEvent": "UIPanorama.inventory_item_pickup",
          "CloseMenu": true,
          "Confirm": true,
          "Message": true,
          "Disabled": false,
          "Cooldown": 5
        }
      }
    }
  }
}

About

Custom Menu plugin made with CounterStrikeSharp for CS2

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

 
 
 

Contributors

Languages