Skip to content

Commit

Permalink
Server Content Patch (#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
karthigenius authored Jun 25, 2024
1 parent a5b49f7 commit 10cb415
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/server/ControllingServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ description: Useful commands for controlling a server.

- Open the directory you installed the server to (eg: /Rockstar Games/GTA San Andreas/server)
- Take the downloaded/compiled .amx file and place it in the gamemodes folder where you installed the server
- Use RCON to change the mode as described above (2.1)
- Alternatively you can add the new mode to a rotation, also described above (2.3)
- Use RCON to change the mode.
- Alternatively you can add the new mode to a rotation.

### Using Filterscripts

Expand Down Expand Up @@ -185,7 +185,7 @@ These are the functions that you as admin can use:
| `/rcon playertimeout [limit m/s]` | Change the time in milliseconds until a player timeouts when not sending any packets. (default 1000) |
| `/rcon language [language]` | Change the server language (_example: /rcon language English_). Shown in server browser. |

The above four limits/counts are just made to avoid several tools which can attack any SA-MP server by freezing it or crashing. So, simply, just set them according to your server. The default values are default, if you see any wrong kicks, just increase the values as soon as possible so that the innocent players won't get kicked by it. [Read more here](http://web-old.archive.org/web/20190426141744/https://forum.sa-mp.com/showpost.php?p=2990193&postcount=47).
The above four limits/counts are just made to avoid several tools which can attack any SA-MP server by freezing it or crashing. So, simply, just set them according to your server. The default values are default, if you see any wrong kicks, just increase the values as soon as possible so that the innocent players won't get kicked by it.

### Related Callbacks and Functions

Expand Down
4 changes: 2 additions & 2 deletions docs/server/server.cfg.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ description: Server configuration file.
| connseedtime | int | 300000 | No | No | The time in milliseconds the connection cookie seed value updates.<br /><br />**NOTE:** This server var was added in 0.3.7 and will have no effect in previous versions. |
| minconnectiontime | int | 0 | No | No | The time in milliseconds the server will wait before accepting another incoming connection. It is not recommended that you use this variable unless your server is under a connection flood attack. |
| messageslimit | int | 500 | No | No | The maximum number of messages a user can send per second. |
| messageholelimit | int | 3000 | No | No | [See here](http://web-old.archive.org/web/20190426212838/https://forum.sa-mp.com/showpost.php?p=2868955&postcount=14). |
| ackslimit | int | 3000 | No | No | [See here](http://web-old.archive.org/web/20190419211451/https://forum.sa-mp.com/showpost.php?p=2989045&postcount=1). |
| messageholelimit | int | 3000 | No | No | A network level setting to deal with DoS attacks. |
| ackslimit | int | 3000 | No | No | |
| playertimeout | int | 10000 | No | No | The time in miliseconds after which a player will timeout when not sending any data to the server. |
| mtu | int | 576 | Yes | No | [See here](https://en.wikipedia.org/wiki/Maximum_transmission_unit).<br /><br />**NOTE:** This server var was added in 0.3.8 and will have no effect in previous versions. |

Expand Down

0 comments on commit 10cb415

Please sign in to comment.