Vultr.com - Instant Cloud Server Deployment
Game Rank
Servers:
Teams:
Fans:
508966
Players:
45451
Forum Home > Counter Strike 1.6 Server Administration & Help > Restricted user access to counter strike 1.6 server
farasat_ali_2003PM
#1
Restricted user access to counter strike 1.6 server
Jun 27, 2014 8:15 PM
Joined: Jun 27, 2014
Posts: 4
Hi,

I want to restrict access to my counter strike 1.6 server, actually I only want to allow some of limited users to connect to my gaming server with password/authentication/restriction or any kind of user restriction individually given to each user, like separate passwords for each user.
please help me out to sort this as it is needed urgently.
thanks.
b0untyhunterPM
#2
Jun 28, 2014 12:13 AM
Joined: May 06, 2013
Posts: 183
Why you don't set password on your server ?
Working on Metamod.(87%)
farasat_ali_2003PM
#3
Jun 28, 2014 10:35 AM
Joined: Jun 27, 2014
Posts: 4
if I set a password on server then every player will have the same password, I want to issue separate and different password or any other type of authentication to each player.
b0untyhunterPM
#4
Jun 28, 2014 11:09 AM
Joined: May 06, 2013
Posts: 183
Yes. You can do it with amxx plugins.

Go to cstrike/addons/amxmodx/configs/users.ini




Set players name and player's password. Make sure don't give any other flags except "r" flag.

Now, You have to give passwords to the players and players has to use "setinfo _pw <players_password>" command on the console.

If the password is wrong then they will be kicked!

Thanks!
Working on Metamod.(87%)
farasat_ali_2003PM
#5
Jun 29, 2014 5:51 PM
Joined: Jun 27, 2014
Posts: 4
Thanks for the Help, I did as you said but the problem is that only those users have to enter password that as listed in the user.ini file, and any other user with the name not listed in the user.ini file can still connect and play on the server.
Please help me out to solve this issue.
b0untyhunterPM
#6
Jun 29, 2014 11:47 PM
Joined: May 06, 2013
Posts: 183
Go to the amxx.cfg and change this value :

Working on Metamod.(87%)
farasat_ali_2003PM
#7
Jun 30, 2014 4:55 AM
Joined: Jun 27, 2014
Posts: 4
Thanks for your help the issue is resolved now.

the above mentioned method works by setting amx_mod to 2 in the amxx.cfg file.

// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
//
// Default value: 1
amx_mode 2
b0untyhunterPM
#8
Jun 30, 2014 6:20 AM
Joined: May 06, 2013
Posts: 183
yes!
Working on Metamod.(87%)
glakraPM
#9
Jul 29, 2014 2:18 PM
Joined: Jul 09, 2014
Posts: 3
b0untyhunter wrote:
yes!


Hi,

Is there a way to restrict access to CS:GO server?
I am trying to st up a Tournament, but I am wondering how to set up user restriction. Password authentication would be the the best however any other suggestions would also be fine.
glakraPM
#10
Jul 29, 2014 2:31 PM
Joined: Jul 09, 2014
Posts: 3
Could you please elaborate how this can be achieved?