Jump to content
deep68

Whitelist for the server

Recommended Posts

How to make a whitelist in the server settings? Need your help.

Share this post


Link to post
Share on other sites

Use this in ServerDZ

 

password = "Your Password";              // Password to connect to the server

 

And give other players the password

Share this post


Link to post
Share on other sites

If no other option is provided. There is nothing stopping you from writing a script to ban everyone who joins your server. If you want someone to join just check them against a list you make when they join.

 

checkWhiteList(String playerID) {
  
	if (whitelist.contains(playerID) {
  		//do nothing and let the player join
	}
	else {
		ban(playerID);//return however you want
	}
}

 

Share this post


Link to post
Share on other sites

i know gamingdeluxe uses this: http://ibattle.org/ but i can't get it to work yet.. (some weird error about not begin able to connect even when the local ip and password is correct)
I think they use an older version of it, but im not sure about it.

Edited by Agusanz
added error info related

Share this post


Link to post
Share on other sites
On 20/09/2018 at 5:36 PM, Agusanz said:

i know gamingdeluxe uses this: http://ibattle.org/ but i can't get it to work yet.. (some weird error about not begin able to connect even when the local ip and password is correct)
I think they use an older version of it, but im not sure about it.

use the launch paramater following launch parameter:
--dcs

Also make sure to set the timeout in the cfg file to 0.

 

I have BEC working perfectly with whitelist functions. Bonus is, you can edit the WhiteList.txt file and then just restart BEC without requiring an entire server restart to add new players to WhiteList.

Edited by Aussie Cleetus
forgot to explain that I do actually have it working and the benefits of doing so.

Share this post


Link to post
Share on other sites
4 hours ago, Aussie Cleetus said:

use the launch paramater following launch parameter:
--dcs

Also make sure to set the timeout in the cfg file to 0.

 

I have BEC working perfectly with whitelist functions. Bonus is, you can edit the WhiteList.txt file and then just restart BEC without requiring an entire server restart to add new players to WhiteList.

I got it working few hours later that day. Thanks!
Btw.. BEC is a great way to configure a whitelist.. you should check that out @deep68 @xkrakenx

Share this post


Link to post
Share on other sites
On 9/20/2018 at 12:03 AM, robbyj said:

If no other option is provided. There is nothing stopping you from writing a script to ban everyone who joins your server. If you want someone to join just check them against a list you make when they join.

 


checkWhiteList(String playerID) {
  
	if (whitelist.contains(playerID) {
  		//do nothing and let the player join
	}
	else {
		ban(playerID);//return however you want
	}
}

 

where could I put this to make it work? BEC whitelisting does nothing.

Share this post


Link to post
Share on other sites
On 27/09/2018 at 11:48 PM, Mauricio Britto said:

BEC is taking a long time to connect and this may open a breach for unauthorized players entering the server.

in the Config for BEC, reduce your Timeout from 30s to 15s. BEC connects before a player can (as BEC will connect as the mission does).

Share this post


Link to post
Share on other sites
On 9/23/2018 at 5:33 PM, Agusanz said:

I got it working few hours later that day. Thanks!
Btw.. BEC is a great way to configure a whitelist.. you should check that out @deep68 @xkrakenx

for some reason I just can not get the whitelist to work, not sure why.

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×