Files

> > CS2D > Lua Scripts > [EngiN33R] Whitelist Script
Files overviewCS2D overviewLua Scripts overview

English [EngiN33R] Whitelist Script >

29 comments2 kb, 532 Downloads

old [EngiN33R] Whitelist Script

EngiN33R
Moderator Off Offline

I think this hasn't been done earlier and I think it's not in the vanilla version of CS2D - but I'm having a paranoia attack so tell me if it's implemented already somehow.

Anyway, with this script you can add IPs, USGN IDs and nicknames of people you want to allow joining your server - it reads all of those parameters equally. It also supports comments, both after an entry and as a separate line, marked by the number sign (#). Each entry should start on a new line.

You can edit the whitelist.cfg file in the sys directory or use the following console command in-game:
1
wadd <parameter>
Where parameter is an IP, a USGN ID or a nickname.

The implementation is probably messy, but don't worry about lag - it won't generate any.

Tell me if there are any bugs and I'll fix them ASAP.
Approved by Seekay

Download Download

2 kb, 532 Downloads

Comments

29 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Apache uwu
User Off Offline

Very nice, however there should be another command to disable whitelists only:

1
2
in console:
sv_wadd_players 0 or 1
I like it!

old

united
User Off Offline

There was something like this in the old LaG servers. No idea who had made it though.
I like it!

old

Krimhorn
User Off Offline

user 4Vendetta
There's already something like password.
Nice job anyway.
I like it!

old

dizziness
User Off Offline

Nice dude. This is competly useful script

EngiN33R can you make a commands to whitelist the user, in this script? and removing the rcon to editing the whitelist.cfg ? Because i afraid Dr. Trojan hacking the rcon again.

Spoiler >
I like it!
edited 1×, last 23.02.12 04:42:58 pm

old

TimeQuesT
User Off Offline

Wow. Nice script. My reasons why I like it are:
1. Serverpasswords are no longer needed
2. No unwanted players anymore
3. Easy to use

Passwords are for the weaks
I like it!

old

ohaz
User Off Offline

This will come in handy
I like it!

old

4Vendetta
User Off Offline

Very nice for private tournments!!!
I like it!
To the start Previous 1 2 Next To the start