whitelist abiltity for servers?

User avatar
Joseph16
Member
 
Posts: 308
Joined: Tue Dec 06, 2016 05:35
In-game: Joseph16

whitelist abiltity for servers?

by Joseph16 » Sat May 04, 2019 14:55

Is this possible?
Testin' mines since 1989
 

Jhalman
Member
 
Posts: 11
Joined: Sat Sep 29, 2018 13:51
IRC: Jhalman
In-game: Jhalman

Re: whitelist abiltity for servers?

by Jhalman » Sat May 04, 2019 15:11

Yes You can White list a server Two options

1. make sure the server is not announced and it wont be in the list of MT servers

2. If you want it public but only specified players can join you can use a Mod see link below
viewtopic.php?id=8434

I've used this mod and it works well
 

User avatar
sorcerykid
Member
 
Posts: 1061
Joined: Fri Aug 26, 2016 15:36
Location: Illinois, USA
GitHub: sorcerykid
In-game: Nemo

Re: whitelist abiltity for servers?

by sorcerykid » Sun May 05, 2019 06:06

Whitelisting is also possible if you have Auth Redux installed. Just add the authentication ruleset below to the greenlist.txt file.

Code: Select all
try "You are not permitted to join this server. Please contact $owner if you believe this to be an error."
when $name eq $owner pass
until $name in @whitelist.txt fail


Then put a list of player names (one per line) into the file filters/whitelist.txt. You can edit the list while the server is online.

Option 2: If you would prefer to whitelist by IP address rather than player name, you can do that too! Just change the last rule:

Code: Select all
until ip($addr) in @whitelist.txt fail


Option 3: If you simply want to block new players from joining your server, but continue to allow existing players, use this rule instead:

Code: Select all
when $is_new eq $true fail


Option 4: It might be easiest to simply register a new privilege such as "login". Then grant that privilege only to players that are allowed access (this assumes they already have an account on your server, of course). With this ruleset, you don't have to maintain a separate whitelist at all, just use the builtin /grant and /revoke commands!

Code: Select all
try "Sorry, your privileges are insufficient to join this server."
until "login" in $privs_list fail


Hope this helps!
 

Astrobe
Member
 
Posts: 236
Joined: Sun Apr 01, 2018 10:46

Re: whitelist abiltity for servers?

by Astrobe » Sun May 05, 2019 10:25

Maybe it is just me, but I interpreted the question the other way: is it possible to filter the server list on a client, typically for parental control purposes?
 

User avatar
Joseph16
Member
 
Posts: 308
Joined: Tue Dec 06, 2016 05:35
In-game: Joseph16

Re: whitelist abiltity for servers?

by Joseph16 » Sun May 05, 2019 12:32

Astrobe wrote:Maybe it is just me, but I interpreted the question the other way: is it possible to filter the server list on a client, typically for parental control purposes?

No, that’s not what I meant. Thanks sorcerykid for the mod tho, that’s exactly what I needed!
Testin' mines since 1989
 

MicahTheTanker
New member
 
Posts: 5
Joined: Mon Mar 04, 2019 20:59
In-game: MicahTheTanker

Re: whitelist abiltity for servers?

by MicahTheTanker » Wed May 08, 2019 11:45

Hello Joseph13 I see that you got your server up and runnin
 

User avatar
Joseph16
Member
 
Posts: 308
Joined: Tue Dec 06, 2016 05:35
In-game: Joseph16

Re: whitelist abiltity for servers?

by Joseph16 » Wed May 08, 2019 12:32

MicahTheTanker wrote:Hello Joseph13 I see that you got your server up and runnin

You
Testin' mines since 1989
 


Return to General Discussion



Who is online

Users browsing this forum: No registered users and 3 guests