【UPDATE 1.7.1a】 🆕 What's new and what's changed: - Fixed 2x player lock text - Added immunity check when using css_addX - MenuManagerCS2 has been updated - Added return of lock ID by api (check example_module) - Fixed reasons for locks, no longer need to use `“”` if there is a space in them - Improved handling of lock times, from now on you can use: -- 1mo - 1 month -- 1w - 1 week -- 1d - 1 day -- 1h - 1 hour -- 1m - 1 minute -- 1 - 1 minute You can also combine it, e.g: 10d5h - 10 days and 5 hours 2w3d - 2 weeks and 3 days 1w1d1h1 - 1 week, 1 day and 1 minute So for example css_ban player 10d5h Super reason for my ban - Added a `rcon_password` column in the `sa_servers` table that populates with the rcon password - Fixed `banid` and banning - Fixed too fast kick (it was caused by checking players online) ⚠️ **Remember to update all files + api**
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.