Skip to content

Commit 5f093de

Browse files
committed
chore: Core updated
1 parent 5070b66 commit 5f093de

14 files changed

+124
-62
lines changed

blog/authors.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
bbashy:
2-
name: Ben Bashy
2+
name: Bashy
33
title: Developer @ FSHOST
4-
url: https://github.com/bbashy
54

65
miksen:
7-
name: Mikkel Lind
8-
title: CS2 GameManager / SysOps @ FSHOST
9-
url: https://github.com/mrc4tt
6+
name: Miksen
7+
title: CS2 GameManager & SysOps @ FSHOST

blog/index.md

Whitespace-only changes.

blog/2024-08-25.md renamed to cs2update/2024-08-25.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
---
2-
title: CS2Pro Update
3-
authors: [miksen]
4-
date: 2024-08-25
2+
title: 🚀 CS2Pro Update | 25th August
3+
hide_table_of_contents: true
4+
date: 2024/08/25
55
---
6-
7-
### :rocket: CS2Pro Update
8-
## :pencil2: Changes
6+
## ✏️ Changes
97
**MatchZy**
108

119
**Coach:**

blog/2024-11-02.md renamed to cs2update/2024-11-02.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
title: CS2Pro Update
3-
authors: [miksen]
4-
date: 2024-11-02
2+
title: 🚀 CS2Pro Update | 2nd November
3+
hide_table_of_contents: true
4+
showLastUpdateTime: true
5+
date: 2024/11/2
56
---
67

7-
# :rocket: CS2Pro Update
8-
## :pencil2: Changes
8+
## ✏️ Changes
99
**CS2-SimpleAdmin**
1010
- Updated to the latest menu (can be controlled with your keyboard using W/S, E and R)
1111
- Added a new command available to manage enable/disable plugins.

cs2update/authors.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
bbashy:
2+
name: Bashy
3+
title: Developer @ FSHOST
4+
5+
miksen:
6+
name: Miksen
7+
title: CS2 GameManager & SysOps @ FSHOST

docs/cs2/becomeadmin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
slug: becomeadmin
33
id: cs2-becomeadmin
4-
title: "CS2: Become a Server Admin"
4+
title: "CS2: Become as Server Admin"
55
description: "How can I become a serveradmin on my CS2 Pro server"
6-
sidebar_label: "Become a Server Admin"
6+
sidebar_label: "Become as Server Admin"
77
---
88

99
import BrowserWindow from '@site/src/components/BrowserWindow';

docs/cs2/plugins/cs2-plugins-matchzy.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,22 @@ MatchZy can solve a lot of match management requirements. It provides basic comm
3232

3333
## Usage Commands
3434
Most of the commands can also be used using ! prefix instead of . (like !ready or /ready)
35-
| Chat Command | Description |
36-
| ----- | ----- |
35+
| Chat Commands | Description |
36+
| ------- | ----- |
3737
| `.ready` | Marks the player ready |
3838
| `.unready` | Marks the player unready |
3939
| `.pause` | Pauses the match in freezetime (Normal pause). |
4040
| `.tech` | Pauses the match in freezetime (Technical issues). |
4141
| `.unpause` | Request for unpausing the match. Both teams need to type `.unpause` to unpause the match |
4242
| `.stay` | Stays on the same side (For knife winner, after the knife round) |
43-
| `.switch `/`.swap` | Switches the side (For knife winner, after the knife round) |
43+
| `.switch or .swap` | Switches the side (For knife winner, after the knife round) |
4444
| `.stop` | Restore the backup of the current round (Both teams need to type .stop to restore the current round) |
4545
| `.tac` | Starts a tactical timeout |
46-
| `.coach <side>` | Starts coaching the specified side. Example: `.coach t` to start coaching the terrorist side! |
46+
| `.coach team-side-here` | Starts coaching the specified side. Example: `.coach t` to start coaching the terrorist side! |
4747

