Skip to content

Commit

Permalink
CS2Pro: URL for more commands, adds extras
Browse files Browse the repository at this point in the history
  • Loading branch information
mrc4tt committed Jan 27, 2025
1 parent a072165 commit 9fd0f3f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/cs2/plugins/cs2-plugins-simpleadmin.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ Most of the commands can also be used using ! prefix instead of . (like !ready o
Use the search bar below to find a command:

<CommandSearch commandCategories={simpleadminCommands} />

**If you are looking for more commands, you can find them at this URL: [CS2 - SimpleAdmin](https://cs2-simpleadmin.daffyy.love/)**
24 changes: 24 additions & 0 deletions src/data/commands/simpleadminCommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ const simpleAdminCommands = [
example: "css_players",
arguments: {},
},
{
command: "css_godmode <#userid or name>",
description: "Turn on godmode for the player",
example: "css_godmode fshost",
arguments: {
"#userid or name": "Required: The user's ID or name."
},
},
{
command: "css_ban / !ban <#userid or name> [time in minutes/0 perm] [reason]",
description: "Ban a player by user ID or name for a specific time with an optional reason.",
Expand Down Expand Up @@ -111,6 +119,14 @@ const simpleAdminCommands = [
"name": "Required: The name of the player to give money."
},
},
{
command: "css_noclip <#userid or name>",
description: "Turn on the player's noclip",
example: "css_noclip fshost",
arguments: {
"name": "Required: The name of the player to turn on noclip."
},
},
{
command: "css_mute <#userid or name> [time in minutes/0 perm] [reason]",
description: "Mute a player by user ID or name for a specific time with an optional reason.",
Expand Down Expand Up @@ -190,6 +206,14 @@ const simpleAdminCommands = [
message: "Required: The message to display."
},
},
{
command: "css_hp <#userid or name> <health>",
description: "Set the player's health",
example: "css_hp fshost 101",
arguments: {
"#userid or name": "Required: The user's ID or name."
},
},
{
command: "css_freeze <#userid or name> [duration]",
description: "Freeze a player for a specific duration.",
Expand Down

0 comments on commit 9fd0f3f

Please sign in to comment.