An advertisements plugin that works with the CSSPanel as an internal module, allows you to create and sync your own customized advertisements with the CSSPanel. The plugin uses a MySQL database to store and retrieve the advertisements, which can be displayed at regular intervals on the server.
To use this plugin, you need to have the following requirements installed:
Follow these steps to install the plugin on your servers:
-
Download the latest release:
- Download the latest release
-
Extract the Downloaded Files:
- Extract the downloaded plugin under "/game/csgo/addons/counterstrikesharp/plugins/Advertisements"
-
Start & edit the config file:
- Start your server and a new configuration file will be generated under "/game/csgo/addons/counterstrikesharp/configs/plugins/Advertisements/Advertisements.json"
- Edit the configuration file to customize the plugin settings according to your server, and set the db connection details.
-
Restart the Server:
- Restart your CSS server or change the map to apply the changes.
- The plugin should now be installed and ready for use.
-
Usage:
- Head over to your panel.
- Go to the Advertisements section.
- Create a new advertisement.
- The advertisement will be displayed on the server at regular intervals.
- You can also reload the advertisements using the reload button in the panel.
The plugin automatically generates a configuration file in the same location as the plugin DLL. You can edit this configuration file to customize the plugin settings according to your server's needs.
Example Configuration (/game/csgo/addons/counterstrikesharp/configs/plugins/Advertisements/Advertisements.json
):
{
"ChatPrefix": "[CSS]",
"DatabaseHost": "",
"DatabasePort": 3306,
"DatabaseUser": "root",
"DatabasePassword": "",
"DatabaseName": "",
"Timer": "25",
"ServerId": 1
}
- partiusfabaa: For his base original plugin.