4848
### Practice Commands
49-
| Chat Command | Description |
50-
| ----- | ---- |
49+
| Chat Commands | Description |
50+
| ----- | ----- |
5151
| `.spawn <number>` | Spawns to the provided competitive spawn number of the same team |
5252
| `.ctspawn <number>` | Spawns to the provided competitive spawn number of CT (Alias: `.cts`) |
5353
| `.tspawn <number>` | Spawns to the provided competitive spawn number of T (Alias: `.ts`) |
@@ -87,21 +87,20 @@ Most of the commands can also be used using ! prefix instead of . (like !ready o
8787
| `.nadecam` | Command in practice mode to toggle sv_grenade_trajectory_prac_pipreview. |
8888

8989
### Admin Commands
90-
| Chat Command | Description |
90+
| Chat Commands | Description |
9191
| ----- | ----- |
9292
| `.start` | Force starts a match. |
9393
| `.force` | Force starts a match. |
9494
| `.restart` | Force restarts/resets a match or scrim. |
9595
| `.forcepause` | Pauses the match as an admin (Players cannot unpause the admin-paused game). (`.fp` for a shorter command) |
9696
| `.forceunpause` | Force unpauses the match. (`.fup` for a shorter command) |
9797
| `.forceunpause` | Force unpauses the match. (`.fup` for a shorter command) |
98-
| `.restore <round>` | Restores the backup of the provided round number. |
98+
| `.restore round-number-here` | Restores the backup of the provided round number. |
9999
| `!rk` | Toggles the knife round. If disabled, the match will directly go from the Warmup phase to the Live phase. (Can also use: `!kr`, `!kniferound`) |
100100
| `.match` | Activates match mode - **All 10 players need to ready up, knife round is default enabled on this mode** |
101101
| `.scrim` | Activates scrim mode - **All 10 players need to ready up, knife round is disabled** - All rounds would be played irrespective of the winner. Useful in scrims! |
102-
| `.readyrequired <number>` | Sets the number of ready players required to start the match. **All connected players must be ready to start the game.** |
102+
| `.readyrequired number-here` | Sets the number of ready players required to start the match. **All connected players must be ready to start the game.** |
103103
| `.settings` | Displays the current setting, like whether knife is enabled or not, value of readyrequired players, etc |
104-
| `.team1 <name>` | Sets team name for Team 1 (CT by default) |
105-
| `.team2 <name>` | Sets team name for Team 2 (Terrorist by default) |
104+
| `.ctname / .tname <teamname>` | Sets team name for Team 1 (CT by default) or Team 2 (Terrorist by default) |
106105
| `.prac` | Starts Practice Mode |
107-
| `.exitprac` | Exits from practice mode and loads Match mode. |
106+
| `.exitprac` | Exits from Practice mode and loads Match mode |

docusaurus.config.js

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ const config = {
4545
// useful metadata like html lang. For example, if your site is Chinese, you
4646
// may want to replace "en" with "zh-Hans".
4747
i18n: {
48-
defaultLocale: 'en',
49-
locales: ['en'],
48+
defaultLocale: 'en-GB',
49+
locales: ['en-GB'],
5050
},
5151

5252
plugins: [
@@ -173,21 +173,45 @@ const config = {
173173
onUntruncatedBlogPosts: 'ignore',
174174
},
175175
theme: {
176-
customCss: './src/css/custom.css',
176+
customCss: require.resolve('./src/css/custom.css'),
177177
},
178178
}),
179179
],
180180
],
181181

