```diff
+ `Refactored Code`: Improved code structure for better maintainability.
+ `Player Penalties Command`: Introduced the `css_penalties` command to display player penalties.
+ `Admin Penalties Information`: Added functionality to provide information for admins regarding penalties of connecting players.
+ `Disconnected Players Command`: Added the `css_disconnected` command to show a list of disconnected players.
+ `Colorful Messages`: Implemented the `css_cssay` command to send colorful messages, e.g., `css_cssay {lightgreen}Test`.
+ `Respawn Functionality`: Updated the `css_respawn` command to respawn players at their death location.
+ `Menu Type Management`: Introduced the `css_menus` command to change the menu type via `MenuManagerCS2`.
+ `Dynamic Menu Control`: Enhanced menu interaction with dynamic controls using WASD + ER keys.
+ `Language File Updates`: Updated language files for better localization.
+ `API Integration`: Added a simple API for external interaction.
+ `Configurable Timezone`: Introduced timezone settings in the configuration.
+ `Admin Activity Display Options`: Added configurable settings for displaying admin activity:
+ `0`: Do not show
+ `1`: Hide admin name
+ `2`: Show admin name
+ `Discord Notification Customization`: Made Discord duration notifications customizable with `{relative}` and `{normal}` placeholders.
+ Improved command logging
+
`Configuration Options:`
+ `Timezone`
+ `Other Settings`
+ `Disconnected Players History Count`
+ `Show Activity Type`
```
3.0 KiB
CS2-SimpleAdmin
Manage your Counter-Strike 2 server with simple commands!
CS2-SimpleAdmin is a plugin designed to help you easily manage your Counter-Strike 2 server with user-friendly commands. Whether you're banning players, managing teams, or configuring server settings, CS2-SimpleAdmin has you covered.
📜 Features
- Simple Commands: Manage your server with an easy-to-use command system.
- MySQL Integration: Store and retrieve player data seamlessly with MySQL.
- Ongoing Development: New features and improvements are added whenever possible.
- Performance Optimization: Lightweight and optimized for minimal impact on server performance.
- Extensible API: Extend the functionality of CS2-SimpleAdmin by integrating it with your own plugins using the API. Create custom commands, automate tasks, and interact with the plugin programmatically to meet the specific needs of your server.
⚙️ Requirements
Ensure all the following dependencies are installed before proceeding
- CounterStrikeSharp
- PlayerSettings - Required by MenuManagerCS2
- AnyBaseLibCS2 - Required by PlayerSettings
- MenuManagerCS2
- MySQL database
🚀 Getting Started
-
Clone or Download the Repository:
Download or clone the repository and publish to youraddons/counterstrikesharp/plugins/directory. -
First Launch Configuration:
On the first launch, a configuration file will be generated at:addons/counterstrikesharp/configs/plugins/CS2-SimpleAdmin/CS2-SimpleAdmin.jsonEdit this file to customize the plugin settings according to your server needs.
-
Enjoy Managing Your Server!
Use the commands provided by the plugin to easily manage your server.
📁 Configuration
The configuration file (CS2-SimpleAdmin.json) will be auto-generated after the first launch. It contains settings for MySQL connections, command permissions, and other plugin-specific configurations.
📙 Wiki
For detailed documentation, guides, and tutorials, please visit Wiki.
🛠️ Development
This project started as a base for other plugins but has grown into a standalone admin management tool. Contributions are welcome! If you'd like to help with development or have ideas for new features, feel free to submit a pull request or open an issue.
💡 Credits
This project is inspired by the work of Hackmastr. Thanks for laying the groundwork!
❤️ Support the Project
If you find this plugin helpful and would like to support further development, consider buying me a cup of tea! Your support is greatly appreciated.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.