SA-MP Forums Archive
How do i put a Password for my server so no one can get in without it? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: How do i put a Password for my server so no one can get in without it? (/showthread.php?tid=154051)



How do i put a Password for my server so no one can get in without it? - KDSTRP - 12.06.2010

I am using a CLOSED BETA a friend gave me and i want to keep it private, how do i lock it?


Re: How do i put a Password for my server so no one can get in without it? - wEstSidЂ - 12.06.2010

Go in server.cfg and add this line:
password "your password here"


echo Executing Server Config...
lanmode 0
rcon_password password
maxplayers 500
port 7777
hostname SA-MP 0.3 Server
gamemode0 grandlarc 1
filterscripts base gl_actions gl_property gl_realtime
announce 1
password 9342 (9342 is just an example change it to your password)
query 1
weburl
maxnpc 10
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000