Official Soldat Forums

Server Talk => Scripting Releases => Topic started by: Savage on November 22, 2017, 11:03:17 am

Title: PlayersDB
Post by: Savage on November 22, 2017, 11:03:17 am
Script Name: PlayersDB
Script Description: Saves and reads players HWIDs, Nicknames and entries to the server in SQLite
Original Author(s): Savage
Compilation: Passed
Core Version: 2.8.1 (SC3)
Requirements: libdb: https://forums.soldat.pl/index.php?topic=42012.0, Server.ini: Sandboxed=1, AllowDlls=1

Commands for TCP and In-Game Admins:
/checkhw <hwid> - check all nicks and entries for certain hwid
/checknick <nick> - check all hwids and entries for certain nick
/checkid <playerid(1-32)> - check all nicks and entries for certain hwid
* Result is always sorted by entries in ascending order

Code: https://pastebin.com/nf9gHcCr