SAMP Gitlab CI Test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
1.5 KiB

5 years ago
  1. SA-MP 0.3 Server Setup
  2. ----------------------
  3. Once the configuration is complete, run samp-server.exe to
  4. launch the server process.
  5. CONFIGURATION:
  6. Example server.cfg:
  7. echo Executing Server Config...
  8. maxplayers 32
  9. port 7777
  10. hostname Unnamed Server
  11. announce 0
  12. gamemode0 lvdm 1
  13. gamemode1 rivershell 1
  14. weburl www.sa-mp.com
  15. rcon_password mypassword
  16. To configure the server, you must edit the values in server.cfg. They are explained below:
  17. hostname
  18. --------
  19. Parameters:
  20. string
  21. Description:
  22. Specifies the hostname shown in the server browser
  23. port
  24. ----
  25. Parameters:
  26. int
  27. Description:
  28. Specifies the port to listen on.
  29. This port is used for game connections, rcon connections, and for querying.
  30. maxplayers
  31. ----------
  32. Parameters:
  33. int
  34. Description:
  35. Specifies the maximum amount of players.
  36. announce
  37. -------
  38. Parameters:
  39. int (0 or 1)
  40. Description:
  41. Announces your server to the 'Internet' server list in the SA:MP browser. On (1) or Off (0).
  42. weburl
  43. ------
  44. Parameters:
  45. string
  46. Description:
  47. Specifies the URL shown in the server browser, which is associated to the server.
  48. rcon_password
  49. -------------
  50. Parameters:
  51. string
  52. Description:
  53. Specifies the password needed to connect to rcon, or login to rcon ingame.
  54. gamemode0 - gamemode15
  55. ----------------------
  56. Parameters:
  57. string
  58. int
  59. Description:
  60. Specifies the rotation settings. The first parameter sets the game mode name. The second is the number of times it will repeat.
  61. You can use gamemode0 to specify the first gamemode, gamemode1 to specify the second, etc.