Skip to content

a2Labs-cc/SW2-CommandBuilder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[SwiftlyS2] CommandBuilder


Made by aga

Overview

CommandBuilder allows you to create dynamic menu-based commands through configuration.

  • Define menus with customizable items via JSON config
  • Items can execute server commands or send chat messages
  • Global menu command (!menu or !m) shows all configured menus
  • Each menu can have its own title and items

Support

Need help or have questions? Join our Discord server:

Discord

Download Shortcuts

  • 📦  Download Latest Plugin VersionClick Here
  • ⚙️  Download Latest SwiftlyS2 VersionClick Here

Installation

  1. Download/build the plugin (publish output lands in build/publish/CommandBuilder/).
  2. Copy the published plugin folder to your server:
.../game/csgo/addons/swiftlys2/plugins/CommandBuilder/
  1. Ensure the resources/ folder (translations, gamedata) is alongside the DLL.
  2. Start/restart the server.

Configuration

The plugin uses SwiftlyS2's JSON config system.

  • File name: config.jsonc
  • Section: CommandBuilder

On first run the config is created automatically.

Key Configuration Options

  • Menus: Dictionary of menu configurations
    • Each menu has a Title and list of Items
    • Items can have DisplayName, Value, and OpenMenu mode
  • ChatPrefix: Configuration for chat message prefix and color

Item Actions

  • message: Send the Value as a chat message to the player
  • command: Execute the Value as a server command

Commands

  • !menu or !m: Open the main menu showing all configured menus
  • Custom menu commands: Open specific menus defined in config

Building

dotnet build

Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages