View Single Post
Author Message
xines
Veteran Member
Join Date: Aug 2013
Location: Denmark
Old 08-28-2016 , 15:18   [ANY] Simple Mysql Whitelist
Reply With Quote #1

Simple Mysql Whitelist
Mysql database whitelister to control player access to server[s].

Currently Tested [CSS][CS:GO]


Description:
Spoiler


Requirements:
  • A mysql database (obviously)

Ingame Commands:
  • All Ingame commands including menu requires Admin-Root access.
  • sm_whitelist Opens the menu to list/remove
  • sm_whitelist_add Add a steamid to the database.
  • sm_whitelist_delete Deletes a steamid from the database.
  • sm_whitelist_list List all SteamIDs in the database.

Server Commands:
  • sm_server_whitelist_add Add a steamid to the database. Useable by Rcon or Console
  • sm_server_whitelist_delete Deletes a steamid from the database. Useable by Rcon or Console

Cvars:
  • sm_whitelist_adminflag "0" Admin flag required [a -> z] [0 = OFF].

Installation:
Spoiler


Changelog:
Code:
1.0 - Plugin release
1.1 - Added flags support and minor code edits.
1.2 - Added bots to be allowed!
1.3 - New method for faster player kick.
1.4 - Threaded queries been updated for safer use.
1.5 - Added ServerCommands, Optimized mysql and fixed reported bugs.
Attached Files
File Type: sp Get Plugin or Get Source (simple_mysql_whitelister.sp - 1526 views - 21.9 KB)
__________________

Last edited by xines; 04-15-2017 at 20:43. Reason: Adding stuff.
xines is offline