whitelist abiltity for servers?

Post Reply
User avatar
Joseph16
Member
Posts: 310
Joined: Tue Dec 06, 2016 05:35
In-game: smb3

whitelist abiltity for servers?

by Joseph16 » Post

Is this possible?
Testin' mines since 1989

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

Re: whitelist abiltity for servers?

by Jhalman » Post

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: 1847
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: whitelist abiltity for servers?

by sorcerykid » Post

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: 577
Joined: Sun Apr 01, 2018 10:46

Re: whitelist abiltity for servers?

by Astrobe » Post

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: 310
Joined: Tue Dec 06, 2016 05:35
In-game: smb3

Re: whitelist abiltity for servers?

by Joseph16 » Post

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 » Post

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

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

Re: whitelist abiltity for servers?

by Joseph16 » Post

MicahTheTanker wrote:Hello Joseph13 I see that you got your server up and runnin
You
Testin' mines since 1989

Post Reply

Who is online

Users browsing this forum: W3C [Validator] and 29 guests