DeathSoundPlugin is a custom plugin for Counter-Strike 2 servers, designed to enhance the gameplay experience by playing a custom sound whenever a player dies. This plugin adds a unique auditory element to the game, making it more immersive and engaging for players. Additionally, it provides server administrators with the flexibility to customize the death sounds and manage player interactions through chat messages.
- Custom Death Sounds: Automatically play a random sound from a predefined list when a player dies.
- Configurable Sound List: Administrators can easily customize the list of death sounds via a configuration file.
- Localized Chat Messages: The plugin supports localized chat messages, allowing for multilingual server communication.
- Team-Based Chat Colors: Display chat messages with team-specific colors (e.g., blue for Counter-Terrorists, red for Terrorists).
- Event-Driven: The plugin triggers sounds based on the
EventPlayerDeath
event, ensuring seamless integration with the game's mechanics.
- ModuleName: DeathSoundPlugin
- ModuleVersion: [EarlyBeta]
- ModuleAuthor: hlymcn
- ModuleDescription: Play a custom sound when a player dies
To utilize the DeathSoundPlugin, follow these steps:
- Installation: Acquire the plugin from the GitHub repository and place it in your server's plugin directory.
- Configuration: Customize the plugin by editing the
DeathSoundPluginConfig
file to add or modify death sounds. - Activation: Upon activation, the plugin will automatically play a random death sound whenever a player dies and display a localized chat message.
- CounterStrikeSharp: CounterStrikeSharp
- MetaMod: MetaMod
- Clone the repository or download the latest release from GitHub.
- Copy the plugin files to
...\addons\counterstrikesharp\plugins\DeathSoundPlugin
. - Edit the configuration file
...\addons\counterstrikesharp\configs\plugins\DeathSoundPlugin\DeathSoundPluginConfig.json
to set up your death sounds. - Ensure your server meets the API version requirements and adjust settings as necessary.
We encourage community contributions. For suggestions or to report issues, please submit a pull request or open an issue on the GitHub repository. Your input is crucial for the ongoing development of the plugin.
This project is licensed under the MIT License - see the LICENSE file for details.
The DeathSoundPlugin is a fun and engaging addition to Counter-Strike 2 servers, adding a unique auditory element to the game. Its easy setup and customizable features make it an excellent choice for server administrators looking to enhance their players' experience and create a more immersive environment.