182+
plugins: [
183+
[
184+
'@docusaurus/plugin-content-blog',
185+
{
186+
id: 'cs2update',
187+
routeBasePath: 'cs2update',
188+
path: './cs2update/',
189+
blogSidebarTitle: 'All CS2 updates posts',
190+
blogSidebarCount: 'ALL',
191+
onUntruncatedBlogPosts: 'ignore',
192+
showReadingTime: false,
193+
truncateMarker: /<!--\s*(truncate)\s*-->/,
194+
feedOptions: {
195+
type: 'all',
196+
title: 'CS2 Update @ FSHOST.me',
197+
description: 'Updates behind our CS2 servers',
198+
copyright: `Copyright © ${new Date().getFullYear()} FSHOST.me`,
199+
language: 'en-GB',
200+
},
201+
},
202+
],
203+
],
204+
205+
182206
themeConfig:
183207
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
184208
({
185209
// Replace with your project's social card
186210
image: 'undefined',
187211
docs: {
188212
sidebar: {
189-
hideable: true,
190-
autoCollapseCategories: true,
213+
hideable: false,
214+
autoCollapseCategories: false,
191215
},
192216
},
193217
/*announcementBar: {
@@ -224,7 +248,7 @@ const config = {
224248
position: 'left',
225249
label: 'Server Help',
226250
},
227-
{to: '/blog', label: 'Blog', position: 'left'},
251+
{to: '/blog', label: 'News', position: 'left'},
228252
{
229253
href: 'https://github.com/fshostme/docs',
230254
label: 'GitHub',
@@ -272,10 +296,6 @@ const config = {
272296
{
273297
title: 'Social',
274298
items: [
275-
{
276-
label: 'Blog',
277-
to: '/blog',
278-
},
279299
{
280300
label: 'Discord',
281301
href: 'https://fshost.me/discord',

package-lock.json

Lines changed: 8 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,21 @@
1414
"write-heading-ids": "docusaurus write-heading-ids"
1515
},
1616
"dependencies": {
17+
"@babel/plugin-syntax-jsx": "^7.25.9",
18+
"@babel/preset-react": "^7.25.9",
1719
"@docusaurus/core": "^3.6.0",
1820
"@docusaurus/faster": "^3.5.2",
1921
"@docusaurus/plugin-client-redirects": "^3.6.0",
22+
"@docusaurus/plugin-content-blog": "^3.6.0",
2023
"@docusaurus/plugin-content-docs": "^3.6.0",
2124
"@docusaurus/plugin-pwa": "^3.6.0",
2225
"@docusaurus/preset-classic": "^3.6.0",
2326
"@mdx-js/react": "^3.0.0",
2427
"clsx": "^2.0.0",
25-
"docusaurus-lunr-search": "^3.4.0",
28+
"docusaurus-lunr-search": "^3.5.0",
2629
"isarray": "^2.0.5",
2730
"path-to-regexp": "^8.1.0",
28-
"prism-react-renderer": "^2.3.0",
31+
"prism-react-renderer": "^2.4.0",
2932
"react": "^18.0.0",
3033
"react-dom": "^18.0.0"
3134
},

sidebars.js

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,22 @@ Create as many sidebars as you want.
1515
const sidebars = {
1616
// By default, Docusaurus generates a sidebar from the docs folder structure
1717
// tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
18-
1918
guidesSidebar: [
19+
{
20+
type: 'html',
21+
className: 'sidebar-title',
22+
value: (() => {
23+
switch (process.env.DOCUSAURUS_CURRENT_LOCALE) {
24+
default: return "News";
25+
}
26+
})(),
27+
defaultStyle: true,
28+
},
29+
{
30+
type: 'link',
31+
href: '/cs2update',
32+
label: 'CS2 Server News',
33+
},
2034
{
2135
type: 'html',
2236
className: 'sidebar-title',
@@ -38,9 +52,9 @@ const sidebars = {
3852
"serverlist",
3953
"editserver"
4054
]
41-
},
55+
},
4256
"network/network-analysis",
43-
"firststeps-locations",
57+
"firststeps-locations",
4458
{
4559
type: 'category',
4660
label: 'Support',
@@ -59,8 +73,8 @@ const sidebars = {
5973
]
6074
},
6175
],
62-
63-
76+
77+
6478
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6579
gameserverSidebar: [
6680
{
@@ -128,19 +142,19 @@ const sidebars = {
128142
"coduo/coduo-firststeps-dashboard",
129143
"coduo/coduo-rcon"
130144
],
131-
},
145+
},
132146
{
133147
type: "category",
134-
label: "Counter-Strike: 1.6",
148+
label: "Counter-Strike 1.6",
135149
items: [
136-
"cs16/cs16-firststeps-dashboard",
150+
"cs16/cs16-firststeps-dashboard",
137151
"cs16/cs16-becomeadmin",
138152
"cs16/cs16-rcon"
139153
],
140154
},
141155
{
142156
type: "category",
143-
label: "Counter-Strike: CZero",
157+
label: "Counter-Strike CZero",
144158
items: [
145159
"cscz/cscz-firststeps-dashboard",
146160
"cscz/cscz-becomeadmin",
@@ -149,15 +163,16 @@ const sidebars = {
149163
},
150164
{
151165
type: "category",
152-
label: "Counter-Strike: Source",
166+
label: "Counter-Strike Source",
153167
items: [
154168
"css/css-firststeps-dashboard",
155169
"css/css-rcon"
156170
],
157171
},
158172
{
159173
type: "category",
160-
label: "Counter-Strike: 2",
174+
label: "Counter-Strike 2",
175+
className: 'icon-1', // Adds icon-1 class
161176
items: [
162177
"cs2/cs2-firststeps-dashboard",
163178
"cs2/cs2-becomeadmin",

0 commit comments

Comments
 (0)