Skip to content

Configuration

Christoph Haug edited this page Jan 28, 2024 · 7 revisions

What needs to be configured?

First of all, I would change the RCON Password, add permanent admins for players who should administrate the server.

Adding an admin permanently

See the cssharp docs for more informations about it. You need to give the player the @CSPracc/admin flag!

Using CSSharp built-in configuration.

This file will be generated at the first load of the plugin!
You will find it in csgo/addons/counterstrikesharp/configs/plugins/CSPracc

// This configuration was automatically generated by CounterStrikeSharp for plugin 'CSPracc', at 2023/12/11 11:09:14

{
  "EnableLogging": false,
  "ChatPrefix": " \u0004PraccPlugin:\u0001 ",
  "RconPassword": "secret",
  "DemoSettings": {
    "DemoName": "{Map}_{yyyy}_{MM}_{dd}_{mm}_{HH}_{ss}.dem",
    "RecordingMode": 0,
    "AutomaticUpload": false
  },
  "StandardMode": 1,
  "AdminRequirement": false,
  "MapChangeDelay": 5,
  "UsePersonalNadeMenu": false,
  "ConfigVersion": 4
}

StandardMode is the mode to load up after server start or map change.
Base = 0
Pracc = 1
Match = 2
DryRun = 3
"AdminRequirement": false -> Everyone can use admin commands