From 5c272bb7321e52cf3ceed2697dbf6970bab48eb2 Mon Sep 17 00:00:00 2001 From: toehunterr <104683985+toehunterr@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:54:01 +1100 Subject: [PATCH] update guides --- .../games/Half Life 2/change server name.mdx | 19 ++++++++ .../Half Life 2/connect to your server.mdx | 18 ++++++++ src/content/docs/games/Half Life 2/fastdl.mdx | 43 +++++++++++++++++++ .../games/Half Life 2/install plugins.mdx | 39 +++++++++++++++++ .../docs/games/Half Life 2/max players.mdx | 19 ++++++++ .../games/Soulmask/configure your server.mdx | 9 ++-- 6 files changed, 143 insertions(+), 4 deletions(-) create mode 100644 src/content/docs/games/Half Life 2/change server name.mdx create mode 100644 src/content/docs/games/Half Life 2/connect to your server.mdx create mode 100644 src/content/docs/games/Half Life 2/fastdl.mdx create mode 100644 src/content/docs/games/Half Life 2/install plugins.mdx create mode 100644 src/content/docs/games/Half Life 2/max players.mdx diff --git a/src/content/docs/games/Half Life 2/change server name.mdx b/src/content/docs/games/Half Life 2/change server name.mdx new file mode 100644 index 0000000..19f33c1 --- /dev/null +++ b/src/content/docs/games/Half Life 2/change server name.mdx @@ -0,0 +1,19 @@ +--- +title: How To Change Your Half Life 2 Server Name +description: Learn how to change your server hostname on your HL2DM dedicated server. +sidebar: + label: Change Server Name +--- +import { Steps } from '@astrojs/starlight/components'; + +This is what you do if you need to change your server name on your [Half Life 2 server](https://www.gamehostbros.com/half-life-2-deathmatch-server-hosting/), also referred to as a hostname. This is what is displayed to players in the server browser. + +1. Log in to the [Game Host Bros Panel](https://panel.gamehostbros.com/) and select your server. +2. Go to `Configuration > Startup Parameters`. +3. Find the `Server Name` setting and enter your desired server name. +4. Restart your server. + + +:::note +This setting will override anything you have manually set inside of server.cfg +::: \ No newline at end of file diff --git a/src/content/docs/games/Half Life 2/connect to your server.mdx b/src/content/docs/games/Half Life 2/connect to your server.mdx new file mode 100644 index 0000000..b9201f3 --- /dev/null +++ b/src/content/docs/games/Half Life 2/connect to your server.mdx @@ -0,0 +1,18 @@ +--- +title: How To Connect To Your Half Life 2 Server +description: Learn how to join your HL2DM dedicated server using the IP address. +sidebar: + label: Connect to Your Server +--- +import { Steps } from '@astrojs/starlight/components'; + +Here is how you can join your [Half Life 2 server](https://www.gamehostbros.com/half-life-2-deathmatch-server-hosting/) using the IP address. + +## How to Connect Using the Console + + +1. Access the [Game Host Bros Panel](https://panel.gamehostbros.com/) and select your server. +2. Copy the [server IP address](https://www.youtube.com/watch?v=Ap7DtDF-wYg) from the sidebar. +3. Open Half Life 2. +4. Open the `Developer Console (~)`, type connect then paste the copied server IP, and press Enter to connect. + diff --git a/src/content/docs/games/Half Life 2/fastdl.mdx b/src/content/docs/games/Half Life 2/fastdl.mdx new file mode 100644 index 0000000..0b1a5a5 --- /dev/null +++ b/src/content/docs/games/Half Life 2/fastdl.mdx @@ -0,0 +1,43 @@ +--- +title: How To Setup FastDL For Your Half Life 2 Server +description: Learn how to setup FastDL for your Half Life 2 dedicated server. +sidebar: + label: FastDL +--- +import { Steps } from '@astrojs/starlight/components'; + +At Game Host Bros, we offer FastDL for your [Half Life 2 server](https://www.gamehostbros.com/half-life-2-deathmatch-server-hosting/) so players can download custom files such as maps, models and materials quickly. Everything is automatic and there is no extra configuration required on your end other than uploading your custom content. + +## How Does FastDL Work? +While everything is automatic, there are still some things you should know about our FastDL system: +- Files are synced (and compressed) to `/fastdl/` when you start your server. +- `sv_downloadurl` is automatically updated or added to your `server.cfg`. +- Files only get served to players after everything is compressed. +- You can view all the files online by checking your FastDL url directly. You can get it by typing `sv_downloadurl` into your console. + +Here is a list of folders and file types in those folders we sync. + +| Folder | Extensions | +|--------------|----------------------------------| +| gfx | .tga, .bmp | +| maps | .bsp, .nav, .res, .txt | +| materials | .vmt, .vtf, .raw, .svg | +| models | .mdl, .vtx, .vvd, .phy | +| overviews | .bmp, .txt | +| particles | .pcf | +| resource | .txt, .res | +| sound | .mp3, .wav, .txt | +| sprites | .spr, .tga, .txt | +| | .wad | + +If what you require isn't listed, please reach out to a bro, and we will add what you require. + +## Using A Third Party FastDL +If you want to use an external FastDL you can do so by adding another config that runs after `server.cfg`. + + +1. Create a `fastdl.cfg` in your game folder or cfg folder where your `server.cfg` is located. +2. Add the line `sv_downloadurl www.myfastdlurl.com` +3. Go back to your `server.cfg` and add the line `exec fastdl` to the bottom of the file. +4. Restart your server. + \ No newline at end of file diff --git a/src/content/docs/games/Half Life 2/install plugins.mdx b/src/content/docs/games/Half Life 2/install plugins.mdx new file mode 100644 index 0000000..8f406ee --- /dev/null +++ b/src/content/docs/games/Half Life 2/install plugins.mdx @@ -0,0 +1,39 @@ +--- +title: How To Install Plugins On Your Half Life 2 Server +description: Learn how to install plugins on your Half Life 2 dedicated server. +sidebar: + label: Install Plugins +--- +import { Steps } from '@astrojs/starlight/components'; + +Installing plugins on your [Half-Life 2 Deathmatch server](https://www.gamehostbros.com/half-life-2-deathmatch-server-hosting/) can enhance gameplay and add new features. Game Host Bros makes it easy to enable SourceMod, which is required for most plugins. + +## How To Enable SourceMod + +1. Log in to the [Game Host Bros Panel](https://panel.gamehostbros.com/) and select your server. +2. Navigate to `Tools > Mod Manager` in the left sidebar. +3. Find Sourcemod and click `Install`. +4. Wait a few seconds, then restart your server. + + +## How To Install Plugins + +Once SourceMod is installed, you can start adding plugins to your server: + +1. In the sidebar go to `Management > File Manager`. +2. Navigate to the `/hl2mp/addons/sourcemod/plugins` directory. +3. Upload your plugin files (usually ending in .smx) to this directory. +4. Restart your server or use the `sm plugins refresh` command in the server console. + + +## How To Install Extensions + +Some plugins require additional extensions to function properly. Here's how to install them: + +1. In the file manager, go to the `/hl2mp/addons/sourcemod/extensions/` directory. +2. Upload the extension files (ending in .so for Linux) to this directory. +3. If the extension came with a .cfg file, upload it to `hl2mp/cfg/sourcemod`. +4. Restart your server. + + +Always make sure you're using extensions compatible with Linux and your SourceMod version. \ No newline at end of file diff --git a/src/content/docs/games/Half Life 2/max players.mdx b/src/content/docs/games/Half Life 2/max players.mdx new file mode 100644 index 0000000..033fcdb --- /dev/null +++ b/src/content/docs/games/Half Life 2/max players.mdx @@ -0,0 +1,19 @@ +--- +title: How To Set Max Players On Your Half Life 2 Server +description: Learn how to set max players on Half Life 2 dedicated Server +sidebar: + label: Max Players +--- +import { Steps } from '@astrojs/starlight/components'; + +At Game Host Bros we make changing Max Players quick and easy. Here's how to change Max Players on your [Half Life 2 Server](https://www.gamehostbros.com/half-life-2-deathmatch-server-hosting/). + +## Settings Max Players On Half Life 2 + + +1. Login to the [Game Host Bros Panel](https://panel.gamehostbros.com/) and `Stop` your Server. +2. Select `Configuration > Startup Parameters`. +3. Edit `Max Players`. +4. After changing, `Start` your Server. + + diff --git a/src/content/docs/games/Soulmask/configure your server.mdx b/src/content/docs/games/Soulmask/configure your server.mdx index 2f60a25..8280e65 100644 --- a/src/content/docs/games/Soulmask/configure your server.mdx +++ b/src/content/docs/games/Soulmask/configure your server.mdx @@ -13,11 +13,12 @@ In this guide, we will show you how you can edit the settings on your [Soulmask The easiest way to edit game settings on your Soulmask server is to use the in admin menu. To use this you **must** have already [setup an admin password](/games/soulmask/adding-admins/) on your Soulmask server. 1. Open Soulmask and connect to your server. -2. Once connected open press `~` tilde on your keyboard. +2. Once connected open console with `~` tilde on your keyboard. 3. Type `gm key YOUR-ADMIN-PASSWORD`. It should now load the admin menu. -4. In the window, type the password again and click `Become the admin`. Now you have access to all the settings of the server. -6. Click `Open coefficient settings` and adjust the settings to what you desire. +4. In the window, type the password again and click `Become the admin`. Now you have access to all of your server settings. +6. Click `Open coefficient settings` and adjust the settings. + :::caution -Before restarting your server, wait for the auto-save to finish, so your settings are saved. This takes 7 minutes by default. +If you restart your server, wait for the auto-save to finish, so your settings are saved. This takes 7 minutes by default. ::: \ No newline at end of file