[ANY] Simple Mysql Whitelist
1 Attachment(s)
Simple Mysql Whitelist Mysql database whitelister to control player access to server[s]. Currently Tested [CSS][CS:GO] Description:
Spoiler
Requirements:
Ingame Commands:
Server Commands:
Cvars:
Installation:
Spoiler
Changelog: Code:
1.0 - Plugin release |
Re: [ANY] Simple Mysql Whitelist
Nice plugin. Can confirm this works on CS:GO.
|
Re: [ANY] Simple Mysql Whitelist
Very nice!
Feature request: Can you add flag support? For example, I would like everyone in the MySQL database to be able to connect to the server, but also users with the A flag. |
Re: [ANY] Simple Mysql Whitelist
Quote:
Quote:
By default everyone is not allowed to get into the server, that's why you whitelist them in. Done :wink: |
Re: [ANY] Simple Mysql Whitelist
Quote:
|
Re: [ANY] Simple Mysql Whitelist
IIRC doing it beyond OnClientAuthorized will kick the client AFTER they have downloaded the map, if any.
If you want to kick them before they download the map, use OnClientAuthorized. There is also a way to get admin flags from a plain steam ID (forgot how). |
Re: [ANY] Simple Mysql Whitelist
Quote:
Quote:
|
Re: [ANY] Simple Mysql Whitelist
I found the relevant code. Feel free to use it if you want:
PHP Code:
|
Re: [ANY] Simple Mysql Whitelist
Quote:
|
Re: [ANY] Simple Mysql Whitelist
Asherkin uses it himself in his connect extension's plugin.
You can still bolt a second check in postadmin to be super safe. I use that code to prevent non-admins from getting into a server and it never failed me. |
All times are GMT -4. The time now is 16:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.