Skip to content

Commit

Permalink
fix permission docs - forcepublish
Browse files Browse the repository at this point in the history
  • Loading branch information
Apfelwurm committed Nov 20, 2023
1 parent 5155ec3 commit 2dc8e8b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Docs/source/admin/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Player Commands
Admin/Rcon Commands
-------------------

These commands are available through rcon or to users with the `Permission <https://docs.cssharp.dev/admin-framework/defining-admins/#standard-permissions>` ``pugsharp/matchadmin``.
These commands are available through rcon or to users with the required permissions. See :ref:`admin/configuration:CounterstrikeSharp Configs`

``<requiredParameter>`` marks parameters that are required for commands

Expand Down
24 changes: 13 additions & 11 deletions Docs/source/admin/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Configuration

Introduction
----------------------------------------
There are two types of configurations that are relevant for PugSharp.
There are three types of configurations that are relevant for PugSharp.


PugSharp Configs
Expand Down Expand Up @@ -105,26 +105,28 @@ The Serverconfig defines server wide PugSharp settings for your server. It is lo

Serverconfig Fields
'''''''''''''''''''''
+--------+--------------------------------------------------------------------------------------------+
| Field | Description |
+========+============================================================================================+
| admins | List of admins with the steamId and a |
| | Name (enables the execution of the :ref:`admin/commands:Admin/Rcon Commands` for a player) |
+--------+--------------------------------------------------------------------------------------------+
+-------+-------------+
| Field | Description |
+=======+=============+
| none | none |
+-------+-------------+

Serverconfig Example
'''''''''''''''''''''

.. code-block:: json
{
"admins": {
"12345678901234569": "BOT R00st3r",
"12345678901234567": "Apfelwurm"
}
"none": ""
}
CounterstrikeSharp Configs
----------------------------------------

For the administration permissions, we are using `the CounterstrikeSharp admin framework <https://docs.cssharp.dev/admin-framework/defining-admins/#standard-permissions>`_ .
Currently all :ref:`admin/commands:Admin/Rcon Commands` are using the permission ``@pugsharp/matchadmin``


CS2 Server Configs
----------------------------------------
Expand Down

0 comments on commit 2dc8e8b

Please sign in to comment.