README 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. SA-MP 0.3 Server Setup
  2. ----------------------
  3. Once the configuration is complete, run> ./samp03svr & to start the server process.
  4. CONFIGURATION:
  5. Example server.cfg:
  6. echo Executing Server Config...
  7. lanmode 0
  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 changeme
  16. To configure the server, you must edit the values in server.cfg. They
  17. are explained below:
  18. hostname
  19. --------
  20. Parameters:
  21. string
  22. Description:
  23. Specifies the hostname shown in the server browser
  24. port
  25. ----
  26. Parameters:
  27. int
  28. Description:
  29. Specifies the port to listen on.
  30. This port is used for game connections, rcon
  31. connections, and for querying.
  32. maxplayers
  33. ----------
  34. Parameters:
  35. int
  36. Description:
  37. Specifies the maximum amount of players.
  38. lanmode
  39. -------
  40. Parameters:
  41. int (0 or 1)
  42. Description:
  43. Turns lanmode on (1) or off (0). Lanmode (as the name
  44. suggests) is for use on LAN games, where bandwidth is not a problem.
  45. Lanmode sends data at a higher rate, for a smoother game.
  46. announce
  47. -------
  48. Parameters:
  49. int (0 or 1)
  50. Description:
  51. Announces your server to the 'Internet' server list in
  52. the SA:MP browser. On (1) or Off (0).
  53. weburl
  54. ------
  55. Parameters:
  56. string
  57. Description:
  58. Specifies the URL shown in the server browser, which is
  59. associated to the server.
  60. rcon_password
  61. -------------
  62. Parameters:
  63. string
  64. Description:
  65. Specifies the password needed to connect to rcon, or
  66. login to rcon ingame.
  67. gamemode0 - gamemode15
  68. ----------------------
  69. Parameters:
  70. string
  71. int
  72. Description:
  73. Specifies the rotation settings. The first parameter
  74. sets the game mode name. The second is the number of times it will
  75. repeat.
  76. You can use gamemode0 to specify the first gamemode,
  77. gamemode1 to specify the second, etc.