Skip to content

Commit 96f9ece

Browse files
dgibbs64gitbook-bot
authored andcommitted
GitBook: [master] 16 pages and 10 assets modified
1 parent 0adf1d9 commit 96f9ece

21 files changed

+121
-80
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

alerts/discord.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Discord
22

3-
![](../.gitbook/assets/discord_logo-1.png)
3+
![](../.gitbook/assets/discord_logo.png)
44

55
[Discord](https://discordapp.com) is a VoIP app that allows other applications to send messages via a webhook. This functionality is used to allow users to recieve alerts about LinuxGSM.
66

alerts/email.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Email
22

3-
A linux server's own email solution can be used to receive alerts about LinuxGSM.
3+
A Linux server's own email solution can be used to receive alerts about LinuxGSM.
44

55
## Sending emails
66

alerts/ifttt.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# IFTTT
22

3-
![](../.gitbook/assets/ifttt_logo-1.png)
3+
![](../.gitbook/assets/ifttt_logo.png)
44

55
There are hundreds in integrations available on [IFTTT](https://ifttt.com) allowing you to send alerts in all sorts of different ways to various services and devices. This functionality is used to allow users to recieve alerts about LinuxGSM.
66

alerts/mailgun.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[Mailgun](https://www.mailgun.com) is a paid-for email service that allows LinuxGSM to send emails via an API, bypassing the need to use postfix. This method of sending email notifications is generally more reliable.
66

7-
An option to setup Mailgun as an email relay in postfix is also available.
7+
An option to setup Mailgun as an email relay in postfix is also available.
88

99
Mailgun's Flex Package allows 3 free months up to 5000 emails then turns into a pay-as-you-go plan afterwards.
1010

@@ -21,6 +21,7 @@ mailgunemail="[email protected]"
2121

2222
To set the api endpoint of the mailgun api to the EU Endpoint, please add the following to the config:
2323

24-
```
24+
```text
2525
mailgunapiregion="eu"
2626
```
27+

alerts/pushover.md

+14-13
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,24 @@
22

33
![](../.gitbook/assets/pushover_logo.png)
44

5-
[Pushover](https://pushover.net) allows the sending of push notifications to various devices such a PC, phone and tablet. This functionality is used to allow users to recieve alerts about LinuxGSM.
5+
[Pushover](https://pushover.net) allows the sending of push notifications to various devices such a PC, phone and tablet. This functionality is used to allow users to receive alerts about LinuxGSM.
66

77
## Setup Pushover Alerts
88

9-
A Pushover application is required to send messages to Pushover. 1. Visit [here](https://pushover.net/apps/build) to create a new application.
9+
A Pushover application and your user key is required to send messages to Pushover.
10+
11+
Visit [here](https://pushover.net/apps/build) to create a new application.
1012

1113
* name: LinuxGSM
12-
* type: Script
13-
* icon:
1414
* Check the box agreeing to the Terms Of Service.
15-
* Once the application has been created get the API key.
16-
* Turn on Pushover alerts and paste in API key and user in the [LinuxGSM config](../configuration/linuxgsm-config.md).
17-
18-
```text
19-
# Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
20-
pushoveralert="on"
21-
pushoveruserkey="yourpushoverid"
22-
pushovertoken="b5u24t1wua34gmh14kr1s3erkwi7tl"
23-
```
15+
16+
Once the application has been created get the API key and user key \(which can be found in the pushover dashboard\).
17+
Turn on Pushover alerts and paste in API key and user key in the [LinuxGSM config](../configuration/linuxgsm-config.md).
18+
19+
```text
20+
# Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover
21+
pushoveralert="on"
22+
pushoveruserkey="yourpushoverid"
23+
pushovertoken="b5u24t1wua34gmh14kr1s3erkwi7tl"
24+
```
2425

alerts/rocket.chat.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
# Rocket.Chat
22

3-
WIP
3+
![](../.gitbook/assets/rocket.chat.jpg)
4+
5+
**Rocket.chat** is open-source collaberation tool.
6+
7+
## Create a Rocket.chat Webhook
8+
9+
1. Follow the [Rocket.chat guide](https://docs.rocket.chat/guides/administrator-guides/integrations#incoming-webhook-script) on how to create an incoming webhook.
10+
2. Copy the Webhook URL.
11+
3. Turn on slack alerts and enter the URL in to the [LinuxGSM settings](../configuration/linuxgsm-config.md). \(`~/lgsm/config-lgsm/<gameserver>/common.cfg`\)
12+
13+
14+
15+
416

alerts/telegram.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Telegram
22

3-
[Telegram](https://telegram.org) is an instant messenger app that allows other applications to send messages via a webhook. This functionality is used to allow users to recieve alerts about LinuxGSM.
3+
[Telegram](https://telegram.org) is an instant messenger app that allows other applications to send messages via a webhook. This functionality is used to allow users to receive alerts about LinuxGSM.
44

55
## Setup a Telegram Bot
66

@@ -75,7 +75,7 @@ Add the chat id to the [LinuxGSM config](../configuration/linuxgsm-config.md).
7575
The number given is the chat id
7676

7777
{% hint style="warning" %}
78-
A group number includes a dash in the chat id e.g `-191537238`
78+
A group number might include a dash in the chat id e.g `-191537238`
7979
{% endhint %}
8080

8181
```text
@@ -100,3 +100,7 @@ Finally, test that everything correctly works by sending a test alert. You will
100100
./gameserver test-alert
101101
```
102102

103+
## Custom cURL String
104+
105+
You can add a custom cURL string eg proxy \(useful in Russia\) in "curlcustomstring"
106+

commands/mods.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ Zip add-ons are currently the only supported installations.
2727

2828
\(This list was last updated on 2020-11-19\)
2929

30-
### Goldsrc Engine Games (v20.6.0+)
30+
### Goldsrc Engine Games \(v20.6.0+\)
31+
3132
* Metamod
3233
* AMX Mod X
3334

34-
###### Additional Game Specific **AMX Mod X** addons:
35+
**Additional Game Specific AMX Mod X addons:**
36+
3537
* Counter-Strike 1.6
3638
* Day of Defeat
3739
* Team Fortress Classic

configuration/linuxgsm-config.md

+12
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,18 @@ Do not edit \_default.cfg any changes to this file will be overwritten.
4040

4141
`instance.cfg` is the configuration file used for each individual game server instance. Settings here will only apply to this specific game server instance. This config file takes the same name as the game server instance name `./gameserver`. For example, if `./csgoserver` is used the _instance.cfg_ will be called `csgoserver.cfg`. This config is last to be loaded.
4242

43+
### Secret Configs
44+
45+
{% hint style="danger" %}
46+
Secret configs are not enrypted, but a place to store sensetive info away from other configs.
47+
{% endhint %}
48+
49+
The secret configs are a place to put sensitive information such as steam login details away from the main config files. This is done to allow server admins to backup their configs while excluding sensitive information. This is particularly useful for admins who want to create a version-controlled skeleton configuration using git that they might want to make public.
50+
51+
It is important to know that the secret config is NOT encrypted or any more secure than other configs.
52+
53+
A secret config can be identified with the word `secrets` prepended to the front of the config name.
54+
4355
### Config Load Priority
4456

4557
When LinuxGSM is loading the configs they will load in order. First taking settings from `_default.cfg` then `common.cfg` and finally `instance.cfg`. This means that any setting set in `instance.cfg` will override that setting in `common.cfg` which in turn will override the setting in `_default.cfg`.

configuration/local-home-server.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@
22

33
WIP
44

5+
## Home Servers
6+
7+
Home servers are a great way to experiment with game servers, for LAN partys or can be used as a permanent option if you have the bandwidth. There are extra steps required on your home router to allow external access to your game server. This will normally involve opening ports on the router firewall and/or port forwarding. See [this link](https://www.howtogeek.com/66214/how-to-forward-ports-on-your-router/) for basic instructions. See your router's manual for specific instructions.
8+
9+
### Specifying you IP for Home Server
10+
11+
If you want to specify the game server IP address using the `ip=` you will need to set the IP address of the servers LAN interface \(e.g 192.168.1.2\), not your routers external IP. Setting this incorrectly will prevent the game server ports from binding and your server will not start.
12+

configuration/ports.md

+42-39
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
# Ports
22

3-
You will need to give attention to ports in multiple cases.
3+
Ports are communication endpoints for an application. A port will either listen or transmit network traffic on specific ports.
44

5-
Here are the most common ones:
5+
There are port standards set by IANA for common protocols such as HTTP \(port 80\), SSH \(port 22\), SMTP \(port 25\) etc. Game servers tend to use standard ports depending upon the game engine. For example source engine games by default use port 27015 as the port it listens on.
66

7-
* When you want to run [Multiple Game Servers](../features/multiple-game-servers.md) on the same machine
8-
* When you have a strict firewall and you need to open the right ports in order to let people connect to your server \(see [Firewalls](../linux/firewalls.md)\)
9-
* When you need to forward ports on a NAT to the desired local IP in order for your server to be reachable from outside the local network \(likely from the internet\)
7+
~~Here are the most common ones:~~
108

11-
## Generalities and vocabulary
9+
* ~~When you want to run~~ [~~Multiple Game Servers~~](../features/multiple-game-servers.md) ~~on the same machine~~
10+
* ~~When you have a strict firewall and you need to open the right ports in order to let people connect to your server \(see~~ [~~Firewalls~~](../linux/firewalls.md)~~\)~~
11+
* ~~When you need to forward ports on a NAT to the desired local IP in order for your server to be reachable from outside the local network \(likely from the internet\)~~
1212

13-
* `Port listening` is what a service like a game server does in order to receive packets from incoming connections: by listening to a port, the program waiting for incoming packets on a given port.
14-
* `Port redirection` happens on a router, in the NAT part \(can also be done using iptables, but unlikely what you are looking for\): it consists in forwarding incoming traffic on a given port to a specific local \(regarding the router\) IP.
15-
* `Port opening` happens on a firewall, it consists in allowing traffic to a port.
16-
* The IP variable `ip=` always needs to be the server interface IP, not your routers external IP: a service on a server can only listen on a local IP that is present on an interface of the hosting machine.
17-
* In order to `run multiple game servers` on the same machine, you need to make sure they all use different ports, or if your server has multiple public IPs, that they are bound to different IPs.
13+
## Vocabulary
1814

19-
## Setting ports
15+
* _**Port listening**_ ****is what a service like a game server does in order to receive packets from incoming connections: by listening to a port, the program waiting for incoming packets on a given port.
16+
* _**Port opening**_ happens on a firewall, it consists of allowing traffic to a port.
17+
* _**Port redirection**_ is part of NAT and happens on a router or firewall. It consists of forwarding incoming traffic on a given port to a specific local IP.
18+
* _**Network Address Translation \(NAT\)**_ is a method of remapping an IP address into another by modifying [network address](https://en.wikipedia.org/wiki/Network_address) information.
2019

21-
Listening ports are usually set within your start parameters, sometimes in the game server config file.
20+
## Game Server Ports
2221

23-
For info about start parameters, see [Start Parameters](start-parameters.md) and [LinuxGSM Config](linuxgsm-config.md) For info about your game server config, see [Game Server Config](game-server-config.md).
22+
Game Servers typicaliy have ports for the following functions.
2423

25-
## View current settings
24+
Game port: The port that players connect to.
25+
Query port: Used by software to gather information from the server such as server name, map and number of players.
26+
Rcon port
27+
Web port: used for game server that have web admin panels
2628

27-
To view your current server ports, input:
29+
Depending upon which game server being used, you can set game server ports within your start parameters or game server config file.
2830

29-
`./gameserver details`
30-
31-
Example output sample:
31+
LinuxGSM allows you to see the ports your game server is using with the `./gameserver details` command.
3232

3333
```text
3434
Useful port diagnostic command:
@@ -40,9 +40,11 @@ DESCRIPTION DIRECTION PORT PROTOCOL
4040
< Client OUTBOUND 27002 udp
4141
```
4242

43-
## Changing default ports
43+
## Changing Default Ports
44+
45+
Default ports are set in either the [start parameters](start-parameters.md) or [game config](game-server-config.md).
4446

45-
Default ports are set in either the start parameters or game config. You can use `./gameserver details` to find out where to edit port settings
47+
LinuxGSMYou can use `./gameserver details` to find out where to edit port settings
4648

4749
```text
4850
# Ports
@@ -65,23 +67,15 @@ ip="0.0.0.0"
6567

6668
### Which ports can be used?
6769

68-
You can use any port as long as it is not already in use and it is up to admins how to setup port allocation. It is recommended that ports are close together and sequential i.e 27015,27016,27017 to save confusion. Some servers ports by default are not sequential, however, there is nothing stopping an admin from changing this. Example for source servers; you could set the port 27015, sourcetv port 27016, client port 27018. The next game server instance could simply follow on from this.
70+
You can use any port as long as it is not already in use and it is up to you to set up port allocation. It is recommended that ports are close together and sequential i.e 27015, 27016, 27017 to save confusion. Some servers ports by default are not sequential, however, there is nothing stopping you from changing this. Example for source engine game servers; you could set the port 27015, source tv port 27016, client port 27018. The next game server instance could simply follow on from this.
6971

70-
> Reminder: If you're running several servers, make sure you're using different ports on all of your servers.
72+
{% hint style="info" %}
73+
If you're running multiple game servers, make sure you're using different ports on all of your game servers to avoid a port conflict.
74+
{% endhint %}
7175

7276
## Multiple IP addresses
7377

74-
Should a server has multiple dedicated IP addresses allocated, it is possible for game servers to have the same ports but bound to the different IP addresses. Admins will need to set the specific IP address in the LinuxGSM config or game config.
75-
76-
## Home Servers
77-
78-
Home servers are a great way to experiment with game servers or can be used as a permanent option if you have the bandwidth. There are extra steps required on your home router to allow external access to your game server. This will normally involve opening ports on the router firewall and/or port forwarding. See [this link](https://www.howtogeek.com/66214/how-to-forward-ports-on-your-router/) for basic instuctions. See your router's manual for specific instructions.
79-
80-
### ip= setting for home servers
81-
82-
If your server has multiple interfaces you will be prompted to specify the server IP you want to use.
83-
84-
You will need to set the IP address of the servers LAN interface \(e.g 192.168.1.2\), not your routers external IP. Setting this incorrectly will prevent the game server ports from binding and your server will not start.
78+
Should a server have multiple dedicated IP addresses allocated, it is possible for game servers to have the same ports but bound to the different IP addresses. Admins will need to set the specific IP address in the LinuxGSM config or game config.
8579

8680
## Port Allocation Scheme
8781

@@ -133,20 +127,29 @@ You can get new IP addresses for your dedicated server, and assign each server a
133127

134128
If you are running several game servers it is a good idea to create a spreadsheet of the ports you have used. Allowing you to keep track of what you have already used.
135129

136-
### Diagnosing server accessibility
130+
## Diagnosing server accessibility
131+
132+
### Check port are bound
137133

138-
1\) Ensure the game server ports are bound and listening Before anything else, you need to know if your server is actually listening. Input : `./gameserver details` and look for this kind of diagnose command:
134+
Ensure the game server ports are bound and listening before anything else, you need to know if your server is actually listening. Input : `./gameserver details` and look for this kind of diagnose command:
139135

140136
```text
141137
Useful port diagnostic command:
142138
netstat -atunp | grep srcds_linux
143139
```
144140

145-
Running the command will bring up any ports that are listening. If not, the server has not started or not correcting binding to its allocated ports. Check that ports are not already in use by something else. Check that you are trying to listen to an actual interface IP, check that ports are not already in use by another application, check that the server does not crash upon start by checking console logs or try starting the server with `./gameserver debug`
141+
Running the command will bring up any ports that are listening. If not, the game server has not started or not correctly binding to its allocated ports.
142+
143+
* Check that ports are not already in use by something else.
144+
* Check that you are trying to listen to an actual interface IP.
145+
* Check that ports are not already in use by another application.
146+
* check that the server does not crash upon start by checking console logs or try starting the server with `./gameserver debug`
147+
148+
### Check the Firewall
146149

147-
2\) Check the Firewall
148150
[Firewalls](../linux/firewalls.md) are a regular source of connectivity issues. When diagnosing connection issues temporarily disabling a firewall will help identify if it is the source of the problem.
149151

150-
3\) Check Port Forwarding \(local networks only\)
152+
### Check Port Forwarding \(Local Networks\)
153+
151154
Ensure that the router correctly redirects incoming traffic to the correct ports and local IP displayed with `./gameserver details` with the correct protocol \(TCP and/or UDP\).
152155

game-servers/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Game Servers
22

3-
LinuxGSM cannot always provide support for specific game servers. However there are various support forums available for specific game server support that may be useful. Below is a list of useful links support forums:
3+
LinuxGSM cannot always provide support for specific game servers. However, there are various support forums available for specific game server support that may be useful. Below is a list of useful links support forums:
44

55
* [ARK: Survival Evolved](https://survivetheark.com/index.php?/forums/forum/39-server-administration/)
66
* [ARMA 3](https://forums.bohemia.net/forums/forum/159-arma-3-servers-administration/)
@@ -9,7 +9,6 @@ LinuxGSM cannot always provide support for specific game servers. However there
99
* [Counter-Strike: Source](https://steamcommunity.com/app/240/discussions/)
1010
* [Day of Defeat: Source](https://steamcommunity.com/app/300/discussions/)
1111
* [Day of Infamy](https://steamcommunity.com/app/447820/discussions/)
12-
* [GoldenEye: Source](https://forums.geshl2.com/)
1312
* [Garry's Mod](https://forum.facepunch.com/f/)
1413
* [Insurgency](https://steamcommunity.com/app/222880/discussions/2/)
1514
* [Killing Floor 2](https://forums.tripwireinteractive.com/forum/killing-floor-2/technical-support-ae/dedicated-server-support-ac)
@@ -20,6 +19,6 @@ LinuxGSM cannot always provide support for specific game servers. However there
2019
* [Team Fortress 2](https://steamcommunity.com/app/440/discussions/)
2120
* [Teamspeak 3](https://forum.teamspeak.com/forums/93-TeamSpeak-3-Technical-Discussions-EN-DE)
2221
* [Unreal Tournament 2004](https://www.epicgames.com/unrealtournament/forums/past-unreal-tournament-games/unreal-tournament-2003-2004)
23-
* [Unreal Tournamnet 3](https://www.epicgames.com/unrealtournament/forums/past-unreal-tournament-games/unreal-tournament-3)
22+
* [Unreal Tournament 3](https://www.epicgames.com/unrealtournament/forums/past-unreal-tournament-games/unreal-tournament-3)
2423
* [Unreal Tournament 99](https://www.epicgames.com/unrealtournament/forums/past-unreal-tournament-games/unreal-tournament-‘99)
2524

game-servers/ark-survival-evolved.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ If you join before the server or your client has fully downloaded the mod you mi
116116

117117
Once you have connected to the server you will be able to see that the mod has loaded by seeing the _Mod Name_ in the game menu `Esc`.
118118

119-
![](../.gitbook/assets/image.png)
119+
![](../.gitbook/assets/image%20%281%29.png)
120120

121121
The example mod can be activated by pressing `F1`.
122122

0 commit comments

Comments
 (0)